You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cashfree's Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites.
API version: 2026-01-01
Contact: developers@cashfree.com
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package cashfree_pg
import (
"encoding/json"
"fmt"
"strings"
)
var _ = fmt.Errorf
// checks if the CartDetailsEntity type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &CartDetailsEntity{}
// CartDetailsEntity Cart Details in the Order Entity Response.
type CartDetailsEntity struct {
// ID of the cart that was created.
CartId *string `json:"cart_id,omitempty"`
}
func (o CartDetailsEntity) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o CartDetailsEntity) ToMap() (map[string]interface{}, error) {