Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lookup ¶
type Lookup struct { DisplayId string `json:"display_id" url:"display_id"` Email string `json:"email" url:"email"` ShippingAddress *ShippingAddress `json:"shipping_address,omitempty" url:"shipping_address,omitempty"` }
func (*Lookup) SetDisplayId ¶
func (*Lookup) SetShippingAddress ¶
func (l *Lookup) SetShippingAddress(addr *ShippingAddress) *Lookup
type LookupOrderData ¶
type LookupOrderResponse ¶
type LookupOrderResponse struct { // Success response Data *LookupOrderData // Error response Error *response.Error // Errors in case of multiple errors Errors *response.Errors }
type RetrieveByCartIdData ¶
type RetrieveByCartIdResponse ¶
type RetrieveByCartIdResponse struct { // Success response Data *RetrieveByCartIdData // Error response Error *response.Error // Errors in case of multiple errors Errors *response.Errors }
func RetrieveByCartId ¶
func RetrieveByCartId(cartId string, config *medusa.Config) (*RetrieveByCartIdResponse, error)
Retrieves an Order by the id of the Cart that was used to create the Order.
type RetrieveOrderData ¶
type RetrieveOrderResponse ¶
type RetrieveOrderResponse struct { // Success response Data *RetrieveOrderData // Error response Error *response.Error // Errors in case of multiple errors Errors *response.Errors }
type ShippingAddress ¶
type ShippingAddress struct {
PostalCode string `json:"postal_code,omitempty" url:"postal_code,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.