Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiRegisterSalesChannelRequest
- type ApiUpdateSalesChannelRequest
- type ApiUpsertOrdersRequest
- type ApiUpsertProductCategoriesRequest
- type ApiUpsertProductsRequest
- type BasicAuth
- type Configuration
- type GenericOpenAPIError
- type LineItemInput
- func (o *LineItemInput) GetDiscountAmount() float64
- func (o *LineItemInput) GetDiscountAmountOk() (*float64, bool)
- func (o *LineItemInput) GetLineComments() string
- func (o *LineItemInput) GetLineCommentsOk() (*string, bool)
- func (o *LineItemInput) GetLineTax() float64
- func (o *LineItemInput) GetLineTaxOk() (*float64, bool)
- func (o *LineItemInput) GetLineTotal() float64
- func (o *LineItemInput) GetLineTotalOk() (*float64, bool)
- func (o *LineItemInput) GetOrderItemId() string
- func (o *LineItemInput) GetOrderItemIdOk() (*string, bool)
- func (o *LineItemInput) GetOrderQuantity() int32
- func (o *LineItemInput) GetOrderQuantityOk() (*int32, bool)
- func (o *LineItemInput) GetProductName() string
- func (o *LineItemInput) GetProductNameOk() (*string, bool)
- func (o *LineItemInput) GetPromo() float64
- func (o *LineItemInput) GetPromoOk() (*float64, bool)
- func (o *LineItemInput) GetRawPrice() float64
- func (o *LineItemInput) GetRawPriceOk() (*float64, bool)
- func (o *LineItemInput) GetShippingAmount() float64
- func (o *LineItemInput) GetShippingAmountOk() (*float64, bool)
- func (o *LineItemInput) GetSku() string
- func (o *LineItemInput) GetSkuOk() (*string, bool)
- func (o *LineItemInput) GetVoucher() float64
- func (o *LineItemInput) GetVoucherOk() (*float64, bool)
- func (o *LineItemInput) HasDiscountAmount() bool
- func (o *LineItemInput) HasLineComments() bool
- func (o *LineItemInput) HasShippingAmount() bool
- func (o LineItemInput) MarshalJSON() ([]byte, error)
- func (o *LineItemInput) SetDiscountAmount(v float64)
- func (o *LineItemInput) SetDiscountAmountNil()
- func (o *LineItemInput) SetLineComments(v string)
- func (o *LineItemInput) SetLineTax(v float64)
- func (o *LineItemInput) SetLineTotal(v float64)
- func (o *LineItemInput) SetOrderItemId(v string)
- func (o *LineItemInput) SetOrderQuantity(v int32)
- func (o *LineItemInput) SetProductName(v string)
- func (o *LineItemInput) SetPromo(v float64)
- func (o *LineItemInput) SetRawPrice(v float64)
- func (o *LineItemInput) SetShippingAmount(v float64)
- func (o *LineItemInput) SetShippingAmountNil()
- func (o *LineItemInput) SetSku(v string)
- func (o *LineItemInput) SetVoucher(v float64)
- func (o LineItemInput) ToMap() (map[string]interface{}, error)
- func (o *LineItemInput) UnsetDiscountAmount()
- func (o *LineItemInput) UnsetShippingAmount()
- type MappedNullable
- type ModelError
- func (o *ModelError) GetMessage() string
- func (o *ModelError) GetMessageOk() (*string, bool)
- func (o *ModelError) GetReference() string
- func (o *ModelError) GetReferenceOk() (*string, bool)
- func (o *ModelError) HasMessage() bool
- func (o *ModelError) HasReference() bool
- func (o ModelError) MarshalJSON() ([]byte, error)
- func (o *ModelError) SetMessage(v string)
- func (o *ModelError) SetReference(v string)
- func (o ModelError) ToMap() (map[string]interface{}, error)
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLineItemInput
- func (v NullableLineItemInput) Get() *LineItemInput
- func (v NullableLineItemInput) IsSet() bool
- func (v NullableLineItemInput) MarshalJSON() ([]byte, error)
- func (v *NullableLineItemInput) Set(val *LineItemInput)
- func (v *NullableLineItemInput) UnmarshalJSON(src []byte) error
- func (v *NullableLineItemInput) Unset()
- type NullableModelError
- type NullableOrder
- type NullableOrderInput
- type NullableProduct
- type NullableProductCategory
- func (v NullableProductCategory) Get() *ProductCategory
- func (v NullableProductCategory) IsSet() bool
- func (v NullableProductCategory) MarshalJSON() ([]byte, error)
- func (v *NullableProductCategory) Set(val *ProductCategory)
- func (v *NullableProductCategory) UnmarshalJSON(src []byte) error
- func (v *NullableProductCategory) Unset()
- type NullableProductCategoryAttribute
- func (v NullableProductCategoryAttribute) Get() *ProductCategoryAttribute
- func (v NullableProductCategoryAttribute) IsSet() bool
- func (v NullableProductCategoryAttribute) MarshalJSON() ([]byte, error)
- func (v *NullableProductCategoryAttribute) Set(val *ProductCategoryAttribute)
- func (v *NullableProductCategoryAttribute) UnmarshalJSON(src []byte) error
- func (v *NullableProductCategoryAttribute) Unset()
- type NullableProductCategoryAttributeInput
- func (v NullableProductCategoryAttributeInput) Get() *ProductCategoryAttributeInput
- func (v NullableProductCategoryAttributeInput) IsSet() bool
- func (v NullableProductCategoryAttributeInput) MarshalJSON() ([]byte, error)
- func (v *NullableProductCategoryAttributeInput) Set(val *ProductCategoryAttributeInput)
- func (v *NullableProductCategoryAttributeInput) UnmarshalJSON(src []byte) error
- func (v *NullableProductCategoryAttributeInput) Unset()
- type NullableProductCategoryInput
- func (v NullableProductCategoryInput) Get() *ProductCategoryInput
- func (v NullableProductCategoryInput) IsSet() bool
- func (v NullableProductCategoryInput) MarshalJSON() ([]byte, error)
- func (v *NullableProductCategoryInput) Set(val *ProductCategoryInput)
- func (v *NullableProductCategoryInput) UnmarshalJSON(src []byte) error
- func (v *NullableProductCategoryInput) Unset()
- type NullableProductInput
- func (v NullableProductInput) Get() *ProductInput
- func (v NullableProductInput) IsSet() bool
- func (v NullableProductInput) MarshalJSON() ([]byte, error)
- func (v *NullableProductInput) Set(val *ProductInput)
- func (v *NullableProductInput) UnmarshalJSON(src []byte) error
- func (v *NullableProductInput) Unset()
- type NullableRegisterSalesChannelInput
- func (v NullableRegisterSalesChannelInput) Get() *RegisterSalesChannelInput
- func (v NullableRegisterSalesChannelInput) IsSet() bool
- func (v NullableRegisterSalesChannelInput) MarshalJSON() ([]byte, error)
- func (v *NullableRegisterSalesChannelInput) Set(val *RegisterSalesChannelInput)
- func (v *NullableRegisterSalesChannelInput) UnmarshalJSON(src []byte) error
- func (v *NullableRegisterSalesChannelInput) Unset()
- type NullableRegisteredSalesChannel
- func (v NullableRegisteredSalesChannel) Get() *RegisteredSalesChannel
- func (v NullableRegisteredSalesChannel) IsSet() bool
- func (v NullableRegisteredSalesChannel) MarshalJSON() ([]byte, error)
- func (v *NullableRegisteredSalesChannel) Set(val *RegisteredSalesChannel)
- func (v *NullableRegisteredSalesChannel) UnmarshalJSON(src []byte) error
- func (v *NullableRegisteredSalesChannel) Unset()
- type NullableSalesChannel
- func (v NullableSalesChannel) Get() *SalesChannel
- func (v NullableSalesChannel) IsSet() bool
- func (v NullableSalesChannel) MarshalJSON() ([]byte, error)
- func (v *NullableSalesChannel) Set(val *SalesChannel)
- func (v *NullableSalesChannel) UnmarshalJSON(src []byte) error
- func (v *NullableSalesChannel) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateSalesChannelInput
- func (v NullableUpdateSalesChannelInput) Get() *UpdateSalesChannelInput
- func (v NullableUpdateSalesChannelInput) IsSet() bool
- func (v NullableUpdateSalesChannelInput) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSalesChannelInput) Set(val *UpdateSalesChannelInput)
- func (v *NullableUpdateSalesChannelInput) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSalesChannelInput) Unset()
- type NullableUpsertProductCategoriesResponse
- func (v NullableUpsertProductCategoriesResponse) Get() *UpsertProductCategoriesResponse
- func (v NullableUpsertProductCategoriesResponse) IsSet() bool
- func (v NullableUpsertProductCategoriesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpsertProductCategoriesResponse) Set(val *UpsertProductCategoriesResponse)
- func (v *NullableUpsertProductCategoriesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpsertProductCategoriesResponse) Unset()
- type NullableUrlInfo
- type NullableUrlInfoInput
- func (v NullableUrlInfoInput) Get() *UrlInfoInput
- func (v NullableUrlInfoInput) IsSet() bool
- func (v NullableUrlInfoInput) MarshalJSON() ([]byte, error)
- func (v *NullableUrlInfoInput) Set(val *UrlInfoInput)
- func (v *NullableUrlInfoInput) UnmarshalJSON(src []byte) error
- func (v *NullableUrlInfoInput) Unset()
- type NullableUrlInfoUpdateInput
- func (v NullableUrlInfoUpdateInput) Get() *UrlInfoUpdateInput
- func (v NullableUrlInfoUpdateInput) IsSet() bool
- func (v NullableUrlInfoUpdateInput) MarshalJSON() ([]byte, error)
- func (v *NullableUrlInfoUpdateInput) Set(val *UrlInfoUpdateInput)
- func (v *NullableUrlInfoUpdateInput) UnmarshalJSON(src []byte) error
- func (v *NullableUrlInfoUpdateInput) Unset()
- type NullableUrlWebhook
- type NullableUrlWebhookInput
- func (v NullableUrlWebhookInput) Get() *UrlWebhookInput
- func (v NullableUrlWebhookInput) IsSet() bool
- func (v NullableUrlWebhookInput) MarshalJSON() ([]byte, error)
- func (v *NullableUrlWebhookInput) Set(val *UrlWebhookInput)
- func (v *NullableUrlWebhookInput) UnmarshalJSON(src []byte) error
- func (v *NullableUrlWebhookInput) Unset()
- type NullableUrlWebhookUpdateInput
- func (v NullableUrlWebhookUpdateInput) Get() *UrlWebhookUpdateInput
- func (v NullableUrlWebhookUpdateInput) IsSet() bool
- func (v NullableUrlWebhookUpdateInput) MarshalJSON() ([]byte, error)
- func (v *NullableUrlWebhookUpdateInput) Set(val *UrlWebhookUpdateInput)
- func (v *NullableUrlWebhookUpdateInput) UnmarshalJSON(src []byte) error
- func (v *NullableUrlWebhookUpdateInput) Unset()
- type NullableVariantAttributeInput
- func (v NullableVariantAttributeInput) Get() *VariantAttributeInput
- func (v NullableVariantAttributeInput) IsSet() bool
- func (v NullableVariantAttributeInput) MarshalJSON() ([]byte, error)
- func (v *NullableVariantAttributeInput) Set(val *VariantAttributeInput)
- func (v *NullableVariantAttributeInput) UnmarshalJSON(src []byte) error
- func (v *NullableVariantAttributeInput) Unset()
- type NullableVariantInput
- func (v NullableVariantInput) Get() *VariantInput
- func (v NullableVariantInput) IsSet() bool
- func (v NullableVariantInput) MarshalJSON() ([]byte, error)
- func (v *NullableVariantInput) Set(val *VariantInput)
- func (v *NullableVariantInput) UnmarshalJSON(src []byte) error
- func (v *NullableVariantInput) Unset()
- type NullableVolumeInput
- func (v NullableVolumeInput) Get() *VolumeInput
- func (v NullableVolumeInput) IsSet() bool
- func (v NullableVolumeInput) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeInput) Set(val *VolumeInput)
- func (v *NullableVolumeInput) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeInput) Unset()
- type Order
- func (o *Order) GetMessage() string
- func (o *Order) GetMessageOk() (*string, bool)
- func (o *Order) GetOrderId() string
- func (o *Order) GetOrderIdOk() (*string, bool)
- func (o *Order) GetShopId() string
- func (o *Order) GetShopIdOk() (*string, bool)
- func (o *Order) GetSuccess() bool
- func (o *Order) GetSuccessOk() (*bool, bool)
- func (o *Order) HasMessage() bool
- func (o *Order) HasOrderId() bool
- func (o *Order) HasShopId() bool
- func (o *Order) HasSuccess() bool
- func (o Order) MarshalJSON() ([]byte, error)
- func (o *Order) SetMessage(v string)
- func (o *Order) SetOrderId(v string)
- func (o *Order) SetShopId(v string)
- func (o *Order) SetSuccess(v bool)
- func (o Order) ToMap() (map[string]interface{}, error)
- type OrderAPI
- type OrderAPIService
- type OrderInput
- func (o *OrderInput) GetAcceptedAt() string
- func (o *OrderInput) GetAcceptedAtOk() (*string, bool)
- func (o *OrderInput) GetAirwaybillNumber() string
- func (o *OrderInput) GetAirwaybillNumberOk() (*string, bool)
- func (o *OrderInput) GetAwbRetrievedAt() string
- func (o *OrderInput) GetAwbRetrievedAtOk() (*string, bool)
- func (o *OrderInput) GetCancelReason() string
- func (o *OrderInput) GetCancelReasonOk() (*string, bool)
- func (o *OrderInput) GetCancelledAt() string
- func (o *OrderInput) GetCancelledAtOk() (*string, bool)
- func (o *OrderInput) GetCompletedAt() string
- func (o *OrderInput) GetCompletedAtOk() (*string, bool)
- func (o *OrderInput) GetCurrencyCode() string
- func (o *OrderInput) GetCurrencyCodeOk() (*string, bool)
- func (o *OrderInput) GetCustomerReference() string
- func (o *OrderInput) GetCustomerReferenceOk() (*string, bool)
- func (o *OrderInput) GetDeliveryCity() string
- func (o *OrderInput) GetDeliveryCityOk() (*string, bool)
- func (o *OrderInput) GetDeliveryCountry() string
- func (o *OrderInput) GetDeliveryCountryOk() (*string, bool)
- func (o *OrderInput) GetDeliveryLatitude() string
- func (o *OrderInput) GetDeliveryLatitudeOk() (*string, bool)
- func (o *OrderInput) GetDeliveryLongitude() string
- func (o *OrderInput) GetDeliveryLongitudeOk() (*string, bool)
- func (o *OrderInput) GetDeliveryMethod() string
- func (o *OrderInput) GetDeliveryMethodOk() (*string, bool)
- func (o *OrderInput) GetDeliveryName() string
- func (o *OrderInput) GetDeliveryNameOk() (*string, bool)
- func (o *OrderInput) GetDeliveryPostCode() string
- func (o *OrderInput) GetDeliveryPostCodeOk() (*string, bool)
- func (o *OrderInput) GetDeliveryRegion() string
- func (o *OrderInput) GetDeliveryRegionOk() (*string, bool)
- func (o *OrderInput) GetDeliveryStreetAddress() string
- func (o *OrderInput) GetDeliveryStreetAddress2() string
- func (o *OrderInput) GetDeliveryStreetAddress2Ok() (*string, bool)
- func (o *OrderInput) GetDeliveryStreetAddressOk() (*string, bool)
- func (o *OrderInput) GetDeliverySuburb() string
- func (o *OrderInput) GetDeliverySuburbOk() (*string, bool)
- func (o *OrderInput) GetDiscountTotal() float64
- func (o *OrderInput) GetDiscountTotalOk() (*float64, bool)
- func (o *OrderInput) GetDriverName() string
- func (o *OrderInput) GetDriverNameOk() (*string, bool)
- func (o *OrderInput) GetDriverPhoneNumber() string
- func (o *OrderInput) GetDriverPhoneNumberOk() (*string, bool)
- func (o *OrderInput) GetDropshipperName() string
- func (o *OrderInput) GetDropshipperNameOk() (*string, bool)
- func (o *OrderInput) GetExchangeRate() float64
- func (o *OrderInput) GetExchangeRateOk() (*float64, bool)
- func (o *OrderInput) GetIsAwbAvailableFromChannel() bool
- func (o *OrderInput) GetIsAwbAvailableFromChannelOk() (*bool, bool)
- func (o *OrderInput) GetLineItems() []LineItemInput
- func (o *OrderInput) GetLineItemsOk() ([]LineItemInput, bool)
- func (o *OrderInput) GetOrderDate() string
- func (o *OrderInput) GetOrderDateOk() (*string, bool)
- func (o *OrderInput) GetOrderId() string
- func (o *OrderInput) GetOrderIdOk() (*string, bool)
- func (o *OrderInput) GetOrderStatus() string
- func (o *OrderInput) GetOrderStatusOk() (*string, bool)
- func (o *OrderInput) GetPackedAt() string
- func (o *OrderInput) GetPackedAtOk() (*string, bool)
- func (o *OrderInput) GetPaidAt() string
- func (o *OrderInput) GetPaidAtOk() (*string, bool)
- func (o *OrderInput) GetPaymentMethod() string
- func (o *OrderInput) GetPaymentMethodOk() (*string, bool)
- func (o *OrderInput) GetPhoneNumber() string
- func (o *OrderInput) GetPhoneNumberOk() (*string, bool)
- func (o *OrderInput) GetProvider() string
- func (o *OrderInput) GetProviderOk() (*string, bool)
- func (o *OrderInput) GetReceivedAt() string
- func (o *OrderInput) GetReceivedAtOk() (*string, bool)
- func (o *OrderInput) GetReceivedBy() string
- func (o *OrderInput) GetReceivedByOk() (*string, bool)
- func (o *OrderInput) GetRemarks() string
- func (o *OrderInput) GetRemarksOk() (*string, bool)
- func (o *OrderInput) GetService() string
- func (o *OrderInput) GetServiceOk() (*string, bool)
- func (o *OrderInput) GetShipmentExtras() string
- func (o *OrderInput) GetShipmentExtrasOk() (*string, bool)
- func (o *OrderInput) GetShippingTotal() float64
- func (o *OrderInput) GetShippingTotalOk() (*float64, bool)
- func (o *OrderInput) GetShopId() string
- func (o *OrderInput) GetShopIdOk() (*string, bool)
- func (o *OrderInput) GetSubtotal() float64
- func (o *OrderInput) GetSubtotalOk() (*float64, bool)
- func (o *OrderInput) GetTaxCode() string
- func (o *OrderInput) GetTaxCodeOk() (*string, bool)
- func (o *OrderInput) GetTaxRate() float64
- func (o *OrderInput) GetTaxRateOk() (*float64, bool)
- func (o *OrderInput) GetTaxTotal() float64
- func (o *OrderInput) GetTaxTotalOk() (*float64, bool)
- func (o *OrderInput) GetTotal() float64
- func (o *OrderInput) GetTotalOk() (*float64, bool)
- func (o *OrderInput) GetTotalPromo() float64
- func (o *OrderInput) GetTotalPromoOk() (*float64, bool)
- func (o *OrderInput) GetTotalVoucher() float64
- func (o *OrderInput) GetTotalVoucherOk() (*float64, bool)
- func (o *OrderInput) GetWarehouseId() string
- func (o *OrderInput) GetWarehouseIdOk() (*string, bool)
- func (o *OrderInput) HasAcceptedAt() bool
- func (o *OrderInput) HasAirwaybillNumber() bool
- func (o *OrderInput) HasAwbRetrievedAt() bool
- func (o *OrderInput) HasCancelReason() bool
- func (o *OrderInput) HasCancelledAt() bool
- func (o *OrderInput) HasCompletedAt() bool
- func (o *OrderInput) HasDeliveryLatitude() bool
- func (o *OrderInput) HasDeliveryLongitude() bool
- func (o *OrderInput) HasDeliveryStreetAddress2() bool
- func (o *OrderInput) HasDriverName() bool
- func (o *OrderInput) HasDriverPhoneNumber() bool
- func (o *OrderInput) HasDropshipperName() bool
- func (o *OrderInput) HasExchangeRate() bool
- func (o *OrderInput) HasPackedAt() bool
- func (o *OrderInput) HasPaidAt() bool
- func (o *OrderInput) HasReceivedAt() bool
- func (o *OrderInput) HasReceivedBy() bool
- func (o *OrderInput) HasRemarks() bool
- func (o *OrderInput) HasShipmentExtras() bool
- func (o *OrderInput) HasTaxCode() bool
- func (o *OrderInput) HasTaxRate() bool
- func (o OrderInput) MarshalJSON() ([]byte, error)
- func (o *OrderInput) SetAcceptedAt(v string)
- func (o *OrderInput) SetAirwaybillNumber(v string)
- func (o *OrderInput) SetAwbRetrievedAt(v string)
- func (o *OrderInput) SetCancelReason(v string)
- func (o *OrderInput) SetCancelledAt(v string)
- func (o *OrderInput) SetCompletedAt(v string)
- func (o *OrderInput) SetCurrencyCode(v string)
- func (o *OrderInput) SetCustomerReference(v string)
- func (o *OrderInput) SetDeliveryCity(v string)
- func (o *OrderInput) SetDeliveryCountry(v string)
- func (o *OrderInput) SetDeliveryLatitude(v string)
- func (o *OrderInput) SetDeliveryLongitude(v string)
- func (o *OrderInput) SetDeliveryMethod(v string)
- func (o *OrderInput) SetDeliveryName(v string)
- func (o *OrderInput) SetDeliveryPostCode(v string)
- func (o *OrderInput) SetDeliveryRegion(v string)
- func (o *OrderInput) SetDeliveryStreetAddress(v string)
- func (o *OrderInput) SetDeliveryStreetAddress2(v string)
- func (o *OrderInput) SetDeliverySuburb(v string)
- func (o *OrderInput) SetDiscountTotal(v float64)
- func (o *OrderInput) SetDriverName(v string)
- func (o *OrderInput) SetDriverPhoneNumber(v string)
- func (o *OrderInput) SetDropshipperName(v string)
- func (o *OrderInput) SetExchangeRate(v float64)
- func (o *OrderInput) SetExchangeRateNil()
- func (o *OrderInput) SetIsAwbAvailableFromChannel(v bool)
- func (o *OrderInput) SetLineItems(v []LineItemInput)
- func (o *OrderInput) SetOrderDate(v string)
- func (o *OrderInput) SetOrderId(v string)
- func (o *OrderInput) SetOrderStatus(v string)
- func (o *OrderInput) SetPackedAt(v string)
- func (o *OrderInput) SetPaidAt(v string)
- func (o *OrderInput) SetPaymentMethod(v string)
- func (o *OrderInput) SetPhoneNumber(v string)
- func (o *OrderInput) SetProvider(v string)
- func (o *OrderInput) SetReceivedAt(v string)
- func (o *OrderInput) SetReceivedBy(v string)
- func (o *OrderInput) SetRemarks(v string)
- func (o *OrderInput) SetService(v string)
- func (o *OrderInput) SetShipmentExtras(v string)
- func (o *OrderInput) SetShippingTotal(v float64)
- func (o *OrderInput) SetShopId(v string)
- func (o *OrderInput) SetSubtotal(v float64)
- func (o *OrderInput) SetTaxCode(v string)
- func (o *OrderInput) SetTaxRate(v float64)
- func (o *OrderInput) SetTaxRateNil()
- func (o *OrderInput) SetTaxTotal(v float64)
- func (o *OrderInput) SetTotal(v float64)
- func (o *OrderInput) SetTotalPromo(v float64)
- func (o *OrderInput) SetTotalVoucher(v float64)
- func (o *OrderInput) SetWarehouseId(v string)
- func (o OrderInput) ToMap() (map[string]interface{}, error)
- func (o *OrderInput) UnsetExchangeRate()
- func (o *OrderInput) UnsetTaxRate()
- type Product
- func (o *Product) GetMessage() string
- func (o *Product) GetMessageOk() (*string, bool)
- func (o *Product) GetProductCode() string
- func (o *Product) GetProductCodeOk() (*string, bool)
- func (o *Product) GetSuccess() bool
- func (o *Product) GetSuccessOk() (*bool, bool)
- func (o Product) MarshalJSON() ([]byte, error)
- func (o *Product) SetMessage(v string)
- func (o *Product) SetProductCode(v string)
- func (o *Product) SetSuccess(v bool)
- func (o Product) ToMap() (map[string]interface{}, error)
- type ProductAPI
- type ProductAPIService
- func (a *ProductAPIService) UpsertProductCategories(ctx context.Context, channelCode string) ApiUpsertProductCategoriesRequest
- func (a *ProductAPIService) UpsertProductCategoriesExecute(r ApiUpsertProductCategoriesRequest) (*UpsertProductCategoriesResponse, *http.Response, error)
- func (a *ProductAPIService) UpsertProducts(ctx context.Context, channelCode string) ApiUpsertProductsRequest
- func (a *ProductAPIService) UpsertProductsExecute(r ApiUpsertProductsRequest) ([]Product, *http.Response, error)
- type ProductCategory
- func (o *ProductCategory) GetAttribute() []ProductCategoryAttribute
- func (o *ProductCategory) GetAttributeOk() ([]ProductCategoryAttribute, bool)
- func (o *ProductCategory) GetCategoryId() string
- func (o *ProductCategory) GetCategoryIdOk() (*string, bool)
- func (o *ProductCategory) GetMessage() string
- func (o *ProductCategory) GetMessageOk() (*string, bool)
- func (o *ProductCategory) HasAttribute() bool
- func (o *ProductCategory) HasCategoryId() bool
- func (o *ProductCategory) HasMessage() bool
- func (o ProductCategory) MarshalJSON() ([]byte, error)
- func (o *ProductCategory) SetAttribute(v []ProductCategoryAttribute)
- func (o *ProductCategory) SetCategoryId(v string)
- func (o *ProductCategory) SetMessage(v string)
- func (o ProductCategory) ToMap() (map[string]interface{}, error)
- type ProductCategoryAttribute
- func (o *ProductCategoryAttribute) GetAttributeId() string
- func (o *ProductCategoryAttribute) GetAttributeIdOk() (*string, bool)
- func (o *ProductCategoryAttribute) GetMessage() string
- func (o *ProductCategoryAttribute) GetMessageOk() (*string, bool)
- func (o *ProductCategoryAttribute) HasAttributeId() bool
- func (o *ProductCategoryAttribute) HasMessage() bool
- func (o ProductCategoryAttribute) MarshalJSON() ([]byte, error)
- func (o *ProductCategoryAttribute) SetAttributeId(v string)
- func (o *ProductCategoryAttribute) SetMessage(v string)
- func (o ProductCategoryAttribute) ToMap() (map[string]interface{}, error)
- type ProductCategoryAttributeInput
- func (o *ProductCategoryAttributeInput) GetAttributeId() string
- func (o *ProductCategoryAttributeInput) GetAttributeIdOk() (*string, bool)
- func (o *ProductCategoryAttributeInput) GetFieldName() string
- func (o *ProductCategoryAttributeInput) GetFieldNameOk() (*string, bool)
- func (o *ProductCategoryAttributeInput) GetInputType() string
- func (o *ProductCategoryAttributeInput) GetInputTypeOk() (*string, bool)
- func (o *ProductCategoryAttributeInput) GetIsMandatory() bool
- func (o *ProductCategoryAttributeInput) GetIsMandatoryOk() (*bool, bool)
- func (o *ProductCategoryAttributeInput) GetIsVariantAttribute() bool
- func (o *ProductCategoryAttributeInput) GetIsVariantAttributeOk() (*bool, bool)
- func (o *ProductCategoryAttributeInput) GetOptions() []string
- func (o *ProductCategoryAttributeInput) GetOptionsOk() ([]string, bool)
- func (o *ProductCategoryAttributeInput) HasOptions() bool
- func (o ProductCategoryAttributeInput) MarshalJSON() ([]byte, error)
- func (o *ProductCategoryAttributeInput) SetAttributeId(v string)
- func (o *ProductCategoryAttributeInput) SetFieldName(v string)
- func (o *ProductCategoryAttributeInput) SetInputType(v string)
- func (o *ProductCategoryAttributeInput) SetIsMandatory(v bool)
- func (o *ProductCategoryAttributeInput) SetIsVariantAttribute(v bool)
- func (o *ProductCategoryAttributeInput) SetOptions(v []string)
- func (o ProductCategoryAttributeInput) ToMap() (map[string]interface{}, error)
- type ProductCategoryInput
- func (o *ProductCategoryInput) GetAttribute() []ProductCategoryAttributeInput
- func (o *ProductCategoryInput) GetAttributeOk() ([]ProductCategoryAttributeInput, bool)
- func (o *ProductCategoryInput) GetCategoryId() string
- func (o *ProductCategoryInput) GetCategoryIdOk() (*string, bool)
- func (o *ProductCategoryInput) GetCategoryName() string
- func (o *ProductCategoryInput) GetCategoryNameOk() (*string, bool)
- func (o *ProductCategoryInput) GetIsLeaf() bool
- func (o *ProductCategoryInput) GetIsLeafOk() (*bool, bool)
- func (o *ProductCategoryInput) GetParentCategoryId() string
- func (o *ProductCategoryInput) GetParentCategoryIdOk() (*string, bool)
- func (o *ProductCategoryInput) HasParentCategoryId() bool
- func (o ProductCategoryInput) MarshalJSON() ([]byte, error)
- func (o *ProductCategoryInput) SetAttribute(v []ProductCategoryAttributeInput)
- func (o *ProductCategoryInput) SetCategoryId(v string)
- func (o *ProductCategoryInput) SetCategoryName(v string)
- func (o *ProductCategoryInput) SetIsLeaf(v bool)
- func (o *ProductCategoryInput) SetParentCategoryId(v string)
- func (o ProductCategoryInput) ToMap() (map[string]interface{}, error)
- type ProductInput
- func (o *ProductInput) GetBrand() string
- func (o *ProductInput) GetBrandOk() (*string, bool)
- func (o *ProductInput) GetCategoryId() string
- func (o *ProductInput) GetCategoryIdOk() (*string, bool)
- func (o *ProductInput) GetCategoryName() string
- func (o *ProductInput) GetCategoryNameOk() (*string, bool)
- func (o *ProductInput) GetCondition() string
- func (o *ProductInput) GetConditionOk() (*string, bool)
- func (o *ProductInput) GetName() string
- func (o *ProductInput) GetNameOk() (*string, bool)
- func (o *ProductInput) GetProductCode() string
- func (o *ProductInput) GetProductCodeOk() (*string, bool)
- func (o *ProductInput) GetProductDescription() string
- func (o *ProductInput) GetProductDescriptionOk() (*string, bool)
- func (o *ProductInput) GetProductId() string
- func (o *ProductInput) GetProductIdOk() (*string, bool)
- func (o *ProductInput) GetShopId() string
- func (o *ProductInput) GetShopIdOk() (*string, bool)
- func (o *ProductInput) GetType() string
- func (o *ProductInput) GetTypeOk() (*string, bool)
- func (o *ProductInput) GetVariants() []VariantInput
- func (o *ProductInput) GetVariantsOk() ([]VariantInput, bool)
- func (o ProductInput) MarshalJSON() ([]byte, error)
- func (o *ProductInput) SetBrand(v string)
- func (o *ProductInput) SetCategoryId(v string)
- func (o *ProductInput) SetCategoryName(v string)
- func (o *ProductInput) SetCondition(v string)
- func (o *ProductInput) SetName(v string)
- func (o *ProductInput) SetProductCode(v string)
- func (o *ProductInput) SetProductDescription(v string)
- func (o *ProductInput) SetProductId(v string)
- func (o *ProductInput) SetShopId(v string)
- func (o *ProductInput) SetType(v string)
- func (o *ProductInput) SetVariants(v []VariantInput)
- func (o ProductInput) ToMap() (map[string]interface{}, error)
- type RegisterSalesChannelInput
- func (o *RegisterSalesChannelInput) GetAppChannelCode() string
- func (o *RegisterSalesChannelInput) GetAppChannelCodeOk() (*string, bool)
- func (o *RegisterSalesChannelInput) GetAppName() string
- func (o *RegisterSalesChannelInput) GetAppNameOk() (*string, bool)
- func (o *RegisterSalesChannelInput) GetType() string
- func (o *RegisterSalesChannelInput) GetTypeOk() (*string, bool)
- func (o *RegisterSalesChannelInput) GetUrlInfo() UrlInfoInput
- func (o *RegisterSalesChannelInput) GetUrlInfoOk() (*UrlInfoInput, bool)
- func (o *RegisterSalesChannelInput) GetUrlWebhook() UrlWebhookInput
- func (o *RegisterSalesChannelInput) GetUrlWebhookOk() (*UrlWebhookInput, bool)
- func (o *RegisterSalesChannelInput) HasUrlWebhook() bool
- func (o RegisterSalesChannelInput) MarshalJSON() ([]byte, error)
- func (o *RegisterSalesChannelInput) SetAppChannelCode(v string)
- func (o *RegisterSalesChannelInput) SetAppName(v string)
- func (o *RegisterSalesChannelInput) SetType(v string)
- func (o *RegisterSalesChannelInput) SetUrlInfo(v UrlInfoInput)
- func (o *RegisterSalesChannelInput) SetUrlWebhook(v UrlWebhookInput)
- func (o RegisterSalesChannelInput) ToMap() (map[string]interface{}, error)
- type RegisteredSalesChannel
- func (o *RegisteredSalesChannel) GetAppChannelCode() string
- func (o *RegisteredSalesChannel) GetAppChannelCodeOk() (*string, bool)
- func (o *RegisteredSalesChannel) GetAppKey() string
- func (o *RegisteredSalesChannel) GetAppKeyOk() (*string, bool)
- func (o *RegisteredSalesChannel) GetAppName() string
- func (o *RegisteredSalesChannel) GetAppNameOk() (*string, bool)
- func (o *RegisteredSalesChannel) GetType() string
- func (o *RegisteredSalesChannel) GetTypeOk() (*string, bool)
- func (o *RegisteredSalesChannel) GetUrlInfo() UrlInfo
- func (o *RegisteredSalesChannel) GetUrlInfoOk() (*UrlInfo, bool)
- func (o *RegisteredSalesChannel) GetUrlWebhook() UrlWebhook
- func (o *RegisteredSalesChannel) GetUrlWebhookOk() (*UrlWebhook, bool)
- func (o *RegisteredSalesChannel) HasAppChannelCode() bool
- func (o *RegisteredSalesChannel) HasAppKey() bool
- func (o *RegisteredSalesChannel) HasAppName() bool
- func (o *RegisteredSalesChannel) HasType() bool
- func (o *RegisteredSalesChannel) HasUrlInfo() bool
- func (o *RegisteredSalesChannel) HasUrlWebhook() bool
- func (o RegisteredSalesChannel) MarshalJSON() ([]byte, error)
- func (o *RegisteredSalesChannel) SetAppChannelCode(v string)
- func (o *RegisteredSalesChannel) SetAppKey(v string)
- func (o *RegisteredSalesChannel) SetAppName(v string)
- func (o *RegisteredSalesChannel) SetType(v string)
- func (o *RegisteredSalesChannel) SetUrlInfo(v UrlInfo)
- func (o *RegisteredSalesChannel) SetUrlWebhook(v UrlWebhook)
- func (o RegisteredSalesChannel) ToMap() (map[string]interface{}, error)
- type SalesChannel
- func (o *SalesChannel) GetAppChannelCode() string
- func (o *SalesChannel) GetAppChannelCodeOk() (*string, bool)
- func (o *SalesChannel) GetAppName() string
- func (o *SalesChannel) GetAppNameOk() (*string, bool)
- func (o *SalesChannel) GetType() string
- func (o *SalesChannel) GetTypeOk() (*string, bool)
- func (o *SalesChannel) GetUrlInfo() UrlInfo
- func (o *SalesChannel) GetUrlInfoOk() (*UrlInfo, bool)
- func (o *SalesChannel) GetUrlWebhook() UrlWebhook
- func (o *SalesChannel) GetUrlWebhookOk() (*UrlWebhook, bool)
- func (o *SalesChannel) HasAppChannelCode() bool
- func (o *SalesChannel) HasAppName() bool
- func (o *SalesChannel) HasType() bool
- func (o *SalesChannel) HasUrlInfo() bool
- func (o *SalesChannel) HasUrlWebhook() bool
- func (o SalesChannel) MarshalJSON() ([]byte, error)
- func (o *SalesChannel) SetAppChannelCode(v string)
- func (o *SalesChannel) SetAppName(v string)
- func (o *SalesChannel) SetType(v string)
- func (o *SalesChannel) SetUrlInfo(v UrlInfo)
- func (o *SalesChannel) SetUrlWebhook(v UrlWebhook)
- func (o SalesChannel) ToMap() (map[string]interface{}, error)
- type SalesChannelAPI
- type SalesChannelAPIService
- func (a *SalesChannelAPIService) RegisterSalesChannel(ctx context.Context) ApiRegisterSalesChannelRequest
- func (a *SalesChannelAPIService) RegisterSalesChannelExecute(r ApiRegisterSalesChannelRequest) (*RegisteredSalesChannel, *http.Response, error)
- func (a *SalesChannelAPIService) UpdateSalesChannel(ctx context.Context, channelCode string) ApiUpdateSalesChannelRequest
- func (a *SalesChannelAPIService) UpdateSalesChannelExecute(r ApiUpdateSalesChannelRequest) (*SalesChannel, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type UpdateSalesChannelInput
- func (o *UpdateSalesChannelInput) GetType() string
- func (o *UpdateSalesChannelInput) GetTypeOk() (*string, bool)
- func (o *UpdateSalesChannelInput) GetUrlInfo() UrlInfoUpdateInput
- func (o *UpdateSalesChannelInput) GetUrlInfoOk() (*UrlInfoUpdateInput, bool)
- func (o *UpdateSalesChannelInput) GetUrlWebhook() UrlWebhookUpdateInput
- func (o *UpdateSalesChannelInput) GetUrlWebhookOk() (*UrlWebhookUpdateInput, bool)
- func (o UpdateSalesChannelInput) MarshalJSON() ([]byte, error)
- func (o *UpdateSalesChannelInput) SetType(v string)
- func (o *UpdateSalesChannelInput) SetUrlInfo(v UrlInfoUpdateInput)
- func (o *UpdateSalesChannelInput) SetUrlWebhook(v UrlWebhookUpdateInput)
- func (o UpdateSalesChannelInput) ToMap() (map[string]interface{}, error)
- type UpsertProductCategoriesResponse
- func (o *UpsertProductCategoriesResponse) GetFailureCategory() []ProductCategory
- func (o *UpsertProductCategoriesResponse) GetFailureCategoryOk() ([]ProductCategory, bool)
- func (o *UpsertProductCategoriesResponse) GetTotalCategory() int32
- func (o *UpsertProductCategoriesResponse) GetTotalCategoryOk() (*int32, bool)
- func (o *UpsertProductCategoriesResponse) GetTotalFailureCategory() int32
- func (o *UpsertProductCategoriesResponse) GetTotalFailureCategoryOk() (*int32, bool)
- func (o *UpsertProductCategoriesResponse) GetTotalSuccessCategory() int32
- func (o *UpsertProductCategoriesResponse) GetTotalSuccessCategoryOk() (*int32, bool)
- func (o *UpsertProductCategoriesResponse) HasFailureCategory() bool
- func (o *UpsertProductCategoriesResponse) HasTotalCategory() bool
- func (o *UpsertProductCategoriesResponse) HasTotalFailureCategory() bool
- func (o *UpsertProductCategoriesResponse) HasTotalSuccessCategory() bool
- func (o UpsertProductCategoriesResponse) MarshalJSON() ([]byte, error)
- func (o *UpsertProductCategoriesResponse) SetFailureCategory(v []ProductCategory)
- func (o *UpsertProductCategoriesResponse) SetTotalCategory(v int32)
- func (o *UpsertProductCategoriesResponse) SetTotalFailureCategory(v int32)
- func (o *UpsertProductCategoriesResponse) SetTotalSuccessCategory(v int32)
- func (o UpsertProductCategoriesResponse) ToMap() (map[string]interface{}, error)
- type UrlInfo
- func (o *UrlInfo) GetUrlChannel() string
- func (o *UrlInfo) GetUrlChannelOk() (*string, bool)
- func (o *UrlInfo) GetUrlHelpPage() string
- func (o *UrlInfo) GetUrlHelpPageOk() (*string, bool)
- func (o *UrlInfo) GetUrlLogoChannel() string
- func (o *UrlInfo) GetUrlLogoChannelOk() (*string, bool)
- func (o *UrlInfo) GetUrlOauth2() string
- func (o *UrlInfo) GetUrlOauth2Ok() (*string, bool)
- func (o *UrlInfo) GetUrlSquareLogoChannel() string
- func (o *UrlInfo) GetUrlSquareLogoChannelOk() (*string, bool)
- func (o *UrlInfo) HasUrlChannel() bool
- func (o *UrlInfo) HasUrlHelpPage() bool
- func (o *UrlInfo) HasUrlLogoChannel() bool
- func (o *UrlInfo) HasUrlOauth2() bool
- func (o *UrlInfo) HasUrlSquareLogoChannel() bool
- func (o UrlInfo) MarshalJSON() ([]byte, error)
- func (o *UrlInfo) SetUrlChannel(v string)
- func (o *UrlInfo) SetUrlHelpPage(v string)
- func (o *UrlInfo) SetUrlLogoChannel(v string)
- func (o *UrlInfo) SetUrlOauth2(v string)
- func (o *UrlInfo) SetUrlSquareLogoChannel(v string)
- func (o UrlInfo) ToMap() (map[string]interface{}, error)
- type UrlInfoInput
- func (o *UrlInfoInput) GetUrlChannel() string
- func (o *UrlInfoInput) GetUrlChannelOk() (*string, bool)
- func (o *UrlInfoInput) GetUrlHelpPage() string
- func (o *UrlInfoInput) GetUrlHelpPageOk() (*string, bool)
- func (o *UrlInfoInput) GetUrlLogoChannel() string
- func (o *UrlInfoInput) GetUrlLogoChannelOk() (*string, bool)
- func (o *UrlInfoInput) GetUrlSquareLogoChannel() string
- func (o *UrlInfoInput) GetUrlSquareLogoChannelOk() (*string, bool)
- func (o UrlInfoInput) MarshalJSON() ([]byte, error)
- func (o *UrlInfoInput) SetUrlChannel(v string)
- func (o *UrlInfoInput) SetUrlHelpPage(v string)
- func (o *UrlInfoInput) SetUrlLogoChannel(v string)
- func (o *UrlInfoInput) SetUrlSquareLogoChannel(v string)
- func (o UrlInfoInput) ToMap() (map[string]interface{}, error)
- type UrlInfoUpdateInput
- func (o *UrlInfoUpdateInput) GetUrlChannel() string
- func (o *UrlInfoUpdateInput) GetUrlChannelOk() (*string, bool)
- func (o *UrlInfoUpdateInput) GetUrlHelpPage() string
- func (o *UrlInfoUpdateInput) GetUrlHelpPageOk() (*string, bool)
- func (o *UrlInfoUpdateInput) GetUrlLogoChannel() string
- func (o *UrlInfoUpdateInput) GetUrlLogoChannelOk() (*string, bool)
- func (o *UrlInfoUpdateInput) GetUrlOauth2() string
- func (o *UrlInfoUpdateInput) GetUrlOauth2Ok() (*string, bool)
- func (o *UrlInfoUpdateInput) GetUrlSquareLogoChannel() string
- func (o *UrlInfoUpdateInput) GetUrlSquareLogoChannelOk() (*string, bool)
- func (o UrlInfoUpdateInput) MarshalJSON() ([]byte, error)
- func (o *UrlInfoUpdateInput) SetUrlChannel(v string)
- func (o *UrlInfoUpdateInput) SetUrlHelpPage(v string)
- func (o *UrlInfoUpdateInput) SetUrlLogoChannel(v string)
- func (o *UrlInfoUpdateInput) SetUrlOauth2(v string)
- func (o *UrlInfoUpdateInput) SetUrlSquareLogoChannel(v string)
- func (o UrlInfoUpdateInput) ToMap() (map[string]interface{}, error)
- type UrlWebhook
- func (o *UrlWebhook) GetUrlAcceptedOrder() string
- func (o *UrlWebhook) GetUrlAcceptedOrderOk() (*string, bool)
- func (o *UrlWebhook) GetUrlBulkUpdatePrice() string
- func (o *UrlWebhook) GetUrlBulkUpdatePriceOk() (*string, bool)
- func (o *UrlWebhook) GetUrlBulkUpdateStock() string
- func (o *UrlWebhook) GetUrlBulkUpdateStockOk() (*string, bool)
- func (o *UrlWebhook) GetUrlCancelledOrder() string
- func (o *UrlWebhook) GetUrlCancelledOrderOk() (*string, bool)
- func (o *UrlWebhook) GetUrlCompletedOrder() string
- func (o *UrlWebhook) GetUrlCompletedOrderOk() (*string, bool)
- func (o *UrlWebhook) GetUrlConnect() string
- func (o *UrlWebhook) GetUrlConnectOauth2() string
- func (o *UrlWebhook) GetUrlConnectOauth2Ok() (*string, bool)
- func (o *UrlWebhook) GetUrlConnectOk() (*string, bool)
- func (o *UrlWebhook) GetUrlCreateDiscount() string
- func (o *UrlWebhook) GetUrlCreateDiscountOk() (*string, bool)
- func (o *UrlWebhook) GetUrlDeleteDiscount() string
- func (o *UrlWebhook) GetUrlDeleteDiscountOk() (*string, bool)
- func (o *UrlWebhook) GetUrlDisconnect() string
- func (o *UrlWebhook) GetUrlDisconnectOk() (*string, bool)
- func (o *UrlWebhook) GetUrlFetchAttributes() string
- func (o *UrlWebhook) GetUrlFetchAttributesOk() (*string, bool)
- func (o *UrlWebhook) GetUrlFetchCategories() string
- func (o *UrlWebhook) GetUrlFetchCategoriesOk() (*string, bool)
- func (o *UrlWebhook) GetUrlFetchOrder() string
- func (o *UrlWebhook) GetUrlFetchOrderOk() (*string, bool)
- func (o *UrlWebhook) GetUrlFetchProduct() string
- func (o *UrlWebhook) GetUrlFetchProductOk() (*string, bool)
- func (o *UrlWebhook) GetUrlGenerateShopId() string
- func (o *UrlWebhook) GetUrlGenerateShopIdOk() (*string, bool)
- func (o *UrlWebhook) GetUrlGetShopName() string
- func (o *UrlWebhook) GetUrlGetShopNameOk() (*string, bool)
- func (o *UrlWebhook) GetUrlPackedOrder() string
- func (o *UrlWebhook) GetUrlPackedOrderOk() (*string, bool)
- func (o *UrlWebhook) GetUrlPassthrough() string
- func (o *UrlWebhook) GetUrlPassthroughOk() (*string, bool)
- func (o *UrlWebhook) GetUrlPullWarehouse() string
- func (o *UrlWebhook) GetUrlPullWarehouseOk() (*string, bool)
- func (o *UrlWebhook) GetUrlShippedOrder() string
- func (o *UrlWebhook) GetUrlShippedOrderOk() (*string, bool)
- func (o *UrlWebhook) GetUrlUpdatePrice() string
- func (o *UrlWebhook) GetUrlUpdatePriceOk() (*string, bool)
- func (o *UrlWebhook) GetUrlUpdateStatusProduct() string
- func (o *UrlWebhook) GetUrlUpdateStatusProductOk() (*string, bool)
- func (o *UrlWebhook) GetUrlUpdateStock() string
- func (o *UrlWebhook) GetUrlUpdateStockOk() (*string, bool)
- func (o *UrlWebhook) GetUrlUpsertProduct() string
- func (o *UrlWebhook) GetUrlUpsertProductOk() (*string, bool)
- func (o *UrlWebhook) GetUrlWebhookCancelOrder() string
- func (o *UrlWebhook) GetUrlWebhookCancelOrderOk() (*string, bool)
- func (o *UrlWebhook) GetUrlWebhookNewOrder() string
- func (o *UrlWebhook) GetUrlWebhookNewOrderOk() (*string, bool)
- func (o *UrlWebhook) GetUrlWebhookUpsertOrder() string
- func (o *UrlWebhook) GetUrlWebhookUpsertOrderOk() (*string, bool)
- func (o *UrlWebhook) HasUrlAcceptedOrder() bool
- func (o *UrlWebhook) HasUrlBulkUpdatePrice() bool
- func (o *UrlWebhook) HasUrlBulkUpdateStock() bool
- func (o *UrlWebhook) HasUrlCancelledOrder() bool
- func (o *UrlWebhook) HasUrlCompletedOrder() bool
- func (o *UrlWebhook) HasUrlConnect() bool
- func (o *UrlWebhook) HasUrlConnectOauth2() bool
- func (o *UrlWebhook) HasUrlCreateDiscount() bool
- func (o *UrlWebhook) HasUrlDeleteDiscount() bool
- func (o *UrlWebhook) HasUrlDisconnect() bool
- func (o *UrlWebhook) HasUrlFetchAttributes() bool
- func (o *UrlWebhook) HasUrlFetchCategories() bool
- func (o *UrlWebhook) HasUrlFetchOrder() bool
- func (o *UrlWebhook) HasUrlFetchProduct() bool
- func (o *UrlWebhook) HasUrlGenerateShopId() bool
- func (o *UrlWebhook) HasUrlGetShopName() bool
- func (o *UrlWebhook) HasUrlPackedOrder() bool
- func (o *UrlWebhook) HasUrlPassthrough() bool
- func (o *UrlWebhook) HasUrlPullWarehouse() bool
- func (o *UrlWebhook) HasUrlShippedOrder() bool
- func (o *UrlWebhook) HasUrlUpdatePrice() bool
- func (o *UrlWebhook) HasUrlUpdateStatusProduct() bool
- func (o *UrlWebhook) HasUrlUpdateStock() bool
- func (o *UrlWebhook) HasUrlUpsertProduct() bool
- func (o *UrlWebhook) HasUrlWebhookCancelOrder() bool
- func (o *UrlWebhook) HasUrlWebhookNewOrder() bool
- func (o *UrlWebhook) HasUrlWebhookUpsertOrder() bool
- func (o UrlWebhook) MarshalJSON() ([]byte, error)
- func (o *UrlWebhook) SetUrlAcceptedOrder(v string)
- func (o *UrlWebhook) SetUrlBulkUpdatePrice(v string)
- func (o *UrlWebhook) SetUrlBulkUpdateStock(v string)
- func (o *UrlWebhook) SetUrlCancelledOrder(v string)
- func (o *UrlWebhook) SetUrlCompletedOrder(v string)
- func (o *UrlWebhook) SetUrlConnect(v string)
- func (o *UrlWebhook) SetUrlConnectOauth2(v string)
- func (o *UrlWebhook) SetUrlCreateDiscount(v string)
- func (o *UrlWebhook) SetUrlDeleteDiscount(v string)
- func (o *UrlWebhook) SetUrlDisconnect(v string)
- func (o *UrlWebhook) SetUrlFetchAttributes(v string)
- func (o *UrlWebhook) SetUrlFetchCategories(v string)
- func (o *UrlWebhook) SetUrlFetchOrder(v string)
- func (o *UrlWebhook) SetUrlFetchProduct(v string)
- func (o *UrlWebhook) SetUrlGenerateShopId(v string)
- func (o *UrlWebhook) SetUrlGetShopName(v string)
- func (o *UrlWebhook) SetUrlPackedOrder(v string)
- func (o *UrlWebhook) SetUrlPassthrough(v string)
- func (o *UrlWebhook) SetUrlPullWarehouse(v string)
- func (o *UrlWebhook) SetUrlShippedOrder(v string)
- func (o *UrlWebhook) SetUrlUpdatePrice(v string)
- func (o *UrlWebhook) SetUrlUpdateStatusProduct(v string)
- func (o *UrlWebhook) SetUrlUpdateStock(v string)
- func (o *UrlWebhook) SetUrlUpsertProduct(v string)
- func (o *UrlWebhook) SetUrlWebhookCancelOrder(v string)
- func (o *UrlWebhook) SetUrlWebhookNewOrder(v string)
- func (o *UrlWebhook) SetUrlWebhookUpsertOrder(v string)
- func (o UrlWebhook) ToMap() (map[string]interface{}, error)
- type UrlWebhookInput
- func (o *UrlWebhookInput) GetUrlAcceptedOrder() string
- func (o *UrlWebhookInput) GetUrlAcceptedOrderOk() (*string, bool)
- func (o *UrlWebhookInput) GetUrlCancelledOrder() string
- func (o *UrlWebhookInput) GetUrlCancelledOrderOk() (*string, bool)
- func (o *UrlWebhookInput) GetUrlCompletedOrder() string
- func (o *UrlWebhookInput) GetUrlCompletedOrderOk() (*string, bool)
- func (o *UrlWebhookInput) GetUrlConnect() string
- func (o *UrlWebhookInput) GetUrlConnectOk() (*string, bool)
- func (o *UrlWebhookInput) GetUrlPackedOrder() string
- func (o *UrlWebhookInput) GetUrlPackedOrderOk() (*string, bool)
- func (o *UrlWebhookInput) GetUrlShippedOrder() string
- func (o *UrlWebhookInput) GetUrlShippedOrderOk() (*string, bool)
- func (o *UrlWebhookInput) GetUrlUpdateStock() string
- func (o *UrlWebhookInput) GetUrlUpdateStockOk() (*string, bool)
- func (o *UrlWebhookInput) GetUrlUpsertProduct() string
- func (o *UrlWebhookInput) GetUrlUpsertProductOk() (*string, bool)
- func (o UrlWebhookInput) MarshalJSON() ([]byte, error)
- func (o *UrlWebhookInput) SetUrlAcceptedOrder(v string)
- func (o *UrlWebhookInput) SetUrlCancelledOrder(v string)
- func (o *UrlWebhookInput) SetUrlCompletedOrder(v string)
- func (o *UrlWebhookInput) SetUrlConnect(v string)
- func (o *UrlWebhookInput) SetUrlPackedOrder(v string)
- func (o *UrlWebhookInput) SetUrlShippedOrder(v string)
- func (o *UrlWebhookInput) SetUrlUpdateStock(v string)
- func (o *UrlWebhookInput) SetUrlUpsertProduct(v string)
- func (o UrlWebhookInput) ToMap() (map[string]interface{}, error)
- type UrlWebhookUpdateInput
- func (o *UrlWebhookUpdateInput) GetUrlAcceptedOrder() string
- func (o *UrlWebhookUpdateInput) GetUrlAcceptedOrderOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlBulkUpdatePrice() string
- func (o *UrlWebhookUpdateInput) GetUrlBulkUpdatePriceOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlBulkUpdateStock() string
- func (o *UrlWebhookUpdateInput) GetUrlBulkUpdateStockOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlCancelledOrder() string
- func (o *UrlWebhookUpdateInput) GetUrlCancelledOrderOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlCompletedOrder() string
- func (o *UrlWebhookUpdateInput) GetUrlCompletedOrderOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlConnect() string
- func (o *UrlWebhookUpdateInput) GetUrlConnectOauth2() string
- func (o *UrlWebhookUpdateInput) GetUrlConnectOauth2Ok() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlConnectOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlCreateDiscount() string
- func (o *UrlWebhookUpdateInput) GetUrlCreateDiscountOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlDeleteDiscount() string
- func (o *UrlWebhookUpdateInput) GetUrlDeleteDiscountOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlDisconnect() string
- func (o *UrlWebhookUpdateInput) GetUrlDisconnectOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlFetchOrder() string
- func (o *UrlWebhookUpdateInput) GetUrlFetchOrderOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlFetchProduct() string
- func (o *UrlWebhookUpdateInput) GetUrlFetchProductOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlPackedOrder() string
- func (o *UrlWebhookUpdateInput) GetUrlPackedOrderOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlShippedOrder() string
- func (o *UrlWebhookUpdateInput) GetUrlShippedOrderOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlUpdatePrice() string
- func (o *UrlWebhookUpdateInput) GetUrlUpdatePriceOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlUpdateStock() string
- func (o *UrlWebhookUpdateInput) GetUrlUpdateStockOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) GetUrlUpsertProduct() string
- func (o *UrlWebhookUpdateInput) GetUrlUpsertProductOk() (*string, bool)
- func (o *UrlWebhookUpdateInput) HasUrlBulkUpdatePrice() bool
- func (o *UrlWebhookUpdateInput) HasUrlBulkUpdateStock() bool
- func (o *UrlWebhookUpdateInput) HasUrlCompletedOrder() bool
- func (o *UrlWebhookUpdateInput) HasUrlConnectOauth2() bool
- func (o *UrlWebhookUpdateInput) HasUrlCreateDiscount() bool
- func (o *UrlWebhookUpdateInput) HasUrlDeleteDiscount() bool
- func (o *UrlWebhookUpdateInput) HasUrlFetchOrder() bool
- func (o *UrlWebhookUpdateInput) HasUrlFetchProduct() bool
- func (o *UrlWebhookUpdateInput) HasUrlShippedOrder() bool
- func (o *UrlWebhookUpdateInput) HasUrlUpdatePrice() bool
- func (o *UrlWebhookUpdateInput) HasUrlUpsertProduct() bool
- func (o UrlWebhookUpdateInput) MarshalJSON() ([]byte, error)
- func (o *UrlWebhookUpdateInput) SetUrlAcceptedOrder(v string)
- func (o *UrlWebhookUpdateInput) SetUrlBulkUpdatePrice(v string)
- func (o *UrlWebhookUpdateInput) SetUrlBulkUpdateStock(v string)
- func (o *UrlWebhookUpdateInput) SetUrlCancelledOrder(v string)
- func (o *UrlWebhookUpdateInput) SetUrlCompletedOrder(v string)
- func (o *UrlWebhookUpdateInput) SetUrlConnect(v string)
- func (o *UrlWebhookUpdateInput) SetUrlConnectOauth2(v string)
- func (o *UrlWebhookUpdateInput) SetUrlCreateDiscount(v string)
- func (o *UrlWebhookUpdateInput) SetUrlDeleteDiscount(v string)
- func (o *UrlWebhookUpdateInput) SetUrlDisconnect(v string)
- func (o *UrlWebhookUpdateInput) SetUrlFetchOrder(v string)
- func (o *UrlWebhookUpdateInput) SetUrlFetchProduct(v string)
- func (o *UrlWebhookUpdateInput) SetUrlPackedOrder(v string)
- func (o *UrlWebhookUpdateInput) SetUrlShippedOrder(v string)
- func (o *UrlWebhookUpdateInput) SetUrlUpdatePrice(v string)
- func (o *UrlWebhookUpdateInput) SetUrlUpdateStock(v string)
- func (o *UrlWebhookUpdateInput) SetUrlUpsertProduct(v string)
- func (o UrlWebhookUpdateInput) ToMap() (map[string]interface{}, error)
- type VariantAttributeInput
- func (o *VariantAttributeInput) GetName() string
- func (o *VariantAttributeInput) GetNameOk() (*string, bool)
- func (o *VariantAttributeInput) GetValue() string
- func (o *VariantAttributeInput) GetValueOk() (*string, bool)
- func (o VariantAttributeInput) MarshalJSON() ([]byte, error)
- func (o *VariantAttributeInput) SetName(v string)
- func (o *VariantAttributeInput) SetValue(v string)
- func (o VariantAttributeInput) ToMap() (map[string]interface{}, error)
- type VariantInput
- func (o *VariantInput) GetAttributes() []VariantAttributeInput
- func (o *VariantInput) GetAttributesOk() ([]VariantAttributeInput, bool)
- func (o *VariantInput) GetCurrencyCode() string
- func (o *VariantInput) GetCurrencyCodeOk() (*string, bool)
- func (o *VariantInput) GetImgUrls() []string
- func (o *VariantInput) GetImgUrlsOk() ([]string, bool)
- func (o *VariantInput) GetPrice() float64
- func (o *VariantInput) GetPriceOk() (*float64, bool)
- func (o *VariantInput) GetStatus() string
- func (o *VariantInput) GetStatusOk() (*string, bool)
- func (o *VariantInput) GetVariantId() string
- func (o *VariantInput) GetVariantIdOk() (*string, bool)
- func (o *VariantInput) GetVariantName() string
- func (o *VariantInput) GetVariantNameOk() (*string, bool)
- func (o *VariantInput) GetVariantSku() string
- func (o *VariantInput) GetVariantSkuOk() (*string, bool)
- func (o *VariantInput) GetVariantUrl() string
- func (o *VariantInput) GetVariantUrlOk() (*string, bool)
- func (o *VariantInput) GetVolume() VolumeInput
- func (o *VariantInput) GetVolumeOk() (*VolumeInput, bool)
- func (o *VariantInput) GetWeight() float64
- func (o *VariantInput) GetWeightOk() (*float64, bool)
- func (o VariantInput) MarshalJSON() ([]byte, error)
- func (o *VariantInput) SetAttributes(v []VariantAttributeInput)
- func (o *VariantInput) SetCurrencyCode(v string)
- func (o *VariantInput) SetImgUrls(v []string)
- func (o *VariantInput) SetPrice(v float64)
- func (o *VariantInput) SetStatus(v string)
- func (o *VariantInput) SetVariantId(v string)
- func (o *VariantInput) SetVariantName(v string)
- func (o *VariantInput) SetVariantSku(v string)
- func (o *VariantInput) SetVariantUrl(v string)
- func (o *VariantInput) SetVolume(v VolumeInput)
- func (o *VariantInput) SetWeight(v float64)
- func (o VariantInput) ToMap() (map[string]interface{}, error)
- type VolumeInput
- func (o *VolumeInput) GetHeight() float64
- func (o *VolumeInput) GetHeightOk() (*float64, bool)
- func (o *VolumeInput) GetLength() float64
- func (o *VolumeInput) GetLengthOk() (*float64, bool)
- func (o *VolumeInput) GetWidth() float64
- func (o *VolumeInput) GetWidthOk() (*float64, bool)
- func (o VolumeInput) MarshalJSON() ([]byte, error)
- func (o *VolumeInput) SetHeight(v float64)
- func (o *VolumeInput) SetLength(v float64)
- func (o *VolumeInput) SetWidth(v float64)
- func (o VolumeInput) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { OrderAPI OrderAPI ProductAPI ProductAPI SalesChannelAPI SalesChannelAPI // contains filtered or unexported fields }
APIClient manages communication with the SIRCLO Open API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiRegisterSalesChannelRequest ¶
type ApiRegisterSalesChannelRequest struct { ApiService SalesChannelAPI // contains filtered or unexported fields }
func (ApiRegisterSalesChannelRequest) Execute ¶
func (r ApiRegisterSalesChannelRequest) Execute() (*RegisteredSalesChannel, *http.Response, error)
func (ApiRegisterSalesChannelRequest) RegisterSalesChannelInput ¶
func (r ApiRegisterSalesChannelRequest) RegisterSalesChannelInput(registerSalesChannelInput RegisterSalesChannelInput) ApiRegisterSalesChannelRequest
type ApiUpdateSalesChannelRequest ¶
type ApiUpdateSalesChannelRequest struct { ApiService SalesChannelAPI // contains filtered or unexported fields }
func (ApiUpdateSalesChannelRequest) Execute ¶
func (r ApiUpdateSalesChannelRequest) Execute() (*SalesChannel, *http.Response, error)
func (ApiUpdateSalesChannelRequest) UpdateSalesChannelInput ¶
func (r ApiUpdateSalesChannelRequest) UpdateSalesChannelInput(updateSalesChannelInput UpdateSalesChannelInput) ApiUpdateSalesChannelRequest
type ApiUpsertOrdersRequest ¶
type ApiUpsertOrdersRequest struct { ApiService OrderAPI // contains filtered or unexported fields }
func (ApiUpsertOrdersRequest) Execute ¶
func (r ApiUpsertOrdersRequest) Execute() ([]Order, *http.Response, error)
func (ApiUpsertOrdersRequest) OrderInput ¶
func (r ApiUpsertOrdersRequest) OrderInput(orderInput []OrderInput) ApiUpsertOrdersRequest
type ApiUpsertProductCategoriesRequest ¶
type ApiUpsertProductCategoriesRequest struct { ApiService ProductAPI // contains filtered or unexported fields }
func (ApiUpsertProductCategoriesRequest) Execute ¶
func (r ApiUpsertProductCategoriesRequest) Execute() (*UpsertProductCategoriesResponse, *http.Response, error)
func (ApiUpsertProductCategoriesRequest) ProductCategoryInput ¶
func (r ApiUpsertProductCategoriesRequest) ProductCategoryInput(productCategoryInput []ProductCategoryInput) ApiUpsertProductCategoriesRequest
type ApiUpsertProductsRequest ¶
type ApiUpsertProductsRequest struct { ApiService ProductAPI // contains filtered or unexported fields }
func (ApiUpsertProductsRequest) Execute ¶
func (r ApiUpsertProductsRequest) Execute() ([]Product, *http.Response, error)
func (ApiUpsertProductsRequest) ProductInput ¶
func (r ApiUpsertProductsRequest) ProductInput(productInput []ProductInput) ApiUpsertProductsRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type LineItemInput ¶
type LineItemInput struct { OrderItemId string `json:"order_item_id"` Sku string `json:"sku"` ProductName string `json:"product_name"` OrderQuantity int32 `json:"order_quantity"` RawPrice float64 `json:"raw_price"` DiscountAmount NullableFloat64 `json:"discount_amount,omitempty"` LineTax float64 `json:"line_tax"` ShippingAmount NullableFloat64 `json:"shipping_amount,omitempty"` Promo float64 `json:"promo"` Voucher float64 `json:"voucher"` LineTotal float64 `json:"line_total"` LineComments *string `json:"line_comments,omitempty"` }
LineItemInput struct for LineItemInput
func NewLineItemInput ¶
func NewLineItemInput(orderItemId string, sku string, productName string, orderQuantity int32, rawPrice float64, lineTax float64, promo float64, voucher float64, lineTotal float64) *LineItemInput
NewLineItemInput instantiates a new LineItemInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLineItemInputWithDefaults ¶
func NewLineItemInputWithDefaults() *LineItemInput
NewLineItemInputWithDefaults instantiates a new LineItemInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LineItemInput) GetDiscountAmount ¶
func (o *LineItemInput) GetDiscountAmount() float64
GetDiscountAmount returns the DiscountAmount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LineItemInput) GetDiscountAmountOk ¶
func (o *LineItemInput) GetDiscountAmountOk() (*float64, bool)
GetDiscountAmountOk returns a tuple with the DiscountAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*LineItemInput) GetLineComments ¶
func (o *LineItemInput) GetLineComments() string
GetLineComments returns the LineComments field value if set, zero value otherwise.
func (*LineItemInput) GetLineCommentsOk ¶
func (o *LineItemInput) GetLineCommentsOk() (*string, bool)
GetLineCommentsOk returns a tuple with the LineComments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LineItemInput) GetLineTax ¶
func (o *LineItemInput) GetLineTax() float64
GetLineTax returns the LineTax field value
func (*LineItemInput) GetLineTaxOk ¶
func (o *LineItemInput) GetLineTaxOk() (*float64, bool)
GetLineTaxOk returns a tuple with the LineTax field value and a boolean to check if the value has been set.
func (*LineItemInput) GetLineTotal ¶
func (o *LineItemInput) GetLineTotal() float64
GetLineTotal returns the LineTotal field value
func (*LineItemInput) GetLineTotalOk ¶
func (o *LineItemInput) GetLineTotalOk() (*float64, bool)
GetLineTotalOk returns a tuple with the LineTotal field value and a boolean to check if the value has been set.
func (*LineItemInput) GetOrderItemId ¶
func (o *LineItemInput) GetOrderItemId() string
GetOrderItemId returns the OrderItemId field value
func (*LineItemInput) GetOrderItemIdOk ¶
func (o *LineItemInput) GetOrderItemIdOk() (*string, bool)
GetOrderItemIdOk returns a tuple with the OrderItemId field value and a boolean to check if the value has been set.
func (*LineItemInput) GetOrderQuantity ¶
func (o *LineItemInput) GetOrderQuantity() int32
GetOrderQuantity returns the OrderQuantity field value
func (*LineItemInput) GetOrderQuantityOk ¶
func (o *LineItemInput) GetOrderQuantityOk() (*int32, bool)
GetOrderQuantityOk returns a tuple with the OrderQuantity field value and a boolean to check if the value has been set.
func (*LineItemInput) GetProductName ¶
func (o *LineItemInput) GetProductName() string
GetProductName returns the ProductName field value
func (*LineItemInput) GetProductNameOk ¶
func (o *LineItemInput) GetProductNameOk() (*string, bool)
GetProductNameOk returns a tuple with the ProductName field value and a boolean to check if the value has been set.
func (*LineItemInput) GetPromo ¶
func (o *LineItemInput) GetPromo() float64
GetPromo returns the Promo field value
func (*LineItemInput) GetPromoOk ¶
func (o *LineItemInput) GetPromoOk() (*float64, bool)
GetPromoOk returns a tuple with the Promo field value and a boolean to check if the value has been set.
func (*LineItemInput) GetRawPrice ¶
func (o *LineItemInput) GetRawPrice() float64
GetRawPrice returns the RawPrice field value
func (*LineItemInput) GetRawPriceOk ¶
func (o *LineItemInput) GetRawPriceOk() (*float64, bool)
GetRawPriceOk returns a tuple with the RawPrice field value and a boolean to check if the value has been set.
func (*LineItemInput) GetShippingAmount ¶
func (o *LineItemInput) GetShippingAmount() float64
GetShippingAmount returns the ShippingAmount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LineItemInput) GetShippingAmountOk ¶
func (o *LineItemInput) GetShippingAmountOk() (*float64, bool)
GetShippingAmountOk returns a tuple with the ShippingAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*LineItemInput) GetSku ¶
func (o *LineItemInput) GetSku() string
GetSku returns the Sku field value
func (*LineItemInput) GetSkuOk ¶
func (o *LineItemInput) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field value and a boolean to check if the value has been set.
func (*LineItemInput) GetVoucher ¶
func (o *LineItemInput) GetVoucher() float64
GetVoucher returns the Voucher field value
func (*LineItemInput) GetVoucherOk ¶
func (o *LineItemInput) GetVoucherOk() (*float64, bool)
GetVoucherOk returns a tuple with the Voucher field value and a boolean to check if the value has been set.
func (*LineItemInput) HasDiscountAmount ¶
func (o *LineItemInput) HasDiscountAmount() bool
HasDiscountAmount returns a boolean if a field has been set.
func (*LineItemInput) HasLineComments ¶
func (o *LineItemInput) HasLineComments() bool
HasLineComments returns a boolean if a field has been set.
func (*LineItemInput) HasShippingAmount ¶
func (o *LineItemInput) HasShippingAmount() bool
HasShippingAmount returns a boolean if a field has been set.
func (LineItemInput) MarshalJSON ¶
func (o LineItemInput) MarshalJSON() ([]byte, error)
func (*LineItemInput) SetDiscountAmount ¶
func (o *LineItemInput) SetDiscountAmount(v float64)
SetDiscountAmount gets a reference to the given NullableFloat64 and assigns it to the DiscountAmount field.
func (*LineItemInput) SetDiscountAmountNil ¶
func (o *LineItemInput) SetDiscountAmountNil()
SetDiscountAmountNil sets the value for DiscountAmount to be an explicit nil
func (*LineItemInput) SetLineComments ¶
func (o *LineItemInput) SetLineComments(v string)
SetLineComments gets a reference to the given string and assigns it to the LineComments field.
func (*LineItemInput) SetLineTax ¶
func (o *LineItemInput) SetLineTax(v float64)
SetLineTax sets field value
func (*LineItemInput) SetLineTotal ¶
func (o *LineItemInput) SetLineTotal(v float64)
SetLineTotal sets field value
func (*LineItemInput) SetOrderItemId ¶
func (o *LineItemInput) SetOrderItemId(v string)
SetOrderItemId sets field value
func (*LineItemInput) SetOrderQuantity ¶
func (o *LineItemInput) SetOrderQuantity(v int32)
SetOrderQuantity sets field value
func (*LineItemInput) SetProductName ¶
func (o *LineItemInput) SetProductName(v string)
SetProductName sets field value
func (*LineItemInput) SetPromo ¶
func (o *LineItemInput) SetPromo(v float64)
SetPromo sets field value
func (*LineItemInput) SetRawPrice ¶
func (o *LineItemInput) SetRawPrice(v float64)
SetRawPrice sets field value
func (*LineItemInput) SetShippingAmount ¶
func (o *LineItemInput) SetShippingAmount(v float64)
SetShippingAmount gets a reference to the given NullableFloat64 and assigns it to the ShippingAmount field.
func (*LineItemInput) SetShippingAmountNil ¶
func (o *LineItemInput) SetShippingAmountNil()
SetShippingAmountNil sets the value for ShippingAmount to be an explicit nil
func (*LineItemInput) SetVoucher ¶
func (o *LineItemInput) SetVoucher(v float64)
SetVoucher sets field value
func (LineItemInput) ToMap ¶
func (o LineItemInput) ToMap() (map[string]interface{}, error)
func (*LineItemInput) UnsetDiscountAmount ¶
func (o *LineItemInput) UnsetDiscountAmount()
UnsetDiscountAmount ensures that no value is present for DiscountAmount, not even an explicit nil
func (*LineItemInput) UnsetShippingAmount ¶
func (o *LineItemInput) UnsetShippingAmount()
UnsetShippingAmount ensures that no value is present for ShippingAmount, not even an explicit nil
type MappedNullable ¶
type ModelError ¶
type ModelError struct { Message *string `json:"message,omitempty"` Reference *string `json:"reference,omitempty"` }
ModelError struct for ModelError
func NewModelError ¶
func NewModelError() *ModelError
NewModelError instantiates a new ModelError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModelErrorWithDefaults ¶
func NewModelErrorWithDefaults() *ModelError
NewModelErrorWithDefaults instantiates a new ModelError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ModelError) GetMessage ¶
func (o *ModelError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ModelError) GetMessageOk ¶
func (o *ModelError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) GetReference ¶
func (o *ModelError) GetReference() string
GetReference returns the Reference field value if set, zero value otherwise.
func (*ModelError) GetReferenceOk ¶
func (o *ModelError) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) HasMessage ¶
func (o *ModelError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ModelError) HasReference ¶
func (o *ModelError) HasReference() bool
HasReference returns a boolean if a field has been set.
func (ModelError) MarshalJSON ¶
func (o ModelError) MarshalJSON() ([]byte, error)
func (*ModelError) SetMessage ¶
func (o *ModelError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ModelError) SetReference ¶
func (o *ModelError) SetReference(v string)
SetReference gets a reference to the given string and assigns it to the Reference field.
func (ModelError) ToMap ¶
func (o ModelError) ToMap() (map[string]interface{}, error)
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLineItemInput ¶
type NullableLineItemInput struct {
// contains filtered or unexported fields
}
func NewNullableLineItemInput ¶
func NewNullableLineItemInput(val *LineItemInput) *NullableLineItemInput
func (NullableLineItemInput) Get ¶
func (v NullableLineItemInput) Get() *LineItemInput
func (NullableLineItemInput) IsSet ¶
func (v NullableLineItemInput) IsSet() bool
func (NullableLineItemInput) MarshalJSON ¶
func (v NullableLineItemInput) MarshalJSON() ([]byte, error)
func (*NullableLineItemInput) Set ¶
func (v *NullableLineItemInput) Set(val *LineItemInput)
func (*NullableLineItemInput) UnmarshalJSON ¶
func (v *NullableLineItemInput) UnmarshalJSON(src []byte) error
func (*NullableLineItemInput) Unset ¶
func (v *NullableLineItemInput) Unset()
type NullableModelError ¶
type NullableModelError struct {
// contains filtered or unexported fields
}
func NewNullableModelError ¶
func NewNullableModelError(val *ModelError) *NullableModelError
func (NullableModelError) Get ¶
func (v NullableModelError) Get() *ModelError
func (NullableModelError) IsSet ¶
func (v NullableModelError) IsSet() bool
func (NullableModelError) MarshalJSON ¶
func (v NullableModelError) MarshalJSON() ([]byte, error)
func (*NullableModelError) Set ¶
func (v *NullableModelError) Set(val *ModelError)
func (*NullableModelError) UnmarshalJSON ¶
func (v *NullableModelError) UnmarshalJSON(src []byte) error
func (*NullableModelError) Unset ¶
func (v *NullableModelError) Unset()
type NullableOrder ¶
type NullableOrder struct {
// contains filtered or unexported fields
}
func NewNullableOrder ¶
func NewNullableOrder(val *Order) *NullableOrder
func (NullableOrder) Get ¶
func (v NullableOrder) Get() *Order
func (NullableOrder) IsSet ¶
func (v NullableOrder) IsSet() bool
func (NullableOrder) MarshalJSON ¶
func (v NullableOrder) MarshalJSON() ([]byte, error)
func (*NullableOrder) Set ¶
func (v *NullableOrder) Set(val *Order)
func (*NullableOrder) UnmarshalJSON ¶
func (v *NullableOrder) UnmarshalJSON(src []byte) error
func (*NullableOrder) Unset ¶
func (v *NullableOrder) Unset()
type NullableOrderInput ¶
type NullableOrderInput struct {
// contains filtered or unexported fields
}
func NewNullableOrderInput ¶
func NewNullableOrderInput(val *OrderInput) *NullableOrderInput
func (NullableOrderInput) Get ¶
func (v NullableOrderInput) Get() *OrderInput
func (NullableOrderInput) IsSet ¶
func (v NullableOrderInput) IsSet() bool
func (NullableOrderInput) MarshalJSON ¶
func (v NullableOrderInput) MarshalJSON() ([]byte, error)
func (*NullableOrderInput) Set ¶
func (v *NullableOrderInput) Set(val *OrderInput)
func (*NullableOrderInput) UnmarshalJSON ¶
func (v *NullableOrderInput) UnmarshalJSON(src []byte) error
func (*NullableOrderInput) Unset ¶
func (v *NullableOrderInput) Unset()
type NullableProduct ¶
type NullableProduct struct {
// contains filtered or unexported fields
}
func NewNullableProduct ¶
func NewNullableProduct(val *Product) *NullableProduct
func (NullableProduct) Get ¶
func (v NullableProduct) Get() *Product
func (NullableProduct) IsSet ¶
func (v NullableProduct) IsSet() bool
func (NullableProduct) MarshalJSON ¶
func (v NullableProduct) MarshalJSON() ([]byte, error)
func (*NullableProduct) Set ¶
func (v *NullableProduct) Set(val *Product)
func (*NullableProduct) UnmarshalJSON ¶
func (v *NullableProduct) UnmarshalJSON(src []byte) error
func (*NullableProduct) Unset ¶
func (v *NullableProduct) Unset()
type NullableProductCategory ¶
type NullableProductCategory struct {
// contains filtered or unexported fields
}
func NewNullableProductCategory ¶
func NewNullableProductCategory(val *ProductCategory) *NullableProductCategory
func (NullableProductCategory) Get ¶
func (v NullableProductCategory) Get() *ProductCategory
func (NullableProductCategory) IsSet ¶
func (v NullableProductCategory) IsSet() bool
func (NullableProductCategory) MarshalJSON ¶
func (v NullableProductCategory) MarshalJSON() ([]byte, error)
func (*NullableProductCategory) Set ¶
func (v *NullableProductCategory) Set(val *ProductCategory)
func (*NullableProductCategory) UnmarshalJSON ¶
func (v *NullableProductCategory) UnmarshalJSON(src []byte) error
func (*NullableProductCategory) Unset ¶
func (v *NullableProductCategory) Unset()
type NullableProductCategoryAttribute ¶
type NullableProductCategoryAttribute struct {
// contains filtered or unexported fields
}
func NewNullableProductCategoryAttribute ¶
func NewNullableProductCategoryAttribute(val *ProductCategoryAttribute) *NullableProductCategoryAttribute
func (NullableProductCategoryAttribute) Get ¶
func (v NullableProductCategoryAttribute) Get() *ProductCategoryAttribute
func (NullableProductCategoryAttribute) IsSet ¶
func (v NullableProductCategoryAttribute) IsSet() bool
func (NullableProductCategoryAttribute) MarshalJSON ¶
func (v NullableProductCategoryAttribute) MarshalJSON() ([]byte, error)
func (*NullableProductCategoryAttribute) Set ¶
func (v *NullableProductCategoryAttribute) Set(val *ProductCategoryAttribute)
func (*NullableProductCategoryAttribute) UnmarshalJSON ¶
func (v *NullableProductCategoryAttribute) UnmarshalJSON(src []byte) error
func (*NullableProductCategoryAttribute) Unset ¶
func (v *NullableProductCategoryAttribute) Unset()
type NullableProductCategoryAttributeInput ¶
type NullableProductCategoryAttributeInput struct {
// contains filtered or unexported fields
}
func NewNullableProductCategoryAttributeInput ¶
func NewNullableProductCategoryAttributeInput(val *ProductCategoryAttributeInput) *NullableProductCategoryAttributeInput
func (NullableProductCategoryAttributeInput) Get ¶
func (v NullableProductCategoryAttributeInput) Get() *ProductCategoryAttributeInput
func (NullableProductCategoryAttributeInput) IsSet ¶
func (v NullableProductCategoryAttributeInput) IsSet() bool
func (NullableProductCategoryAttributeInput) MarshalJSON ¶
func (v NullableProductCategoryAttributeInput) MarshalJSON() ([]byte, error)
func (*NullableProductCategoryAttributeInput) Set ¶
func (v *NullableProductCategoryAttributeInput) Set(val *ProductCategoryAttributeInput)
func (*NullableProductCategoryAttributeInput) UnmarshalJSON ¶
func (v *NullableProductCategoryAttributeInput) UnmarshalJSON(src []byte) error
func (*NullableProductCategoryAttributeInput) Unset ¶
func (v *NullableProductCategoryAttributeInput) Unset()
type NullableProductCategoryInput ¶
type NullableProductCategoryInput struct {
// contains filtered or unexported fields
}
func NewNullableProductCategoryInput ¶
func NewNullableProductCategoryInput(val *ProductCategoryInput) *NullableProductCategoryInput
func (NullableProductCategoryInput) Get ¶
func (v NullableProductCategoryInput) Get() *ProductCategoryInput
func (NullableProductCategoryInput) IsSet ¶
func (v NullableProductCategoryInput) IsSet() bool
func (NullableProductCategoryInput) MarshalJSON ¶
func (v NullableProductCategoryInput) MarshalJSON() ([]byte, error)
func (*NullableProductCategoryInput) Set ¶
func (v *NullableProductCategoryInput) Set(val *ProductCategoryInput)
func (*NullableProductCategoryInput) UnmarshalJSON ¶
func (v *NullableProductCategoryInput) UnmarshalJSON(src []byte) error
func (*NullableProductCategoryInput) Unset ¶
func (v *NullableProductCategoryInput) Unset()
type NullableProductInput ¶
type NullableProductInput struct {
// contains filtered or unexported fields
}
func NewNullableProductInput ¶
func NewNullableProductInput(val *ProductInput) *NullableProductInput
func (NullableProductInput) Get ¶
func (v NullableProductInput) Get() *ProductInput
func (NullableProductInput) IsSet ¶
func (v NullableProductInput) IsSet() bool
func (NullableProductInput) MarshalJSON ¶
func (v NullableProductInput) MarshalJSON() ([]byte, error)
func (*NullableProductInput) Set ¶
func (v *NullableProductInput) Set(val *ProductInput)
func (*NullableProductInput) UnmarshalJSON ¶
func (v *NullableProductInput) UnmarshalJSON(src []byte) error
func (*NullableProductInput) Unset ¶
func (v *NullableProductInput) Unset()
type NullableRegisterSalesChannelInput ¶
type NullableRegisterSalesChannelInput struct {
// contains filtered or unexported fields
}
func NewNullableRegisterSalesChannelInput ¶
func NewNullableRegisterSalesChannelInput(val *RegisterSalesChannelInput) *NullableRegisterSalesChannelInput
func (NullableRegisterSalesChannelInput) Get ¶
func (v NullableRegisterSalesChannelInput) Get() *RegisterSalesChannelInput
func (NullableRegisterSalesChannelInput) IsSet ¶
func (v NullableRegisterSalesChannelInput) IsSet() bool
func (NullableRegisterSalesChannelInput) MarshalJSON ¶
func (v NullableRegisterSalesChannelInput) MarshalJSON() ([]byte, error)
func (*NullableRegisterSalesChannelInput) Set ¶
func (v *NullableRegisterSalesChannelInput) Set(val *RegisterSalesChannelInput)
func (*NullableRegisterSalesChannelInput) UnmarshalJSON ¶
func (v *NullableRegisterSalesChannelInput) UnmarshalJSON(src []byte) error
func (*NullableRegisterSalesChannelInput) Unset ¶
func (v *NullableRegisterSalesChannelInput) Unset()
type NullableRegisteredSalesChannel ¶
type NullableRegisteredSalesChannel struct {
// contains filtered or unexported fields
}
func NewNullableRegisteredSalesChannel ¶
func NewNullableRegisteredSalesChannel(val *RegisteredSalesChannel) *NullableRegisteredSalesChannel
func (NullableRegisteredSalesChannel) Get ¶
func (v NullableRegisteredSalesChannel) Get() *RegisteredSalesChannel
func (NullableRegisteredSalesChannel) IsSet ¶
func (v NullableRegisteredSalesChannel) IsSet() bool
func (NullableRegisteredSalesChannel) MarshalJSON ¶
func (v NullableRegisteredSalesChannel) MarshalJSON() ([]byte, error)
func (*NullableRegisteredSalesChannel) Set ¶
func (v *NullableRegisteredSalesChannel) Set(val *RegisteredSalesChannel)
func (*NullableRegisteredSalesChannel) UnmarshalJSON ¶
func (v *NullableRegisteredSalesChannel) UnmarshalJSON(src []byte) error
func (*NullableRegisteredSalesChannel) Unset ¶
func (v *NullableRegisteredSalesChannel) Unset()
type NullableSalesChannel ¶
type NullableSalesChannel struct {
// contains filtered or unexported fields
}
func NewNullableSalesChannel ¶
func NewNullableSalesChannel(val *SalesChannel) *NullableSalesChannel
func (NullableSalesChannel) Get ¶
func (v NullableSalesChannel) Get() *SalesChannel
func (NullableSalesChannel) IsSet ¶
func (v NullableSalesChannel) IsSet() bool
func (NullableSalesChannel) MarshalJSON ¶
func (v NullableSalesChannel) MarshalJSON() ([]byte, error)
func (*NullableSalesChannel) Set ¶
func (v *NullableSalesChannel) Set(val *SalesChannel)
func (*NullableSalesChannel) UnmarshalJSON ¶
func (v *NullableSalesChannel) UnmarshalJSON(src []byte) error
func (*NullableSalesChannel) Unset ¶
func (v *NullableSalesChannel) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateSalesChannelInput ¶
type NullableUpdateSalesChannelInput struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSalesChannelInput ¶
func NewNullableUpdateSalesChannelInput(val *UpdateSalesChannelInput) *NullableUpdateSalesChannelInput
func (NullableUpdateSalesChannelInput) Get ¶
func (v NullableUpdateSalesChannelInput) Get() *UpdateSalesChannelInput
func (NullableUpdateSalesChannelInput) IsSet ¶
func (v NullableUpdateSalesChannelInput) IsSet() bool
func (NullableUpdateSalesChannelInput) MarshalJSON ¶
func (v NullableUpdateSalesChannelInput) MarshalJSON() ([]byte, error)
func (*NullableUpdateSalesChannelInput) Set ¶
func (v *NullableUpdateSalesChannelInput) Set(val *UpdateSalesChannelInput)
func (*NullableUpdateSalesChannelInput) UnmarshalJSON ¶
func (v *NullableUpdateSalesChannelInput) UnmarshalJSON(src []byte) error
func (*NullableUpdateSalesChannelInput) Unset ¶
func (v *NullableUpdateSalesChannelInput) Unset()
type NullableUpsertProductCategoriesResponse ¶
type NullableUpsertProductCategoriesResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpsertProductCategoriesResponse ¶
func NewNullableUpsertProductCategoriesResponse(val *UpsertProductCategoriesResponse) *NullableUpsertProductCategoriesResponse
func (NullableUpsertProductCategoriesResponse) IsSet ¶
func (v NullableUpsertProductCategoriesResponse) IsSet() bool
func (NullableUpsertProductCategoriesResponse) MarshalJSON ¶
func (v NullableUpsertProductCategoriesResponse) MarshalJSON() ([]byte, error)
func (*NullableUpsertProductCategoriesResponse) Set ¶
func (v *NullableUpsertProductCategoriesResponse) Set(val *UpsertProductCategoriesResponse)
func (*NullableUpsertProductCategoriesResponse) UnmarshalJSON ¶
func (v *NullableUpsertProductCategoriesResponse) UnmarshalJSON(src []byte) error
func (*NullableUpsertProductCategoriesResponse) Unset ¶
func (v *NullableUpsertProductCategoriesResponse) Unset()
type NullableUrlInfo ¶
type NullableUrlInfo struct {
// contains filtered or unexported fields
}
func NewNullableUrlInfo ¶
func NewNullableUrlInfo(val *UrlInfo) *NullableUrlInfo
func (NullableUrlInfo) Get ¶
func (v NullableUrlInfo) Get() *UrlInfo
func (NullableUrlInfo) IsSet ¶
func (v NullableUrlInfo) IsSet() bool
func (NullableUrlInfo) MarshalJSON ¶
func (v NullableUrlInfo) MarshalJSON() ([]byte, error)
func (*NullableUrlInfo) Set ¶
func (v *NullableUrlInfo) Set(val *UrlInfo)
func (*NullableUrlInfo) UnmarshalJSON ¶
func (v *NullableUrlInfo) UnmarshalJSON(src []byte) error
func (*NullableUrlInfo) Unset ¶
func (v *NullableUrlInfo) Unset()
type NullableUrlInfoInput ¶
type NullableUrlInfoInput struct {
// contains filtered or unexported fields
}
func NewNullableUrlInfoInput ¶
func NewNullableUrlInfoInput(val *UrlInfoInput) *NullableUrlInfoInput
func (NullableUrlInfoInput) Get ¶
func (v NullableUrlInfoInput) Get() *UrlInfoInput
func (NullableUrlInfoInput) IsSet ¶
func (v NullableUrlInfoInput) IsSet() bool
func (NullableUrlInfoInput) MarshalJSON ¶
func (v NullableUrlInfoInput) MarshalJSON() ([]byte, error)
func (*NullableUrlInfoInput) Set ¶
func (v *NullableUrlInfoInput) Set(val *UrlInfoInput)
func (*NullableUrlInfoInput) UnmarshalJSON ¶
func (v *NullableUrlInfoInput) UnmarshalJSON(src []byte) error
func (*NullableUrlInfoInput) Unset ¶
func (v *NullableUrlInfoInput) Unset()
type NullableUrlInfoUpdateInput ¶
type NullableUrlInfoUpdateInput struct {
// contains filtered or unexported fields
}
func NewNullableUrlInfoUpdateInput ¶
func NewNullableUrlInfoUpdateInput(val *UrlInfoUpdateInput) *NullableUrlInfoUpdateInput
func (NullableUrlInfoUpdateInput) Get ¶
func (v NullableUrlInfoUpdateInput) Get() *UrlInfoUpdateInput
func (NullableUrlInfoUpdateInput) IsSet ¶
func (v NullableUrlInfoUpdateInput) IsSet() bool
func (NullableUrlInfoUpdateInput) MarshalJSON ¶
func (v NullableUrlInfoUpdateInput) MarshalJSON() ([]byte, error)
func (*NullableUrlInfoUpdateInput) Set ¶
func (v *NullableUrlInfoUpdateInput) Set(val *UrlInfoUpdateInput)
func (*NullableUrlInfoUpdateInput) UnmarshalJSON ¶
func (v *NullableUrlInfoUpdateInput) UnmarshalJSON(src []byte) error
func (*NullableUrlInfoUpdateInput) Unset ¶
func (v *NullableUrlInfoUpdateInput) Unset()
type NullableUrlWebhook ¶
type NullableUrlWebhook struct {
// contains filtered or unexported fields
}
func NewNullableUrlWebhook ¶
func NewNullableUrlWebhook(val *UrlWebhook) *NullableUrlWebhook
func (NullableUrlWebhook) Get ¶
func (v NullableUrlWebhook) Get() *UrlWebhook
func (NullableUrlWebhook) IsSet ¶
func (v NullableUrlWebhook) IsSet() bool
func (NullableUrlWebhook) MarshalJSON ¶
func (v NullableUrlWebhook) MarshalJSON() ([]byte, error)
func (*NullableUrlWebhook) Set ¶
func (v *NullableUrlWebhook) Set(val *UrlWebhook)
func (*NullableUrlWebhook) UnmarshalJSON ¶
func (v *NullableUrlWebhook) UnmarshalJSON(src []byte) error
func (*NullableUrlWebhook) Unset ¶
func (v *NullableUrlWebhook) Unset()
type NullableUrlWebhookInput ¶
type NullableUrlWebhookInput struct {
// contains filtered or unexported fields
}
func NewNullableUrlWebhookInput ¶
func NewNullableUrlWebhookInput(val *UrlWebhookInput) *NullableUrlWebhookInput
func (NullableUrlWebhookInput) Get ¶
func (v NullableUrlWebhookInput) Get() *UrlWebhookInput
func (NullableUrlWebhookInput) IsSet ¶
func (v NullableUrlWebhookInput) IsSet() bool
func (NullableUrlWebhookInput) MarshalJSON ¶
func (v NullableUrlWebhookInput) MarshalJSON() ([]byte, error)
func (*NullableUrlWebhookInput) Set ¶
func (v *NullableUrlWebhookInput) Set(val *UrlWebhookInput)
func (*NullableUrlWebhookInput) UnmarshalJSON ¶
func (v *NullableUrlWebhookInput) UnmarshalJSON(src []byte) error
func (*NullableUrlWebhookInput) Unset ¶
func (v *NullableUrlWebhookInput) Unset()
type NullableUrlWebhookUpdateInput ¶
type NullableUrlWebhookUpdateInput struct {
// contains filtered or unexported fields
}
func NewNullableUrlWebhookUpdateInput ¶
func NewNullableUrlWebhookUpdateInput(val *UrlWebhookUpdateInput) *NullableUrlWebhookUpdateInput
func (NullableUrlWebhookUpdateInput) Get ¶
func (v NullableUrlWebhookUpdateInput) Get() *UrlWebhookUpdateInput
func (NullableUrlWebhookUpdateInput) IsSet ¶
func (v NullableUrlWebhookUpdateInput) IsSet() bool
func (NullableUrlWebhookUpdateInput) MarshalJSON ¶
func (v NullableUrlWebhookUpdateInput) MarshalJSON() ([]byte, error)
func (*NullableUrlWebhookUpdateInput) Set ¶
func (v *NullableUrlWebhookUpdateInput) Set(val *UrlWebhookUpdateInput)
func (*NullableUrlWebhookUpdateInput) UnmarshalJSON ¶
func (v *NullableUrlWebhookUpdateInput) UnmarshalJSON(src []byte) error
func (*NullableUrlWebhookUpdateInput) Unset ¶
func (v *NullableUrlWebhookUpdateInput) Unset()
type NullableVariantAttributeInput ¶
type NullableVariantAttributeInput struct {
// contains filtered or unexported fields
}
func NewNullableVariantAttributeInput ¶
func NewNullableVariantAttributeInput(val *VariantAttributeInput) *NullableVariantAttributeInput
func (NullableVariantAttributeInput) Get ¶
func (v NullableVariantAttributeInput) Get() *VariantAttributeInput
func (NullableVariantAttributeInput) IsSet ¶
func (v NullableVariantAttributeInput) IsSet() bool
func (NullableVariantAttributeInput) MarshalJSON ¶
func (v NullableVariantAttributeInput) MarshalJSON() ([]byte, error)
func (*NullableVariantAttributeInput) Set ¶
func (v *NullableVariantAttributeInput) Set(val *VariantAttributeInput)
func (*NullableVariantAttributeInput) UnmarshalJSON ¶
func (v *NullableVariantAttributeInput) UnmarshalJSON(src []byte) error
func (*NullableVariantAttributeInput) Unset ¶
func (v *NullableVariantAttributeInput) Unset()
type NullableVariantInput ¶
type NullableVariantInput struct {
// contains filtered or unexported fields
}
func NewNullableVariantInput ¶
func NewNullableVariantInput(val *VariantInput) *NullableVariantInput
func (NullableVariantInput) Get ¶
func (v NullableVariantInput) Get() *VariantInput
func (NullableVariantInput) IsSet ¶
func (v NullableVariantInput) IsSet() bool
func (NullableVariantInput) MarshalJSON ¶
func (v NullableVariantInput) MarshalJSON() ([]byte, error)
func (*NullableVariantInput) Set ¶
func (v *NullableVariantInput) Set(val *VariantInput)
func (*NullableVariantInput) UnmarshalJSON ¶
func (v *NullableVariantInput) UnmarshalJSON(src []byte) error
func (*NullableVariantInput) Unset ¶
func (v *NullableVariantInput) Unset()
type NullableVolumeInput ¶
type NullableVolumeInput struct {
// contains filtered or unexported fields
}
func NewNullableVolumeInput ¶
func NewNullableVolumeInput(val *VolumeInput) *NullableVolumeInput
func (NullableVolumeInput) Get ¶
func (v NullableVolumeInput) Get() *VolumeInput
func (NullableVolumeInput) IsSet ¶
func (v NullableVolumeInput) IsSet() bool
func (NullableVolumeInput) MarshalJSON ¶
func (v NullableVolumeInput) MarshalJSON() ([]byte, error)
func (*NullableVolumeInput) Set ¶
func (v *NullableVolumeInput) Set(val *VolumeInput)
func (*NullableVolumeInput) UnmarshalJSON ¶
func (v *NullableVolumeInput) UnmarshalJSON(src []byte) error
func (*NullableVolumeInput) Unset ¶
func (v *NullableVolumeInput) Unset()
type Order ¶
type Order struct { OrderId *string `json:"order_id,omitempty"` ShopId *string `json:"shop_id,omitempty"` Success *bool `json:"success,omitempty"` Message *string `json:"message,omitempty"` }
Order struct for Order
func NewOrder ¶
func NewOrder() *Order
NewOrder instantiates a new Order object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOrderWithDefaults ¶
func NewOrderWithDefaults() *Order
NewOrderWithDefaults instantiates a new Order object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Order) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Order) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetOrderId ¶
GetOrderId returns the OrderId field value if set, zero value otherwise.
func (*Order) GetOrderIdOk ¶
GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetShopIdOk ¶
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetSuccess ¶
GetSuccess returns the Success field value if set, zero value otherwise.
func (*Order) GetSuccessOk ¶
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*Order) HasOrderId ¶
HasOrderId returns a boolean if a field has been set.
func (*Order) HasSuccess ¶
HasSuccess returns a boolean if a field has been set.
func (Order) MarshalJSON ¶
func (*Order) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*Order) SetOrderId ¶
SetOrderId gets a reference to the given string and assigns it to the OrderId field.
func (*Order) SetShopId ¶
SetShopId gets a reference to the given string and assigns it to the ShopId field.
func (*Order) SetSuccess ¶
SetSuccess gets a reference to the given bool and assigns it to the Success field.
type OrderAPI ¶
type OrderAPI interface { /* UpsertOrders Method for UpsertOrders Upsert orders @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelCode Channel code @return ApiUpsertOrdersRequest */ UpsertOrders(ctx context.Context, channelCode string) ApiUpsertOrdersRequest // UpsertOrdersExecute executes the request // @return []Order UpsertOrdersExecute(r ApiUpsertOrdersRequest) ([]Order, *http.Response, error) }
type OrderAPIService ¶
type OrderAPIService service
OrderAPIService OrderAPI service
func (*OrderAPIService) UpsertOrders ¶
func (a *OrderAPIService) UpsertOrders(ctx context.Context, channelCode string) ApiUpsertOrdersRequest
UpsertOrders Method for UpsertOrders
Upsert orders
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelCode Channel code @return ApiUpsertOrdersRequest
func (*OrderAPIService) UpsertOrdersExecute ¶
func (a *OrderAPIService) UpsertOrdersExecute(r ApiUpsertOrdersRequest) ([]Order, *http.Response, error)
Execute executes the request
@return []Order
type OrderInput ¶
type OrderInput struct { OrderDate string `json:"order_date"` OrderId string `json:"order_id"` CustomerReference string `json:"customer_reference"` CurrencyCode string `json:"currency_code"` ExchangeRate NullableFloat64 `json:"exchange_rate,omitempty"` WarehouseId string `json:"warehouse_id"` PaymentMethod string `json:"payment_method"` DropshipperName *string `json:"dropshipper_name,omitempty"` DriverName *string `json:"driver_name,omitempty"` DriverPhoneNumber *string `json:"driver_phone_number,omitempty"` DeliveryLatitude *string `json:"delivery_latitude,omitempty"` DeliveryLongitude *string `json:"delivery_longitude,omitempty"` DeliveryName string `json:"delivery_name"` DeliveryStreetAddress string `json:"delivery_street_address"` DeliveryStreetAddress2 *string `json:"delivery_street_address_2,omitempty"` DeliverySuburb string `json:"delivery_suburb"` DeliveryCity string `json:"delivery_city"` DeliveryRegion string `json:"delivery_region"` DeliveryPostCode string `json:"delivery_post_code"` DeliveryCountry string `json:"delivery_country"` DeliveryMethod string `json:"delivery_method"` OrderStatus string `json:"order_status"` TaxCode *string `json:"tax_code,omitempty"` TaxRate NullableFloat64 `json:"tax_rate,omitempty"` TaxTotal float64 `json:"tax_total"` ShippingTotal float64 `json:"shipping_total"` DiscountTotal float64 `json:"discount_total"` TotalPromo float64 `json:"total_promo"` TotalVoucher float64 `json:"total_voucher"` Subtotal float64 `json:"subtotal"` Total float64 `json:"total"` Remarks *string `json:"remarks,omitempty"` PhoneNumber string `json:"phone_number"` AirwaybillNumber *string `json:"airwaybill_number,omitempty"` PaidAt *string `json:"paid_at,omitempty"` AcceptedAt *string `json:"accepted_at,omitempty"` PackedAt *string `json:"packed_at,omitempty"` AwbRetrievedAt *string `json:"awb_retrieved_at,omitempty"` CompletedAt *string `json:"completed_at,omitempty"` ReceivedAt *string `json:"received_at,omitempty"` ReceivedBy *string `json:"received_by,omitempty"` CancelledAt *string `json:"cancelled_at,omitempty"` ShopId string `json:"shop_id"` CancelReason *string `json:"cancel_reason,omitempty"` Provider string `json:"provider"` Service string `json:"service"` ShipmentExtras *string `json:"shipment_extras,omitempty"` IsAwbAvailableFromChannel bool `json:"is_awb_available_from_channel"` LineItems []LineItemInput `json:"line_items"` }
OrderInput struct for OrderInput
func NewOrderInput ¶
func NewOrderInput(orderDate string, orderId string, customerReference string, currencyCode string, warehouseId string, paymentMethod string, deliveryName string, deliveryStreetAddress string, deliverySuburb string, deliveryCity string, deliveryRegion string, deliveryPostCode string, deliveryCountry string, deliveryMethod string, orderStatus string, taxTotal float64, shippingTotal float64, discountTotal float64, totalPromo float64, totalVoucher float64, subtotal float64, total float64, phoneNumber string, shopId string, provider string, service string, isAwbAvailableFromChannel bool, lineItems []LineItemInput) *OrderInput
NewOrderInput instantiates a new OrderInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOrderInputWithDefaults ¶
func NewOrderInputWithDefaults() *OrderInput
NewOrderInputWithDefaults instantiates a new OrderInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OrderInput) GetAcceptedAt ¶
func (o *OrderInput) GetAcceptedAt() string
GetAcceptedAt returns the AcceptedAt field value if set, zero value otherwise.
func (*OrderInput) GetAcceptedAtOk ¶
func (o *OrderInput) GetAcceptedAtOk() (*string, bool)
GetAcceptedAtOk returns a tuple with the AcceptedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetAirwaybillNumber ¶
func (o *OrderInput) GetAirwaybillNumber() string
GetAirwaybillNumber returns the AirwaybillNumber field value if set, zero value otherwise.
func (*OrderInput) GetAirwaybillNumberOk ¶
func (o *OrderInput) GetAirwaybillNumberOk() (*string, bool)
GetAirwaybillNumberOk returns a tuple with the AirwaybillNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetAwbRetrievedAt ¶
func (o *OrderInput) GetAwbRetrievedAt() string
GetAwbRetrievedAt returns the AwbRetrievedAt field value if set, zero value otherwise.
func (*OrderInput) GetAwbRetrievedAtOk ¶
func (o *OrderInput) GetAwbRetrievedAtOk() (*string, bool)
GetAwbRetrievedAtOk returns a tuple with the AwbRetrievedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetCancelReason ¶
func (o *OrderInput) GetCancelReason() string
GetCancelReason returns the CancelReason field value if set, zero value otherwise.
func (*OrderInput) GetCancelReasonOk ¶
func (o *OrderInput) GetCancelReasonOk() (*string, bool)
GetCancelReasonOk returns a tuple with the CancelReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetCancelledAt ¶
func (o *OrderInput) GetCancelledAt() string
GetCancelledAt returns the CancelledAt field value if set, zero value otherwise.
func (*OrderInput) GetCancelledAtOk ¶
func (o *OrderInput) GetCancelledAtOk() (*string, bool)
GetCancelledAtOk returns a tuple with the CancelledAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetCompletedAt ¶
func (o *OrderInput) GetCompletedAt() string
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.
func (*OrderInput) GetCompletedAtOk ¶
func (o *OrderInput) GetCompletedAtOk() (*string, bool)
GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetCurrencyCode ¶
func (o *OrderInput) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field value
func (*OrderInput) GetCurrencyCodeOk ¶
func (o *OrderInput) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value and a boolean to check if the value has been set.
func (*OrderInput) GetCustomerReference ¶
func (o *OrderInput) GetCustomerReference() string
GetCustomerReference returns the CustomerReference field value
func (*OrderInput) GetCustomerReferenceOk ¶
func (o *OrderInput) GetCustomerReferenceOk() (*string, bool)
GetCustomerReferenceOk returns a tuple with the CustomerReference field value and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryCity ¶
func (o *OrderInput) GetDeliveryCity() string
GetDeliveryCity returns the DeliveryCity field value
func (*OrderInput) GetDeliveryCityOk ¶
func (o *OrderInput) GetDeliveryCityOk() (*string, bool)
GetDeliveryCityOk returns a tuple with the DeliveryCity field value and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryCountry ¶
func (o *OrderInput) GetDeliveryCountry() string
GetDeliveryCountry returns the DeliveryCountry field value
func (*OrderInput) GetDeliveryCountryOk ¶
func (o *OrderInput) GetDeliveryCountryOk() (*string, bool)
GetDeliveryCountryOk returns a tuple with the DeliveryCountry field value and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryLatitude ¶
func (o *OrderInput) GetDeliveryLatitude() string
GetDeliveryLatitude returns the DeliveryLatitude field value if set, zero value otherwise.
func (*OrderInput) GetDeliveryLatitudeOk ¶
func (o *OrderInput) GetDeliveryLatitudeOk() (*string, bool)
GetDeliveryLatitudeOk returns a tuple with the DeliveryLatitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryLongitude ¶
func (o *OrderInput) GetDeliveryLongitude() string
GetDeliveryLongitude returns the DeliveryLongitude field value if set, zero value otherwise.
func (*OrderInput) GetDeliveryLongitudeOk ¶
func (o *OrderInput) GetDeliveryLongitudeOk() (*string, bool)
GetDeliveryLongitudeOk returns a tuple with the DeliveryLongitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryMethod ¶
func (o *OrderInput) GetDeliveryMethod() string
GetDeliveryMethod returns the DeliveryMethod field value
func (*OrderInput) GetDeliveryMethodOk ¶
func (o *OrderInput) GetDeliveryMethodOk() (*string, bool)
GetDeliveryMethodOk returns a tuple with the DeliveryMethod field value and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryName ¶
func (o *OrderInput) GetDeliveryName() string
GetDeliveryName returns the DeliveryName field value
func (*OrderInput) GetDeliveryNameOk ¶
func (o *OrderInput) GetDeliveryNameOk() (*string, bool)
GetDeliveryNameOk returns a tuple with the DeliveryName field value and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryPostCode ¶
func (o *OrderInput) GetDeliveryPostCode() string
GetDeliveryPostCode returns the DeliveryPostCode field value
func (*OrderInput) GetDeliveryPostCodeOk ¶
func (o *OrderInput) GetDeliveryPostCodeOk() (*string, bool)
GetDeliveryPostCodeOk returns a tuple with the DeliveryPostCode field value and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryRegion ¶
func (o *OrderInput) GetDeliveryRegion() string
GetDeliveryRegion returns the DeliveryRegion field value
func (*OrderInput) GetDeliveryRegionOk ¶
func (o *OrderInput) GetDeliveryRegionOk() (*string, bool)
GetDeliveryRegionOk returns a tuple with the DeliveryRegion field value and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryStreetAddress ¶
func (o *OrderInput) GetDeliveryStreetAddress() string
GetDeliveryStreetAddress returns the DeliveryStreetAddress field value
func (*OrderInput) GetDeliveryStreetAddress2 ¶
func (o *OrderInput) GetDeliveryStreetAddress2() string
GetDeliveryStreetAddress2 returns the DeliveryStreetAddress2 field value if set, zero value otherwise.
func (*OrderInput) GetDeliveryStreetAddress2Ok ¶
func (o *OrderInput) GetDeliveryStreetAddress2Ok() (*string, bool)
GetDeliveryStreetAddress2Ok returns a tuple with the DeliveryStreetAddress2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetDeliveryStreetAddressOk ¶
func (o *OrderInput) GetDeliveryStreetAddressOk() (*string, bool)
GetDeliveryStreetAddressOk returns a tuple with the DeliveryStreetAddress field value and a boolean to check if the value has been set.
func (*OrderInput) GetDeliverySuburb ¶
func (o *OrderInput) GetDeliverySuburb() string
GetDeliverySuburb returns the DeliverySuburb field value
func (*OrderInput) GetDeliverySuburbOk ¶
func (o *OrderInput) GetDeliverySuburbOk() (*string, bool)
GetDeliverySuburbOk returns a tuple with the DeliverySuburb field value and a boolean to check if the value has been set.
func (*OrderInput) GetDiscountTotal ¶
func (o *OrderInput) GetDiscountTotal() float64
GetDiscountTotal returns the DiscountTotal field value
func (*OrderInput) GetDiscountTotalOk ¶
func (o *OrderInput) GetDiscountTotalOk() (*float64, bool)
GetDiscountTotalOk returns a tuple with the DiscountTotal field value and a boolean to check if the value has been set.
func (*OrderInput) GetDriverName ¶
func (o *OrderInput) GetDriverName() string
GetDriverName returns the DriverName field value if set, zero value otherwise.
func (*OrderInput) GetDriverNameOk ¶
func (o *OrderInput) GetDriverNameOk() (*string, bool)
GetDriverNameOk returns a tuple with the DriverName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetDriverPhoneNumber ¶
func (o *OrderInput) GetDriverPhoneNumber() string
GetDriverPhoneNumber returns the DriverPhoneNumber field value if set, zero value otherwise.
func (*OrderInput) GetDriverPhoneNumberOk ¶
func (o *OrderInput) GetDriverPhoneNumberOk() (*string, bool)
GetDriverPhoneNumberOk returns a tuple with the DriverPhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetDropshipperName ¶
func (o *OrderInput) GetDropshipperName() string
GetDropshipperName returns the DropshipperName field value if set, zero value otherwise.
func (*OrderInput) GetDropshipperNameOk ¶
func (o *OrderInput) GetDropshipperNameOk() (*string, bool)
GetDropshipperNameOk returns a tuple with the DropshipperName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetExchangeRate ¶
func (o *OrderInput) GetExchangeRate() float64
GetExchangeRate returns the ExchangeRate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderInput) GetExchangeRateOk ¶
func (o *OrderInput) GetExchangeRateOk() (*float64, bool)
GetExchangeRateOk returns a tuple with the ExchangeRate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OrderInput) GetIsAwbAvailableFromChannel ¶
func (o *OrderInput) GetIsAwbAvailableFromChannel() bool
GetIsAwbAvailableFromChannel returns the IsAwbAvailableFromChannel field value
func (*OrderInput) GetIsAwbAvailableFromChannelOk ¶
func (o *OrderInput) GetIsAwbAvailableFromChannelOk() (*bool, bool)
GetIsAwbAvailableFromChannelOk returns a tuple with the IsAwbAvailableFromChannel field value and a boolean to check if the value has been set.
func (*OrderInput) GetLineItems ¶
func (o *OrderInput) GetLineItems() []LineItemInput
GetLineItems returns the LineItems field value
func (*OrderInput) GetLineItemsOk ¶
func (o *OrderInput) GetLineItemsOk() ([]LineItemInput, bool)
GetLineItemsOk returns a tuple with the LineItems field value and a boolean to check if the value has been set.
func (*OrderInput) GetOrderDate ¶
func (o *OrderInput) GetOrderDate() string
GetOrderDate returns the OrderDate field value
func (*OrderInput) GetOrderDateOk ¶
func (o *OrderInput) GetOrderDateOk() (*string, bool)
GetOrderDateOk returns a tuple with the OrderDate field value and a boolean to check if the value has been set.
func (*OrderInput) GetOrderId ¶
func (o *OrderInput) GetOrderId() string
GetOrderId returns the OrderId field value
func (*OrderInput) GetOrderIdOk ¶
func (o *OrderInput) GetOrderIdOk() (*string, bool)
GetOrderIdOk returns a tuple with the OrderId field value and a boolean to check if the value has been set.
func (*OrderInput) GetOrderStatus ¶
func (o *OrderInput) GetOrderStatus() string
GetOrderStatus returns the OrderStatus field value
func (*OrderInput) GetOrderStatusOk ¶
func (o *OrderInput) GetOrderStatusOk() (*string, bool)
GetOrderStatusOk returns a tuple with the OrderStatus field value and a boolean to check if the value has been set.
func (*OrderInput) GetPackedAt ¶
func (o *OrderInput) GetPackedAt() string
GetPackedAt returns the PackedAt field value if set, zero value otherwise.
func (*OrderInput) GetPackedAtOk ¶
func (o *OrderInput) GetPackedAtOk() (*string, bool)
GetPackedAtOk returns a tuple with the PackedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetPaidAt ¶
func (o *OrderInput) GetPaidAt() string
GetPaidAt returns the PaidAt field value if set, zero value otherwise.
func (*OrderInput) GetPaidAtOk ¶
func (o *OrderInput) GetPaidAtOk() (*string, bool)
GetPaidAtOk returns a tuple with the PaidAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetPaymentMethod ¶
func (o *OrderInput) GetPaymentMethod() string
GetPaymentMethod returns the PaymentMethod field value
func (*OrderInput) GetPaymentMethodOk ¶
func (o *OrderInput) GetPaymentMethodOk() (*string, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field value and a boolean to check if the value has been set.
func (*OrderInput) GetPhoneNumber ¶
func (o *OrderInput) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field value
func (*OrderInput) GetPhoneNumberOk ¶
func (o *OrderInput) GetPhoneNumberOk() (*string, bool)
GetPhoneNumberOk returns a tuple with the PhoneNumber field value and a boolean to check if the value has been set.
func (*OrderInput) GetProvider ¶
func (o *OrderInput) GetProvider() string
GetProvider returns the Provider field value
func (*OrderInput) GetProviderOk ¶
func (o *OrderInput) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*OrderInput) GetReceivedAt ¶
func (o *OrderInput) GetReceivedAt() string
GetReceivedAt returns the ReceivedAt field value if set, zero value otherwise.
func (*OrderInput) GetReceivedAtOk ¶
func (o *OrderInput) GetReceivedAtOk() (*string, bool)
GetReceivedAtOk returns a tuple with the ReceivedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetReceivedBy ¶
func (o *OrderInput) GetReceivedBy() string
GetReceivedBy returns the ReceivedBy field value if set, zero value otherwise.
func (*OrderInput) GetReceivedByOk ¶
func (o *OrderInput) GetReceivedByOk() (*string, bool)
GetReceivedByOk returns a tuple with the ReceivedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetRemarks ¶
func (o *OrderInput) GetRemarks() string
GetRemarks returns the Remarks field value if set, zero value otherwise.
func (*OrderInput) GetRemarksOk ¶
func (o *OrderInput) GetRemarksOk() (*string, bool)
GetRemarksOk returns a tuple with the Remarks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetService ¶
func (o *OrderInput) GetService() string
GetService returns the Service field value
func (*OrderInput) GetServiceOk ¶
func (o *OrderInput) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.
func (*OrderInput) GetShipmentExtras ¶
func (o *OrderInput) GetShipmentExtras() string
GetShipmentExtras returns the ShipmentExtras field value if set, zero value otherwise.
func (*OrderInput) GetShipmentExtrasOk ¶
func (o *OrderInput) GetShipmentExtrasOk() (*string, bool)
GetShipmentExtrasOk returns a tuple with the ShipmentExtras field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetShippingTotal ¶
func (o *OrderInput) GetShippingTotal() float64
GetShippingTotal returns the ShippingTotal field value
func (*OrderInput) GetShippingTotalOk ¶
func (o *OrderInput) GetShippingTotalOk() (*float64, bool)
GetShippingTotalOk returns a tuple with the ShippingTotal field value and a boolean to check if the value has been set.
func (*OrderInput) GetShopId ¶
func (o *OrderInput) GetShopId() string
GetShopId returns the ShopId field value
func (*OrderInput) GetShopIdOk ¶
func (o *OrderInput) GetShopIdOk() (*string, bool)
GetShopIdOk returns a tuple with the ShopId field value and a boolean to check if the value has been set.
func (*OrderInput) GetSubtotal ¶
func (o *OrderInput) GetSubtotal() float64
GetSubtotal returns the Subtotal field value
func (*OrderInput) GetSubtotalOk ¶
func (o *OrderInput) GetSubtotalOk() (*float64, bool)
GetSubtotalOk returns a tuple with the Subtotal field value and a boolean to check if the value has been set.
func (*OrderInput) GetTaxCode ¶
func (o *OrderInput) GetTaxCode() string
GetTaxCode returns the TaxCode field value if set, zero value otherwise.
func (*OrderInput) GetTaxCodeOk ¶
func (o *OrderInput) GetTaxCodeOk() (*string, bool)
GetTaxCodeOk returns a tuple with the TaxCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderInput) GetTaxRate ¶
func (o *OrderInput) GetTaxRate() float64
GetTaxRate returns the TaxRate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderInput) GetTaxRateOk ¶
func (o *OrderInput) GetTaxRateOk() (*float64, bool)
GetTaxRateOk returns a tuple with the TaxRate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OrderInput) GetTaxTotal ¶
func (o *OrderInput) GetTaxTotal() float64
GetTaxTotal returns the TaxTotal field value
func (*OrderInput) GetTaxTotalOk ¶
func (o *OrderInput) GetTaxTotalOk() (*float64, bool)
GetTaxTotalOk returns a tuple with the TaxTotal field value and a boolean to check if the value has been set.
func (*OrderInput) GetTotal ¶
func (o *OrderInput) GetTotal() float64
GetTotal returns the Total field value
func (*OrderInput) GetTotalOk ¶
func (o *OrderInput) GetTotalOk() (*float64, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (*OrderInput) GetTotalPromo ¶
func (o *OrderInput) GetTotalPromo() float64
GetTotalPromo returns the TotalPromo field value
func (*OrderInput) GetTotalPromoOk ¶
func (o *OrderInput) GetTotalPromoOk() (*float64, bool)
GetTotalPromoOk returns a tuple with the TotalPromo field value and a boolean to check if the value has been set.
func (*OrderInput) GetTotalVoucher ¶
func (o *OrderInput) GetTotalVoucher() float64
GetTotalVoucher returns the TotalVoucher field value
func (*OrderInput) GetTotalVoucherOk ¶
func (o *OrderInput) GetTotalVoucherOk() (*float64, bool)
GetTotalVoucherOk returns a tuple with the TotalVoucher field value and a boolean to check if the value has been set.
func (*OrderInput) GetWarehouseId ¶
func (o *OrderInput) GetWarehouseId() string
GetWarehouseId returns the WarehouseId field value
func (*OrderInput) GetWarehouseIdOk ¶
func (o *OrderInput) GetWarehouseIdOk() (*string, bool)
GetWarehouseIdOk returns a tuple with the WarehouseId field value and a boolean to check if the value has been set.
func (*OrderInput) HasAcceptedAt ¶
func (o *OrderInput) HasAcceptedAt() bool
HasAcceptedAt returns a boolean if a field has been set.
func (*OrderInput) HasAirwaybillNumber ¶
func (o *OrderInput) HasAirwaybillNumber() bool
HasAirwaybillNumber returns a boolean if a field has been set.
func (*OrderInput) HasAwbRetrievedAt ¶
func (o *OrderInput) HasAwbRetrievedAt() bool
HasAwbRetrievedAt returns a boolean if a field has been set.
func (*OrderInput) HasCancelReason ¶
func (o *OrderInput) HasCancelReason() bool
HasCancelReason returns a boolean if a field has been set.
func (*OrderInput) HasCancelledAt ¶
func (o *OrderInput) HasCancelledAt() bool
HasCancelledAt returns a boolean if a field has been set.
func (*OrderInput) HasCompletedAt ¶
func (o *OrderInput) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*OrderInput) HasDeliveryLatitude ¶
func (o *OrderInput) HasDeliveryLatitude() bool
HasDeliveryLatitude returns a boolean if a field has been set.
func (*OrderInput) HasDeliveryLongitude ¶
func (o *OrderInput) HasDeliveryLongitude() bool
HasDeliveryLongitude returns a boolean if a field has been set.
func (*OrderInput) HasDeliveryStreetAddress2 ¶
func (o *OrderInput) HasDeliveryStreetAddress2() bool
HasDeliveryStreetAddress2 returns a boolean if a field has been set.
func (*OrderInput) HasDriverName ¶
func (o *OrderInput) HasDriverName() bool
HasDriverName returns a boolean if a field has been set.
func (*OrderInput) HasDriverPhoneNumber ¶
func (o *OrderInput) HasDriverPhoneNumber() bool
HasDriverPhoneNumber returns a boolean if a field has been set.
func (*OrderInput) HasDropshipperName ¶
func (o *OrderInput) HasDropshipperName() bool
HasDropshipperName returns a boolean if a field has been set.
func (*OrderInput) HasExchangeRate ¶
func (o *OrderInput) HasExchangeRate() bool
HasExchangeRate returns a boolean if a field has been set.
func (*OrderInput) HasPackedAt ¶
func (o *OrderInput) HasPackedAt() bool
HasPackedAt returns a boolean if a field has been set.
func (*OrderInput) HasPaidAt ¶
func (o *OrderInput) HasPaidAt() bool
HasPaidAt returns a boolean if a field has been set.
func (*OrderInput) HasReceivedAt ¶
func (o *OrderInput) HasReceivedAt() bool
HasReceivedAt returns a boolean if a field has been set.
func (*OrderInput) HasReceivedBy ¶
func (o *OrderInput) HasReceivedBy() bool
HasReceivedBy returns a boolean if a field has been set.
func (*OrderInput) HasRemarks ¶
func (o *OrderInput) HasRemarks() bool
HasRemarks returns a boolean if a field has been set.
func (*OrderInput) HasShipmentExtras ¶
func (o *OrderInput) HasShipmentExtras() bool
HasShipmentExtras returns a boolean if a field has been set.
func (*OrderInput) HasTaxCode ¶
func (o *OrderInput) HasTaxCode() bool
HasTaxCode returns a boolean if a field has been set.
func (*OrderInput) HasTaxRate ¶
func (o *OrderInput) HasTaxRate() bool
HasTaxRate returns a boolean if a field has been set.
func (OrderInput) MarshalJSON ¶
func (o OrderInput) MarshalJSON() ([]byte, error)
func (*OrderInput) SetAcceptedAt ¶
func (o *OrderInput) SetAcceptedAt(v string)
SetAcceptedAt gets a reference to the given string and assigns it to the AcceptedAt field.
func (*OrderInput) SetAirwaybillNumber ¶
func (o *OrderInput) SetAirwaybillNumber(v string)
SetAirwaybillNumber gets a reference to the given string and assigns it to the AirwaybillNumber field.
func (*OrderInput) SetAwbRetrievedAt ¶
func (o *OrderInput) SetAwbRetrievedAt(v string)
SetAwbRetrievedAt gets a reference to the given string and assigns it to the AwbRetrievedAt field.
func (*OrderInput) SetCancelReason ¶
func (o *OrderInput) SetCancelReason(v string)
SetCancelReason gets a reference to the given string and assigns it to the CancelReason field.
func (*OrderInput) SetCancelledAt ¶
func (o *OrderInput) SetCancelledAt(v string)
SetCancelledAt gets a reference to the given string and assigns it to the CancelledAt field.
func (*OrderInput) SetCompletedAt ¶
func (o *OrderInput) SetCompletedAt(v string)
SetCompletedAt gets a reference to the given string and assigns it to the CompletedAt field.
func (*OrderInput) SetCurrencyCode ¶
func (o *OrderInput) SetCurrencyCode(v string)
SetCurrencyCode sets field value
func (*OrderInput) SetCustomerReference ¶
func (o *OrderInput) SetCustomerReference(v string)
SetCustomerReference sets field value
func (*OrderInput) SetDeliveryCity ¶
func (o *OrderInput) SetDeliveryCity(v string)
SetDeliveryCity sets field value
func (*OrderInput) SetDeliveryCountry ¶
func (o *OrderInput) SetDeliveryCountry(v string)
SetDeliveryCountry sets field value
func (*OrderInput) SetDeliveryLatitude ¶
func (o *OrderInput) SetDeliveryLatitude(v string)
SetDeliveryLatitude gets a reference to the given string and assigns it to the DeliveryLatitude field.
func (*OrderInput) SetDeliveryLongitude ¶
func (o *OrderInput) SetDeliveryLongitude(v string)
SetDeliveryLongitude gets a reference to the given string and assigns it to the DeliveryLongitude field.
func (*OrderInput) SetDeliveryMethod ¶
func (o *OrderInput) SetDeliveryMethod(v string)
SetDeliveryMethod sets field value
func (*OrderInput) SetDeliveryName ¶
func (o *OrderInput) SetDeliveryName(v string)
SetDeliveryName sets field value
func (*OrderInput) SetDeliveryPostCode ¶
func (o *OrderInput) SetDeliveryPostCode(v string)
SetDeliveryPostCode sets field value
func (*OrderInput) SetDeliveryRegion ¶
func (o *OrderInput) SetDeliveryRegion(v string)
SetDeliveryRegion sets field value
func (*OrderInput) SetDeliveryStreetAddress ¶
func (o *OrderInput) SetDeliveryStreetAddress(v string)
SetDeliveryStreetAddress sets field value
func (*OrderInput) SetDeliveryStreetAddress2 ¶
func (o *OrderInput) SetDeliveryStreetAddress2(v string)
SetDeliveryStreetAddress2 gets a reference to the given string and assigns it to the DeliveryStreetAddress2 field.
func (*OrderInput) SetDeliverySuburb ¶
func (o *OrderInput) SetDeliverySuburb(v string)
SetDeliverySuburb sets field value
func (*OrderInput) SetDiscountTotal ¶
func (o *OrderInput) SetDiscountTotal(v float64)
SetDiscountTotal sets field value
func (*OrderInput) SetDriverName ¶
func (o *OrderInput) SetDriverName(v string)
SetDriverName gets a reference to the given string and assigns it to the DriverName field.
func (*OrderInput) SetDriverPhoneNumber ¶
func (o *OrderInput) SetDriverPhoneNumber(v string)
SetDriverPhoneNumber gets a reference to the given string and assigns it to the DriverPhoneNumber field.
func (*OrderInput) SetDropshipperName ¶
func (o *OrderInput) SetDropshipperName(v string)
SetDropshipperName gets a reference to the given string and assigns it to the DropshipperName field.
func (*OrderInput) SetExchangeRate ¶
func (o *OrderInput) SetExchangeRate(v float64)
SetExchangeRate gets a reference to the given NullableFloat64 and assigns it to the ExchangeRate field.
func (*OrderInput) SetExchangeRateNil ¶
func (o *OrderInput) SetExchangeRateNil()
SetExchangeRateNil sets the value for ExchangeRate to be an explicit nil
func (*OrderInput) SetIsAwbAvailableFromChannel ¶
func (o *OrderInput) SetIsAwbAvailableFromChannel(v bool)
SetIsAwbAvailableFromChannel sets field value
func (*OrderInput) SetLineItems ¶
func (o *OrderInput) SetLineItems(v []LineItemInput)
SetLineItems sets field value
func (*OrderInput) SetOrderDate ¶
func (o *OrderInput) SetOrderDate(v string)
SetOrderDate sets field value
func (*OrderInput) SetOrderId ¶
func (o *OrderInput) SetOrderId(v string)
SetOrderId sets field value
func (*OrderInput) SetOrderStatus ¶
func (o *OrderInput) SetOrderStatus(v string)
SetOrderStatus sets field value
func (*OrderInput) SetPackedAt ¶
func (o *OrderInput) SetPackedAt(v string)
SetPackedAt gets a reference to the given string and assigns it to the PackedAt field.
func (*OrderInput) SetPaidAt ¶
func (o *OrderInput) SetPaidAt(v string)
SetPaidAt gets a reference to the given string and assigns it to the PaidAt field.
func (*OrderInput) SetPaymentMethod ¶
func (o *OrderInput) SetPaymentMethod(v string)
SetPaymentMethod sets field value
func (*OrderInput) SetPhoneNumber ¶
func (o *OrderInput) SetPhoneNumber(v string)
SetPhoneNumber sets field value
func (*OrderInput) SetProvider ¶
func (o *OrderInput) SetProvider(v string)
SetProvider sets field value
func (*OrderInput) SetReceivedAt ¶
func (o *OrderInput) SetReceivedAt(v string)
SetReceivedAt gets a reference to the given string and assigns it to the ReceivedAt field.
func (*OrderInput) SetReceivedBy ¶
func (o *OrderInput) SetReceivedBy(v string)
SetReceivedBy gets a reference to the given string and assigns it to the ReceivedBy field.
func (*OrderInput) SetRemarks ¶
func (o *OrderInput) SetRemarks(v string)
SetRemarks gets a reference to the given string and assigns it to the Remarks field.
func (*OrderInput) SetService ¶
func (o *OrderInput) SetService(v string)
SetService sets field value
func (*OrderInput) SetShipmentExtras ¶
func (o *OrderInput) SetShipmentExtras(v string)
SetShipmentExtras gets a reference to the given string and assigns it to the ShipmentExtras field.
func (*OrderInput) SetShippingTotal ¶
func (o *OrderInput) SetShippingTotal(v float64)
SetShippingTotal sets field value
func (*OrderInput) SetSubtotal ¶
func (o *OrderInput) SetSubtotal(v float64)
SetSubtotal sets field value
func (*OrderInput) SetTaxCode ¶
func (o *OrderInput) SetTaxCode(v string)
SetTaxCode gets a reference to the given string and assigns it to the TaxCode field.
func (*OrderInput) SetTaxRate ¶
func (o *OrderInput) SetTaxRate(v float64)
SetTaxRate gets a reference to the given NullableFloat64 and assigns it to the TaxRate field.
func (*OrderInput) SetTaxRateNil ¶
func (o *OrderInput) SetTaxRateNil()
SetTaxRateNil sets the value for TaxRate to be an explicit nil
func (*OrderInput) SetTaxTotal ¶
func (o *OrderInput) SetTaxTotal(v float64)
SetTaxTotal sets field value
func (*OrderInput) SetTotalPromo ¶
func (o *OrderInput) SetTotalPromo(v float64)
SetTotalPromo sets field value
func (*OrderInput) SetTotalVoucher ¶
func (o *OrderInput) SetTotalVoucher(v float64)
SetTotalVoucher sets field value
func (*OrderInput) SetWarehouseId ¶
func (o *OrderInput) SetWarehouseId(v string)
SetWarehouseId sets field value
func (OrderInput) ToMap ¶
func (o OrderInput) ToMap() (map[string]interface{}, error)
func (*OrderInput) UnsetExchangeRate ¶
func (o *OrderInput) UnsetExchangeRate()
UnsetExchangeRate ensures that no value is present for ExchangeRate, not even an explicit nil
func (*OrderInput) UnsetTaxRate ¶
func (o *OrderInput) UnsetTaxRate()
UnsetTaxRate ensures that no value is present for TaxRate, not even an explicit nil
type Product ¶
type Product struct { ProductCode string `json:"product_code"` Success bool `json:"success"` Message string `json:"message"` }
Product struct for Product
func NewProduct ¶
NewProduct instantiates a new Product object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProductWithDefaults ¶
func NewProductWithDefaults() *Product
NewProductWithDefaults instantiates a new Product object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Product) GetMessage ¶
GetMessage returns the Message field value
func (*Product) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Product) GetProductCode ¶
GetProductCode returns the ProductCode field value
func (*Product) GetProductCodeOk ¶
GetProductCodeOk returns a tuple with the ProductCode field value and a boolean to check if the value has been set.
func (*Product) GetSuccess ¶
GetSuccess returns the Success field value
func (*Product) GetSuccessOk ¶
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (Product) MarshalJSON ¶
func (*Product) SetProductCode ¶
SetProductCode sets field value
type ProductAPI ¶
type ProductAPI interface { /* UpsertProductCategories Method for UpsertProductCategories Upsert product categories @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelCode Channel code @return ApiUpsertProductCategoriesRequest */ UpsertProductCategories(ctx context.Context, channelCode string) ApiUpsertProductCategoriesRequest // UpsertProductCategoriesExecute executes the request // @return UpsertProductCategoriesResponse UpsertProductCategoriesExecute(r ApiUpsertProductCategoriesRequest) (*UpsertProductCategoriesResponse, *http.Response, error) /* UpsertProducts Method for UpsertProducts Upsert products @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelCode Channel code @return ApiUpsertProductsRequest */ UpsertProducts(ctx context.Context, channelCode string) ApiUpsertProductsRequest // UpsertProductsExecute executes the request // @return []Product UpsertProductsExecute(r ApiUpsertProductsRequest) ([]Product, *http.Response, error) }
type ProductAPIService ¶
type ProductAPIService service
ProductAPIService ProductAPI service
func (*ProductAPIService) UpsertProductCategories ¶
func (a *ProductAPIService) UpsertProductCategories(ctx context.Context, channelCode string) ApiUpsertProductCategoriesRequest
UpsertProductCategories Method for UpsertProductCategories
Upsert product categories
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelCode Channel code @return ApiUpsertProductCategoriesRequest
func (*ProductAPIService) UpsertProductCategoriesExecute ¶
func (a *ProductAPIService) UpsertProductCategoriesExecute(r ApiUpsertProductCategoriesRequest) (*UpsertProductCategoriesResponse, *http.Response, error)
Execute executes the request
@return UpsertProductCategoriesResponse
func (*ProductAPIService) UpsertProducts ¶
func (a *ProductAPIService) UpsertProducts(ctx context.Context, channelCode string) ApiUpsertProductsRequest
UpsertProducts Method for UpsertProducts
Upsert products
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelCode Channel code @return ApiUpsertProductsRequest
func (*ProductAPIService) UpsertProductsExecute ¶
func (a *ProductAPIService) UpsertProductsExecute(r ApiUpsertProductsRequest) ([]Product, *http.Response, error)
Execute executes the request
@return []Product
type ProductCategory ¶
type ProductCategory struct { CategoryId *string `json:"category_id,omitempty"` Attribute []ProductCategoryAttribute `json:"attribute,omitempty"` Message *string `json:"message,omitempty"` }
ProductCategory struct for ProductCategory
func NewProductCategory ¶
func NewProductCategory() *ProductCategory
NewProductCategory instantiates a new ProductCategory object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProductCategoryWithDefaults ¶
func NewProductCategoryWithDefaults() *ProductCategory
NewProductCategoryWithDefaults instantiates a new ProductCategory object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProductCategory) GetAttribute ¶
func (o *ProductCategory) GetAttribute() []ProductCategoryAttribute
GetAttribute returns the Attribute field value if set, zero value otherwise.
func (*ProductCategory) GetAttributeOk ¶
func (o *ProductCategory) GetAttributeOk() ([]ProductCategoryAttribute, bool)
GetAttributeOk returns a tuple with the Attribute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductCategory) GetCategoryId ¶
func (o *ProductCategory) GetCategoryId() string
GetCategoryId returns the CategoryId field value if set, zero value otherwise.
func (*ProductCategory) GetCategoryIdOk ¶
func (o *ProductCategory) GetCategoryIdOk() (*string, bool)
GetCategoryIdOk returns a tuple with the CategoryId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductCategory) GetMessage ¶
func (o *ProductCategory) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ProductCategory) GetMessageOk ¶
func (o *ProductCategory) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductCategory) HasAttribute ¶
func (o *ProductCategory) HasAttribute() bool
HasAttribute returns a boolean if a field has been set.
func (*ProductCategory) HasCategoryId ¶
func (o *ProductCategory) HasCategoryId() bool
HasCategoryId returns a boolean if a field has been set.
func (*ProductCategory) HasMessage ¶
func (o *ProductCategory) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ProductCategory) MarshalJSON ¶
func (o ProductCategory) MarshalJSON() ([]byte, error)
func (*ProductCategory) SetAttribute ¶
func (o *ProductCategory) SetAttribute(v []ProductCategoryAttribute)
SetAttribute gets a reference to the given []ProductCategoryAttribute and assigns it to the Attribute field.
func (*ProductCategory) SetCategoryId ¶
func (o *ProductCategory) SetCategoryId(v string)
SetCategoryId gets a reference to the given string and assigns it to the CategoryId field.
func (*ProductCategory) SetMessage ¶
func (o *ProductCategory) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ProductCategory) ToMap ¶
func (o ProductCategory) ToMap() (map[string]interface{}, error)
type ProductCategoryAttribute ¶
type ProductCategoryAttribute struct { AttributeId *string `json:"attribute_id,omitempty"` Message *string `json:"message,omitempty"` }
ProductCategoryAttribute struct for ProductCategoryAttribute
func NewProductCategoryAttribute ¶
func NewProductCategoryAttribute() *ProductCategoryAttribute
NewProductCategoryAttribute instantiates a new ProductCategoryAttribute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProductCategoryAttributeWithDefaults ¶
func NewProductCategoryAttributeWithDefaults() *ProductCategoryAttribute
NewProductCategoryAttributeWithDefaults instantiates a new ProductCategoryAttribute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProductCategoryAttribute) GetAttributeId ¶
func (o *ProductCategoryAttribute) GetAttributeId() string
GetAttributeId returns the AttributeId field value if set, zero value otherwise.
func (*ProductCategoryAttribute) GetAttributeIdOk ¶
func (o *ProductCategoryAttribute) GetAttributeIdOk() (*string, bool)
GetAttributeIdOk returns a tuple with the AttributeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductCategoryAttribute) GetMessage ¶
func (o *ProductCategoryAttribute) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ProductCategoryAttribute) GetMessageOk ¶
func (o *ProductCategoryAttribute) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductCategoryAttribute) HasAttributeId ¶
func (o *ProductCategoryAttribute) HasAttributeId() bool
HasAttributeId returns a boolean if a field has been set.
func (*ProductCategoryAttribute) HasMessage ¶
func (o *ProductCategoryAttribute) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ProductCategoryAttribute) MarshalJSON ¶
func (o ProductCategoryAttribute) MarshalJSON() ([]byte, error)
func (*ProductCategoryAttribute) SetAttributeId ¶
func (o *ProductCategoryAttribute) SetAttributeId(v string)
SetAttributeId gets a reference to the given string and assigns it to the AttributeId field.
func (*ProductCategoryAttribute) SetMessage ¶
func (o *ProductCategoryAttribute) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ProductCategoryAttribute) ToMap ¶
func (o ProductCategoryAttribute) ToMap() (map[string]interface{}, error)
type ProductCategoryAttributeInput ¶
type ProductCategoryAttributeInput struct { AttributeId string `json:"attribute_id"` FieldName string `json:"field_name"` InputType string `json:"input_type"` Options []string `json:"options,omitempty"` IsMandatory bool `json:"is_mandatory"` IsVariantAttribute bool `json:"is_variant_attribute"` }
ProductCategoryAttributeInput struct for ProductCategoryAttributeInput
func NewProductCategoryAttributeInput ¶
func NewProductCategoryAttributeInput(attributeId string, fieldName string, inputType string, isMandatory bool, isVariantAttribute bool) *ProductCategoryAttributeInput
NewProductCategoryAttributeInput instantiates a new ProductCategoryAttributeInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProductCategoryAttributeInputWithDefaults ¶
func NewProductCategoryAttributeInputWithDefaults() *ProductCategoryAttributeInput
NewProductCategoryAttributeInputWithDefaults instantiates a new ProductCategoryAttributeInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProductCategoryAttributeInput) GetAttributeId ¶
func (o *ProductCategoryAttributeInput) GetAttributeId() string
GetAttributeId returns the AttributeId field value
func (*ProductCategoryAttributeInput) GetAttributeIdOk ¶
func (o *ProductCategoryAttributeInput) GetAttributeIdOk() (*string, bool)
GetAttributeIdOk returns a tuple with the AttributeId field value and a boolean to check if the value has been set.
func (*ProductCategoryAttributeInput) GetFieldName ¶
func (o *ProductCategoryAttributeInput) GetFieldName() string
GetFieldName returns the FieldName field value
func (*ProductCategoryAttributeInput) GetFieldNameOk ¶
func (o *ProductCategoryAttributeInput) GetFieldNameOk() (*string, bool)
GetFieldNameOk returns a tuple with the FieldName field value and a boolean to check if the value has been set.
func (*ProductCategoryAttributeInput) GetInputType ¶
func (o *ProductCategoryAttributeInput) GetInputType() string
GetInputType returns the InputType field value
func (*ProductCategoryAttributeInput) GetInputTypeOk ¶
func (o *ProductCategoryAttributeInput) GetInputTypeOk() (*string, bool)
GetInputTypeOk returns a tuple with the InputType field value and a boolean to check if the value has been set.
func (*ProductCategoryAttributeInput) GetIsMandatory ¶
func (o *ProductCategoryAttributeInput) GetIsMandatory() bool
GetIsMandatory returns the IsMandatory field value
func (*ProductCategoryAttributeInput) GetIsMandatoryOk ¶
func (o *ProductCategoryAttributeInput) GetIsMandatoryOk() (*bool, bool)
GetIsMandatoryOk returns a tuple with the IsMandatory field value and a boolean to check if the value has been set.
func (*ProductCategoryAttributeInput) GetIsVariantAttribute ¶
func (o *ProductCategoryAttributeInput) GetIsVariantAttribute() bool
GetIsVariantAttribute returns the IsVariantAttribute field value
func (*ProductCategoryAttributeInput) GetIsVariantAttributeOk ¶
func (o *ProductCategoryAttributeInput) GetIsVariantAttributeOk() (*bool, bool)
GetIsVariantAttributeOk returns a tuple with the IsVariantAttribute field value and a boolean to check if the value has been set.
func (*ProductCategoryAttributeInput) GetOptions ¶
func (o *ProductCategoryAttributeInput) GetOptions() []string
GetOptions returns the Options field value if set, zero value otherwise.
func (*ProductCategoryAttributeInput) GetOptionsOk ¶
func (o *ProductCategoryAttributeInput) GetOptionsOk() ([]string, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductCategoryAttributeInput) HasOptions ¶
func (o *ProductCategoryAttributeInput) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (ProductCategoryAttributeInput) MarshalJSON ¶
func (o ProductCategoryAttributeInput) MarshalJSON() ([]byte, error)
func (*ProductCategoryAttributeInput) SetAttributeId ¶
func (o *ProductCategoryAttributeInput) SetAttributeId(v string)
SetAttributeId sets field value
func (*ProductCategoryAttributeInput) SetFieldName ¶
func (o *ProductCategoryAttributeInput) SetFieldName(v string)
SetFieldName sets field value
func (*ProductCategoryAttributeInput) SetInputType ¶
func (o *ProductCategoryAttributeInput) SetInputType(v string)
SetInputType sets field value
func (*ProductCategoryAttributeInput) SetIsMandatory ¶
func (o *ProductCategoryAttributeInput) SetIsMandatory(v bool)
SetIsMandatory sets field value
func (*ProductCategoryAttributeInput) SetIsVariantAttribute ¶
func (o *ProductCategoryAttributeInput) SetIsVariantAttribute(v bool)
SetIsVariantAttribute sets field value
func (*ProductCategoryAttributeInput) SetOptions ¶
func (o *ProductCategoryAttributeInput) SetOptions(v []string)
SetOptions gets a reference to the given []string and assigns it to the Options field.
func (ProductCategoryAttributeInput) ToMap ¶
func (o ProductCategoryAttributeInput) ToMap() (map[string]interface{}, error)
type ProductCategoryInput ¶
type ProductCategoryInput struct { ParentCategoryId *string `json:"parent_category_id,omitempty"` CategoryId string `json:"category_id"` CategoryName string `json:"category_name"` IsLeaf bool `json:"is_leaf"` Attribute []ProductCategoryAttributeInput `json:"attribute"` }
ProductCategoryInput struct for ProductCategoryInput
func NewProductCategoryInput ¶
func NewProductCategoryInput(categoryId string, categoryName string, isLeaf bool, attribute []ProductCategoryAttributeInput) *ProductCategoryInput
NewProductCategoryInput instantiates a new ProductCategoryInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProductCategoryInputWithDefaults ¶
func NewProductCategoryInputWithDefaults() *ProductCategoryInput
NewProductCategoryInputWithDefaults instantiates a new ProductCategoryInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProductCategoryInput) GetAttribute ¶
func (o *ProductCategoryInput) GetAttribute() []ProductCategoryAttributeInput
GetAttribute returns the Attribute field value
func (*ProductCategoryInput) GetAttributeOk ¶
func (o *ProductCategoryInput) GetAttributeOk() ([]ProductCategoryAttributeInput, bool)
GetAttributeOk returns a tuple with the Attribute field value and a boolean to check if the value has been set.
func (*ProductCategoryInput) GetCategoryId ¶
func (o *ProductCategoryInput) GetCategoryId() string
GetCategoryId returns the CategoryId field value
func (*ProductCategoryInput) GetCategoryIdOk ¶
func (o *ProductCategoryInput) GetCategoryIdOk() (*string, bool)
GetCategoryIdOk returns a tuple with the CategoryId field value and a boolean to check if the value has been set.
func (*ProductCategoryInput) GetCategoryName ¶
func (o *ProductCategoryInput) GetCategoryName() string
GetCategoryName returns the CategoryName field value
func (*ProductCategoryInput) GetCategoryNameOk ¶
func (o *ProductCategoryInput) GetCategoryNameOk() (*string, bool)
GetCategoryNameOk returns a tuple with the CategoryName field value and a boolean to check if the value has been set.
func (*ProductCategoryInput) GetIsLeaf ¶
func (o *ProductCategoryInput) GetIsLeaf() bool
GetIsLeaf returns the IsLeaf field value
func (*ProductCategoryInput) GetIsLeafOk ¶
func (o *ProductCategoryInput) GetIsLeafOk() (*bool, bool)
GetIsLeafOk returns a tuple with the IsLeaf field value and a boolean to check if the value has been set.
func (*ProductCategoryInput) GetParentCategoryId ¶
func (o *ProductCategoryInput) GetParentCategoryId() string
GetParentCategoryId returns the ParentCategoryId field value if set, zero value otherwise.
func (*ProductCategoryInput) GetParentCategoryIdOk ¶
func (o *ProductCategoryInput) GetParentCategoryIdOk() (*string, bool)
GetParentCategoryIdOk returns a tuple with the ParentCategoryId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductCategoryInput) HasParentCategoryId ¶
func (o *ProductCategoryInput) HasParentCategoryId() bool
HasParentCategoryId returns a boolean if a field has been set.
func (ProductCategoryInput) MarshalJSON ¶
func (o ProductCategoryInput) MarshalJSON() ([]byte, error)
func (*ProductCategoryInput) SetAttribute ¶
func (o *ProductCategoryInput) SetAttribute(v []ProductCategoryAttributeInput)
SetAttribute sets field value
func (*ProductCategoryInput) SetCategoryId ¶
func (o *ProductCategoryInput) SetCategoryId(v string)
SetCategoryId sets field value
func (*ProductCategoryInput) SetCategoryName ¶
func (o *ProductCategoryInput) SetCategoryName(v string)
SetCategoryName sets field value
func (*ProductCategoryInput) SetIsLeaf ¶
func (o *ProductCategoryInput) SetIsLeaf(v bool)
SetIsLeaf sets field value
func (*ProductCategoryInput) SetParentCategoryId ¶
func (o *ProductCategoryInput) SetParentCategoryId(v string)
SetParentCategoryId gets a reference to the given string and assigns it to the ParentCategoryId field.
func (ProductCategoryInput) ToMap ¶
func (o ProductCategoryInput) ToMap() (map[string]interface{}, error)
type ProductInput ¶
type ProductInput struct { Type string `json:"type"` Name string `json:"name"` Brand string `json:"brand"` ProductId string `json:"product_id"` ProductCode string `json:"product_code"` ProductDescription string `json:"product_description"` Condition string `json:"condition"` ShopId string `json:"shop_id"` CategoryId string `json:"category_id"` CategoryName string `json:"category_name"` Variants []VariantInput `json:"variants"` }
ProductInput struct for ProductInput
func NewProductInput ¶
func NewProductInput(type_ string, name string, brand string, productId string, productCode string, productDescription string, condition string, shopId string, categoryId string, categoryName string, variants []VariantInput) *ProductInput
NewProductInput instantiates a new ProductInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProductInputWithDefaults ¶
func NewProductInputWithDefaults() *ProductInput
NewProductInputWithDefaults instantiates a new ProductInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProductInput) GetBrand ¶
func (o *ProductInput) GetBrand() string
GetBrand returns the Brand field value
func (*ProductInput) GetBrandOk ¶
func (o *ProductInput) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field value and a boolean to check if the value has been set.
func (*ProductInput) GetCategoryId ¶
func (o *ProductInput) GetCategoryId() string
GetCategoryId returns the CategoryId field value
func (*ProductInput) GetCategoryIdOk ¶
func (o *ProductInput) GetCategoryIdOk() (*string, bool)
GetCategoryIdOk returns a tuple with the CategoryId field value and a boolean to check if the value has been set.
func (*ProductInput) GetCategoryName ¶
func (o *ProductInput) GetCategoryName() string
GetCategoryName returns the CategoryName field value
func (*ProductInput) GetCategoryNameOk ¶
func (o *ProductInput) GetCategoryNameOk() (*string, bool)
GetCategoryNameOk returns a tuple with the CategoryName field value and a boolean to check if the value has been set.
func (*ProductInput) GetCondition ¶
func (o *ProductInput) GetCondition() string
GetCondition returns the Condition field value
func (*ProductInput) GetConditionOk ¶
func (o *ProductInput) GetConditionOk() (*string, bool)
GetConditionOk returns a tuple with the Condition field value and a boolean to check if the value has been set.
func (*ProductInput) GetName ¶
func (o *ProductInput) GetName() string
GetName returns the Name field value
func (*ProductInput) GetNameOk ¶
func (o *ProductInput) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ProductInput) GetProductCode ¶
func (o *ProductInput) GetProductCode() string
GetProductCode returns the ProductCode field value
func (*ProductInput) GetProductCodeOk ¶
func (o *ProductInput) GetProductCodeOk() (*string, bool)
GetProductCodeOk returns a tuple with the ProductCode field value and a boolean to check if the value has been set.
func (*ProductInput) GetProductDescription ¶
func (o *ProductInput) GetProductDescription() string
GetProductDescription returns the ProductDescription field value
func (*ProductInput) GetProductDescriptionOk ¶
func (o *ProductInput) GetProductDescriptionOk() (*string, bool)
GetProductDescriptionOk returns a tuple with the ProductDescription field value and a boolean to check if the value has been set.
func (*ProductInput) GetProductId ¶
func (o *ProductInput) GetProductId() string
GetProductId returns the ProductId field value
func (*ProductInput) GetProductIdOk ¶
func (o *ProductInput) GetProductIdOk() (*string, bool)
GetProductIdOk returns a tuple with the ProductId field value and a boolean to check if the value has been set.
func (*ProductInput) GetShopId ¶
func (o *ProductInput) GetShopId() string
GetShopId returns the ShopId field value
func (*ProductInput) GetShopIdOk ¶
func (o *ProductInput) GetShopIdOk() (*string, bool)
GetShopIdOk returns a tuple with the ShopId field value and a boolean to check if the value has been set.
func (*ProductInput) GetType ¶
func (o *ProductInput) GetType() string
GetType returns the Type field value
func (*ProductInput) GetTypeOk ¶
func (o *ProductInput) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ProductInput) GetVariants ¶
func (o *ProductInput) GetVariants() []VariantInput
GetVariants returns the Variants field value
func (*ProductInput) GetVariantsOk ¶
func (o *ProductInput) GetVariantsOk() ([]VariantInput, bool)
GetVariantsOk returns a tuple with the Variants field value and a boolean to check if the value has been set.
func (ProductInput) MarshalJSON ¶
func (o ProductInput) MarshalJSON() ([]byte, error)
func (*ProductInput) SetCategoryId ¶
func (o *ProductInput) SetCategoryId(v string)
SetCategoryId sets field value
func (*ProductInput) SetCategoryName ¶
func (o *ProductInput) SetCategoryName(v string)
SetCategoryName sets field value
func (*ProductInput) SetCondition ¶
func (o *ProductInput) SetCondition(v string)
SetCondition sets field value
func (*ProductInput) SetProductCode ¶
func (o *ProductInput) SetProductCode(v string)
SetProductCode sets field value
func (*ProductInput) SetProductDescription ¶
func (o *ProductInput) SetProductDescription(v string)
SetProductDescription sets field value
func (*ProductInput) SetProductId ¶
func (o *ProductInput) SetProductId(v string)
SetProductId sets field value
func (*ProductInput) SetShopId ¶
func (o *ProductInput) SetShopId(v string)
SetShopId sets field value
func (*ProductInput) SetVariants ¶
func (o *ProductInput) SetVariants(v []VariantInput)
SetVariants sets field value
func (ProductInput) ToMap ¶
func (o ProductInput) ToMap() (map[string]interface{}, error)
type RegisterSalesChannelInput ¶
type RegisterSalesChannelInput struct { AppName string `json:"app_name"` AppChannelCode string `json:"app_channel_code"` Type string `json:"type"` UrlInfo UrlInfoInput `json:"url_info"` UrlWebhook *UrlWebhookInput `json:"url_webhook,omitempty"` }
RegisterSalesChannelInput struct for RegisterSalesChannelInput
func NewRegisterSalesChannelInput ¶
func NewRegisterSalesChannelInput(appName string, appChannelCode string, type_ string, urlInfo UrlInfoInput) *RegisterSalesChannelInput
NewRegisterSalesChannelInput instantiates a new RegisterSalesChannelInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegisterSalesChannelInputWithDefaults ¶
func NewRegisterSalesChannelInputWithDefaults() *RegisterSalesChannelInput
NewRegisterSalesChannelInputWithDefaults instantiates a new RegisterSalesChannelInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RegisterSalesChannelInput) GetAppChannelCode ¶
func (o *RegisterSalesChannelInput) GetAppChannelCode() string
GetAppChannelCode returns the AppChannelCode field value
func (*RegisterSalesChannelInput) GetAppChannelCodeOk ¶
func (o *RegisterSalesChannelInput) GetAppChannelCodeOk() (*string, bool)
GetAppChannelCodeOk returns a tuple with the AppChannelCode field value and a boolean to check if the value has been set.
func (*RegisterSalesChannelInput) GetAppName ¶
func (o *RegisterSalesChannelInput) GetAppName() string
GetAppName returns the AppName field value
func (*RegisterSalesChannelInput) GetAppNameOk ¶
func (o *RegisterSalesChannelInput) GetAppNameOk() (*string, bool)
GetAppNameOk returns a tuple with the AppName field value and a boolean to check if the value has been set.
func (*RegisterSalesChannelInput) GetType ¶
func (o *RegisterSalesChannelInput) GetType() string
GetType returns the Type field value
func (*RegisterSalesChannelInput) GetTypeOk ¶
func (o *RegisterSalesChannelInput) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RegisterSalesChannelInput) GetUrlInfo ¶
func (o *RegisterSalesChannelInput) GetUrlInfo() UrlInfoInput
GetUrlInfo returns the UrlInfo field value
func (*RegisterSalesChannelInput) GetUrlInfoOk ¶
func (o *RegisterSalesChannelInput) GetUrlInfoOk() (*UrlInfoInput, bool)
GetUrlInfoOk returns a tuple with the UrlInfo field value and a boolean to check if the value has been set.
func (*RegisterSalesChannelInput) GetUrlWebhook ¶
func (o *RegisterSalesChannelInput) GetUrlWebhook() UrlWebhookInput
GetUrlWebhook returns the UrlWebhook field value if set, zero value otherwise.
func (*RegisterSalesChannelInput) GetUrlWebhookOk ¶
func (o *RegisterSalesChannelInput) GetUrlWebhookOk() (*UrlWebhookInput, bool)
GetUrlWebhookOk returns a tuple with the UrlWebhook field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisterSalesChannelInput) HasUrlWebhook ¶
func (o *RegisterSalesChannelInput) HasUrlWebhook() bool
HasUrlWebhook returns a boolean if a field has been set.
func (RegisterSalesChannelInput) MarshalJSON ¶
func (o RegisterSalesChannelInput) MarshalJSON() ([]byte, error)
func (*RegisterSalesChannelInput) SetAppChannelCode ¶
func (o *RegisterSalesChannelInput) SetAppChannelCode(v string)
SetAppChannelCode sets field value
func (*RegisterSalesChannelInput) SetAppName ¶
func (o *RegisterSalesChannelInput) SetAppName(v string)
SetAppName sets field value
func (*RegisterSalesChannelInput) SetType ¶
func (o *RegisterSalesChannelInput) SetType(v string)
SetType sets field value
func (*RegisterSalesChannelInput) SetUrlInfo ¶
func (o *RegisterSalesChannelInput) SetUrlInfo(v UrlInfoInput)
SetUrlInfo sets field value
func (*RegisterSalesChannelInput) SetUrlWebhook ¶
func (o *RegisterSalesChannelInput) SetUrlWebhook(v UrlWebhookInput)
SetUrlWebhook gets a reference to the given UrlWebhookInput and assigns it to the UrlWebhook field.
func (RegisterSalesChannelInput) ToMap ¶
func (o RegisterSalesChannelInput) ToMap() (map[string]interface{}, error)
type RegisteredSalesChannel ¶
type RegisteredSalesChannel struct { AppName *string `json:"app_name,omitempty"` AppChannelCode *string `json:"app_channel_code,omitempty"` UrlInfo *UrlInfo `json:"url_info,omitempty"` UrlWebhook *UrlWebhook `json:"url_webhook,omitempty"` Type *string `json:"type,omitempty"` AppKey *string `json:"app_key,omitempty"` }
RegisteredSalesChannel struct for RegisteredSalesChannel
func NewRegisteredSalesChannel ¶
func NewRegisteredSalesChannel() *RegisteredSalesChannel
NewRegisteredSalesChannel instantiates a new RegisteredSalesChannel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegisteredSalesChannelWithDefaults ¶
func NewRegisteredSalesChannelWithDefaults() *RegisteredSalesChannel
NewRegisteredSalesChannelWithDefaults instantiates a new RegisteredSalesChannel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RegisteredSalesChannel) GetAppChannelCode ¶
func (o *RegisteredSalesChannel) GetAppChannelCode() string
GetAppChannelCode returns the AppChannelCode field value if set, zero value otherwise.
func (*RegisteredSalesChannel) GetAppChannelCodeOk ¶
func (o *RegisteredSalesChannel) GetAppChannelCodeOk() (*string, bool)
GetAppChannelCodeOk returns a tuple with the AppChannelCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisteredSalesChannel) GetAppKey ¶
func (o *RegisteredSalesChannel) GetAppKey() string
GetAppKey returns the AppKey field value if set, zero value otherwise.
func (*RegisteredSalesChannel) GetAppKeyOk ¶
func (o *RegisteredSalesChannel) GetAppKeyOk() (*string, bool)
GetAppKeyOk returns a tuple with the AppKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisteredSalesChannel) GetAppName ¶
func (o *RegisteredSalesChannel) GetAppName() string
GetAppName returns the AppName field value if set, zero value otherwise.
func (*RegisteredSalesChannel) GetAppNameOk ¶
func (o *RegisteredSalesChannel) GetAppNameOk() (*string, bool)
GetAppNameOk returns a tuple with the AppName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisteredSalesChannel) GetType ¶
func (o *RegisteredSalesChannel) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*RegisteredSalesChannel) GetTypeOk ¶
func (o *RegisteredSalesChannel) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisteredSalesChannel) GetUrlInfo ¶
func (o *RegisteredSalesChannel) GetUrlInfo() UrlInfo
GetUrlInfo returns the UrlInfo field value if set, zero value otherwise.
func (*RegisteredSalesChannel) GetUrlInfoOk ¶
func (o *RegisteredSalesChannel) GetUrlInfoOk() (*UrlInfo, bool)
GetUrlInfoOk returns a tuple with the UrlInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisteredSalesChannel) GetUrlWebhook ¶
func (o *RegisteredSalesChannel) GetUrlWebhook() UrlWebhook
GetUrlWebhook returns the UrlWebhook field value if set, zero value otherwise.
func (*RegisteredSalesChannel) GetUrlWebhookOk ¶
func (o *RegisteredSalesChannel) GetUrlWebhookOk() (*UrlWebhook, bool)
GetUrlWebhookOk returns a tuple with the UrlWebhook field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisteredSalesChannel) HasAppChannelCode ¶
func (o *RegisteredSalesChannel) HasAppChannelCode() bool
HasAppChannelCode returns a boolean if a field has been set.
func (*RegisteredSalesChannel) HasAppKey ¶
func (o *RegisteredSalesChannel) HasAppKey() bool
HasAppKey returns a boolean if a field has been set.
func (*RegisteredSalesChannel) HasAppName ¶
func (o *RegisteredSalesChannel) HasAppName() bool
HasAppName returns a boolean if a field has been set.
func (*RegisteredSalesChannel) HasType ¶
func (o *RegisteredSalesChannel) HasType() bool
HasType returns a boolean if a field has been set.
func (*RegisteredSalesChannel) HasUrlInfo ¶
func (o *RegisteredSalesChannel) HasUrlInfo() bool
HasUrlInfo returns a boolean if a field has been set.
func (*RegisteredSalesChannel) HasUrlWebhook ¶
func (o *RegisteredSalesChannel) HasUrlWebhook() bool
HasUrlWebhook returns a boolean if a field has been set.
func (RegisteredSalesChannel) MarshalJSON ¶
func (o RegisteredSalesChannel) MarshalJSON() ([]byte, error)
func (*RegisteredSalesChannel) SetAppChannelCode ¶
func (o *RegisteredSalesChannel) SetAppChannelCode(v string)
SetAppChannelCode gets a reference to the given string and assigns it to the AppChannelCode field.
func (*RegisteredSalesChannel) SetAppKey ¶
func (o *RegisteredSalesChannel) SetAppKey(v string)
SetAppKey gets a reference to the given string and assigns it to the AppKey field.
func (*RegisteredSalesChannel) SetAppName ¶
func (o *RegisteredSalesChannel) SetAppName(v string)
SetAppName gets a reference to the given string and assigns it to the AppName field.
func (*RegisteredSalesChannel) SetType ¶
func (o *RegisteredSalesChannel) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*RegisteredSalesChannel) SetUrlInfo ¶
func (o *RegisteredSalesChannel) SetUrlInfo(v UrlInfo)
SetUrlInfo gets a reference to the given UrlInfo and assigns it to the UrlInfo field.
func (*RegisteredSalesChannel) SetUrlWebhook ¶
func (o *RegisteredSalesChannel) SetUrlWebhook(v UrlWebhook)
SetUrlWebhook gets a reference to the given UrlWebhook and assigns it to the UrlWebhook field.
func (RegisteredSalesChannel) ToMap ¶
func (o RegisteredSalesChannel) ToMap() (map[string]interface{}, error)
type SalesChannel ¶
type SalesChannel struct { AppName *string `json:"app_name,omitempty"` AppChannelCode *string `json:"app_channel_code,omitempty"` UrlInfo *UrlInfo `json:"url_info,omitempty"` UrlWebhook *UrlWebhook `json:"url_webhook,omitempty"` Type *string `json:"type,omitempty"` }
SalesChannel struct for SalesChannel
func NewSalesChannel ¶
func NewSalesChannel() *SalesChannel
NewSalesChannel instantiates a new SalesChannel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSalesChannelWithDefaults ¶
func NewSalesChannelWithDefaults() *SalesChannel
NewSalesChannelWithDefaults instantiates a new SalesChannel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SalesChannel) GetAppChannelCode ¶
func (o *SalesChannel) GetAppChannelCode() string
GetAppChannelCode returns the AppChannelCode field value if set, zero value otherwise.
func (*SalesChannel) GetAppChannelCodeOk ¶
func (o *SalesChannel) GetAppChannelCodeOk() (*string, bool)
GetAppChannelCodeOk returns a tuple with the AppChannelCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SalesChannel) GetAppName ¶
func (o *SalesChannel) GetAppName() string
GetAppName returns the AppName field value if set, zero value otherwise.
func (*SalesChannel) GetAppNameOk ¶
func (o *SalesChannel) GetAppNameOk() (*string, bool)
GetAppNameOk returns a tuple with the AppName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SalesChannel) GetType ¶
func (o *SalesChannel) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SalesChannel) GetTypeOk ¶
func (o *SalesChannel) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SalesChannel) GetUrlInfo ¶
func (o *SalesChannel) GetUrlInfo() UrlInfo
GetUrlInfo returns the UrlInfo field value if set, zero value otherwise.
func (*SalesChannel) GetUrlInfoOk ¶
func (o *SalesChannel) GetUrlInfoOk() (*UrlInfo, bool)
GetUrlInfoOk returns a tuple with the UrlInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SalesChannel) GetUrlWebhook ¶
func (o *SalesChannel) GetUrlWebhook() UrlWebhook
GetUrlWebhook returns the UrlWebhook field value if set, zero value otherwise.
func (*SalesChannel) GetUrlWebhookOk ¶
func (o *SalesChannel) GetUrlWebhookOk() (*UrlWebhook, bool)
GetUrlWebhookOk returns a tuple with the UrlWebhook field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SalesChannel) HasAppChannelCode ¶
func (o *SalesChannel) HasAppChannelCode() bool
HasAppChannelCode returns a boolean if a field has been set.
func (*SalesChannel) HasAppName ¶
func (o *SalesChannel) HasAppName() bool
HasAppName returns a boolean if a field has been set.
func (*SalesChannel) HasType ¶
func (o *SalesChannel) HasType() bool
HasType returns a boolean if a field has been set.
func (*SalesChannel) HasUrlInfo ¶
func (o *SalesChannel) HasUrlInfo() bool
HasUrlInfo returns a boolean if a field has been set.
func (*SalesChannel) HasUrlWebhook ¶
func (o *SalesChannel) HasUrlWebhook() bool
HasUrlWebhook returns a boolean if a field has been set.
func (SalesChannel) MarshalJSON ¶
func (o SalesChannel) MarshalJSON() ([]byte, error)
func (*SalesChannel) SetAppChannelCode ¶
func (o *SalesChannel) SetAppChannelCode(v string)
SetAppChannelCode gets a reference to the given string and assigns it to the AppChannelCode field.
func (*SalesChannel) SetAppName ¶
func (o *SalesChannel) SetAppName(v string)
SetAppName gets a reference to the given string and assigns it to the AppName field.
func (*SalesChannel) SetType ¶
func (o *SalesChannel) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*SalesChannel) SetUrlInfo ¶
func (o *SalesChannel) SetUrlInfo(v UrlInfo)
SetUrlInfo gets a reference to the given UrlInfo and assigns it to the UrlInfo field.
func (*SalesChannel) SetUrlWebhook ¶
func (o *SalesChannel) SetUrlWebhook(v UrlWebhook)
SetUrlWebhook gets a reference to the given UrlWebhook and assigns it to the UrlWebhook field.
func (SalesChannel) ToMap ¶
func (o SalesChannel) ToMap() (map[string]interface{}, error)
type SalesChannelAPI ¶
type SalesChannelAPI interface { /* RegisterSalesChannel Method for RegisterSalesChannel Register sales channel @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRegisterSalesChannelRequest */ RegisterSalesChannel(ctx context.Context) ApiRegisterSalesChannelRequest // RegisterSalesChannelExecute executes the request // @return RegisteredSalesChannel RegisterSalesChannelExecute(r ApiRegisterSalesChannelRequest) (*RegisteredSalesChannel, *http.Response, error) /* UpdateSalesChannel Method for UpdateSalesChannel Update Sales Channel @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelCode Channel code @return ApiUpdateSalesChannelRequest */ UpdateSalesChannel(ctx context.Context, channelCode string) ApiUpdateSalesChannelRequest // UpdateSalesChannelExecute executes the request // @return SalesChannel UpdateSalesChannelExecute(r ApiUpdateSalesChannelRequest) (*SalesChannel, *http.Response, error) }
type SalesChannelAPIService ¶
type SalesChannelAPIService service
SalesChannelAPIService SalesChannelAPI service
func (*SalesChannelAPIService) RegisterSalesChannel ¶
func (a *SalesChannelAPIService) RegisterSalesChannel(ctx context.Context) ApiRegisterSalesChannelRequest
RegisterSalesChannel Method for RegisterSalesChannel
Register sales channel
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRegisterSalesChannelRequest
func (*SalesChannelAPIService) RegisterSalesChannelExecute ¶
func (a *SalesChannelAPIService) RegisterSalesChannelExecute(r ApiRegisterSalesChannelRequest) (*RegisteredSalesChannel, *http.Response, error)
Execute executes the request
@return RegisteredSalesChannel
func (*SalesChannelAPIService) UpdateSalesChannel ¶
func (a *SalesChannelAPIService) UpdateSalesChannel(ctx context.Context, channelCode string) ApiUpdateSalesChannelRequest
UpdateSalesChannel Method for UpdateSalesChannel
Update Sales Channel
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelCode Channel code @return ApiUpdateSalesChannelRequest
func (*SalesChannelAPIService) UpdateSalesChannelExecute ¶
func (a *SalesChannelAPIService) UpdateSalesChannelExecute(r ApiUpdateSalesChannelRequest) (*SalesChannel, *http.Response, error)
Execute executes the request
@return SalesChannel
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type UpdateSalesChannelInput ¶
type UpdateSalesChannelInput struct { Type string `json:"type"` UrlInfo UrlInfoUpdateInput `json:"url_info"` UrlWebhook UrlWebhookUpdateInput `json:"url_webhook"` }
UpdateSalesChannelInput struct for UpdateSalesChannelInput
func NewUpdateSalesChannelInput ¶
func NewUpdateSalesChannelInput(type_ string, urlInfo UrlInfoUpdateInput, urlWebhook UrlWebhookUpdateInput) *UpdateSalesChannelInput
NewUpdateSalesChannelInput instantiates a new UpdateSalesChannelInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateSalesChannelInputWithDefaults ¶
func NewUpdateSalesChannelInputWithDefaults() *UpdateSalesChannelInput
NewUpdateSalesChannelInputWithDefaults instantiates a new UpdateSalesChannelInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateSalesChannelInput) GetType ¶
func (o *UpdateSalesChannelInput) GetType() string
GetType returns the Type field value
func (*UpdateSalesChannelInput) GetTypeOk ¶
func (o *UpdateSalesChannelInput) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*UpdateSalesChannelInput) GetUrlInfo ¶
func (o *UpdateSalesChannelInput) GetUrlInfo() UrlInfoUpdateInput
GetUrlInfo returns the UrlInfo field value
func (*UpdateSalesChannelInput) GetUrlInfoOk ¶
func (o *UpdateSalesChannelInput) GetUrlInfoOk() (*UrlInfoUpdateInput, bool)
GetUrlInfoOk returns a tuple with the UrlInfo field value and a boolean to check if the value has been set.
func (*UpdateSalesChannelInput) GetUrlWebhook ¶
func (o *UpdateSalesChannelInput) GetUrlWebhook() UrlWebhookUpdateInput
GetUrlWebhook returns the UrlWebhook field value
func (*UpdateSalesChannelInput) GetUrlWebhookOk ¶
func (o *UpdateSalesChannelInput) GetUrlWebhookOk() (*UrlWebhookUpdateInput, bool)
GetUrlWebhookOk returns a tuple with the UrlWebhook field value and a boolean to check if the value has been set.
func (UpdateSalesChannelInput) MarshalJSON ¶
func (o UpdateSalesChannelInput) MarshalJSON() ([]byte, error)
func (*UpdateSalesChannelInput) SetType ¶
func (o *UpdateSalesChannelInput) SetType(v string)
SetType sets field value
func (*UpdateSalesChannelInput) SetUrlInfo ¶
func (o *UpdateSalesChannelInput) SetUrlInfo(v UrlInfoUpdateInput)
SetUrlInfo sets field value
func (*UpdateSalesChannelInput) SetUrlWebhook ¶
func (o *UpdateSalesChannelInput) SetUrlWebhook(v UrlWebhookUpdateInput)
SetUrlWebhook sets field value
func (UpdateSalesChannelInput) ToMap ¶
func (o UpdateSalesChannelInput) ToMap() (map[string]interface{}, error)
type UpsertProductCategoriesResponse ¶
type UpsertProductCategoriesResponse struct { FailureCategory []ProductCategory `json:"failure_category,omitempty"` TotalFailureCategory *int32 `json:"total_failure_category,omitempty"` TotalSuccessCategory *int32 `json:"total_success_category,omitempty"` TotalCategory *int32 `json:"total_category,omitempty"` }
UpsertProductCategoriesResponse struct for UpsertProductCategoriesResponse
func NewUpsertProductCategoriesResponse ¶
func NewUpsertProductCategoriesResponse() *UpsertProductCategoriesResponse
NewUpsertProductCategoriesResponse instantiates a new UpsertProductCategoriesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpsertProductCategoriesResponseWithDefaults ¶
func NewUpsertProductCategoriesResponseWithDefaults() *UpsertProductCategoriesResponse
NewUpsertProductCategoriesResponseWithDefaults instantiates a new UpsertProductCategoriesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpsertProductCategoriesResponse) GetFailureCategory ¶
func (o *UpsertProductCategoriesResponse) GetFailureCategory() []ProductCategory
GetFailureCategory returns the FailureCategory field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpsertProductCategoriesResponse) GetFailureCategoryOk ¶
func (o *UpsertProductCategoriesResponse) GetFailureCategoryOk() ([]ProductCategory, bool)
GetFailureCategoryOk returns a tuple with the FailureCategory field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpsertProductCategoriesResponse) GetTotalCategory ¶
func (o *UpsertProductCategoriesResponse) GetTotalCategory() int32
GetTotalCategory returns the TotalCategory field value if set, zero value otherwise.
func (*UpsertProductCategoriesResponse) GetTotalCategoryOk ¶
func (o *UpsertProductCategoriesResponse) GetTotalCategoryOk() (*int32, bool)
GetTotalCategoryOk returns a tuple with the TotalCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpsertProductCategoriesResponse) GetTotalFailureCategory ¶
func (o *UpsertProductCategoriesResponse) GetTotalFailureCategory() int32
GetTotalFailureCategory returns the TotalFailureCategory field value if set, zero value otherwise.
func (*UpsertProductCategoriesResponse) GetTotalFailureCategoryOk ¶
func (o *UpsertProductCategoriesResponse) GetTotalFailureCategoryOk() (*int32, bool)
GetTotalFailureCategoryOk returns a tuple with the TotalFailureCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpsertProductCategoriesResponse) GetTotalSuccessCategory ¶
func (o *UpsertProductCategoriesResponse) GetTotalSuccessCategory() int32
GetTotalSuccessCategory returns the TotalSuccessCategory field value if set, zero value otherwise.
func (*UpsertProductCategoriesResponse) GetTotalSuccessCategoryOk ¶
func (o *UpsertProductCategoriesResponse) GetTotalSuccessCategoryOk() (*int32, bool)
GetTotalSuccessCategoryOk returns a tuple with the TotalSuccessCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpsertProductCategoriesResponse) HasFailureCategory ¶
func (o *UpsertProductCategoriesResponse) HasFailureCategory() bool
HasFailureCategory returns a boolean if a field has been set.
func (*UpsertProductCategoriesResponse) HasTotalCategory ¶
func (o *UpsertProductCategoriesResponse) HasTotalCategory() bool
HasTotalCategory returns a boolean if a field has been set.
func (*UpsertProductCategoriesResponse) HasTotalFailureCategory ¶
func (o *UpsertProductCategoriesResponse) HasTotalFailureCategory() bool
HasTotalFailureCategory returns a boolean if a field has been set.
func (*UpsertProductCategoriesResponse) HasTotalSuccessCategory ¶
func (o *UpsertProductCategoriesResponse) HasTotalSuccessCategory() bool
HasTotalSuccessCategory returns a boolean if a field has been set.
func (UpsertProductCategoriesResponse) MarshalJSON ¶
func (o UpsertProductCategoriesResponse) MarshalJSON() ([]byte, error)
func (*UpsertProductCategoriesResponse) SetFailureCategory ¶
func (o *UpsertProductCategoriesResponse) SetFailureCategory(v []ProductCategory)
SetFailureCategory gets a reference to the given []ProductCategory and assigns it to the FailureCategory field.
func (*UpsertProductCategoriesResponse) SetTotalCategory ¶
func (o *UpsertProductCategoriesResponse) SetTotalCategory(v int32)
SetTotalCategory gets a reference to the given int32 and assigns it to the TotalCategory field.
func (*UpsertProductCategoriesResponse) SetTotalFailureCategory ¶
func (o *UpsertProductCategoriesResponse) SetTotalFailureCategory(v int32)
SetTotalFailureCategory gets a reference to the given int32 and assigns it to the TotalFailureCategory field.
func (*UpsertProductCategoriesResponse) SetTotalSuccessCategory ¶
func (o *UpsertProductCategoriesResponse) SetTotalSuccessCategory(v int32)
SetTotalSuccessCategory gets a reference to the given int32 and assigns it to the TotalSuccessCategory field.
func (UpsertProductCategoriesResponse) ToMap ¶
func (o UpsertProductCategoriesResponse) ToMap() (map[string]interface{}, error)
type UrlInfo ¶
type UrlInfo struct { UrlChannel *string `json:"url_channel,omitempty"` UrlHelpPage *string `json:"url_help_page,omitempty"` UrlLogoChannel *string `json:"url_logo_channel,omitempty"` UrlSquareLogoChannel *string `json:"url_square_logo_channel,omitempty"` UrlOauth2 *string `json:"url_oauth2,omitempty"` }
UrlInfo struct for UrlInfo
func NewUrlInfo ¶
func NewUrlInfo() *UrlInfo
NewUrlInfo instantiates a new UrlInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUrlInfoWithDefaults ¶
func NewUrlInfoWithDefaults() *UrlInfo
NewUrlInfoWithDefaults instantiates a new UrlInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UrlInfo) GetUrlChannel ¶
GetUrlChannel returns the UrlChannel field value if set, zero value otherwise.
func (*UrlInfo) GetUrlChannelOk ¶
GetUrlChannelOk returns a tuple with the UrlChannel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlInfo) GetUrlHelpPage ¶
GetUrlHelpPage returns the UrlHelpPage field value if set, zero value otherwise.
func (*UrlInfo) GetUrlHelpPageOk ¶
GetUrlHelpPageOk returns a tuple with the UrlHelpPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlInfo) GetUrlLogoChannel ¶
GetUrlLogoChannel returns the UrlLogoChannel field value if set, zero value otherwise.
func (*UrlInfo) GetUrlLogoChannelOk ¶
GetUrlLogoChannelOk returns a tuple with the UrlLogoChannel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlInfo) GetUrlOauth2 ¶
GetUrlOauth2 returns the UrlOauth2 field value if set, zero value otherwise.
func (*UrlInfo) GetUrlOauth2Ok ¶
GetUrlOauth2Ok returns a tuple with the UrlOauth2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlInfo) GetUrlSquareLogoChannel ¶
GetUrlSquareLogoChannel returns the UrlSquareLogoChannel field value if set, zero value otherwise.
func (*UrlInfo) GetUrlSquareLogoChannelOk ¶
GetUrlSquareLogoChannelOk returns a tuple with the UrlSquareLogoChannel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlInfo) HasUrlChannel ¶
HasUrlChannel returns a boolean if a field has been set.
func (*UrlInfo) HasUrlHelpPage ¶
HasUrlHelpPage returns a boolean if a field has been set.
func (*UrlInfo) HasUrlLogoChannel ¶
HasUrlLogoChannel returns a boolean if a field has been set.
func (*UrlInfo) HasUrlOauth2 ¶
HasUrlOauth2 returns a boolean if a field has been set.
func (*UrlInfo) HasUrlSquareLogoChannel ¶
HasUrlSquareLogoChannel returns a boolean if a field has been set.
func (UrlInfo) MarshalJSON ¶
func (*UrlInfo) SetUrlChannel ¶
SetUrlChannel gets a reference to the given string and assigns it to the UrlChannel field.
func (*UrlInfo) SetUrlHelpPage ¶
SetUrlHelpPage gets a reference to the given string and assigns it to the UrlHelpPage field.
func (*UrlInfo) SetUrlLogoChannel ¶
SetUrlLogoChannel gets a reference to the given string and assigns it to the UrlLogoChannel field.
func (*UrlInfo) SetUrlOauth2 ¶
SetUrlOauth2 gets a reference to the given string and assigns it to the UrlOauth2 field.
func (*UrlInfo) SetUrlSquareLogoChannel ¶
SetUrlSquareLogoChannel gets a reference to the given string and assigns it to the UrlSquareLogoChannel field.
type UrlInfoInput ¶
type UrlInfoInput struct { UrlChannel string `json:"url_channel"` UrlHelpPage string `json:"url_help_page"` UrlLogoChannel string `json:"url_logo_channel"` UrlSquareLogoChannel string `json:"url_square_logo_channel"` }
UrlInfoInput struct for UrlInfoInput
func NewUrlInfoInput ¶
func NewUrlInfoInput(urlChannel string, urlHelpPage string, urlLogoChannel string, urlSquareLogoChannel string) *UrlInfoInput
NewUrlInfoInput instantiates a new UrlInfoInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUrlInfoInputWithDefaults ¶
func NewUrlInfoInputWithDefaults() *UrlInfoInput
NewUrlInfoInputWithDefaults instantiates a new UrlInfoInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UrlInfoInput) GetUrlChannel ¶
func (o *UrlInfoInput) GetUrlChannel() string
GetUrlChannel returns the UrlChannel field value
func (*UrlInfoInput) GetUrlChannelOk ¶
func (o *UrlInfoInput) GetUrlChannelOk() (*string, bool)
GetUrlChannelOk returns a tuple with the UrlChannel field value and a boolean to check if the value has been set.
func (*UrlInfoInput) GetUrlHelpPage ¶
func (o *UrlInfoInput) GetUrlHelpPage() string
GetUrlHelpPage returns the UrlHelpPage field value
func (*UrlInfoInput) GetUrlHelpPageOk ¶
func (o *UrlInfoInput) GetUrlHelpPageOk() (*string, bool)
GetUrlHelpPageOk returns a tuple with the UrlHelpPage field value and a boolean to check if the value has been set.
func (*UrlInfoInput) GetUrlLogoChannel ¶
func (o *UrlInfoInput) GetUrlLogoChannel() string
GetUrlLogoChannel returns the UrlLogoChannel field value
func (*UrlInfoInput) GetUrlLogoChannelOk ¶
func (o *UrlInfoInput) GetUrlLogoChannelOk() (*string, bool)
GetUrlLogoChannelOk returns a tuple with the UrlLogoChannel field value and a boolean to check if the value has been set.
func (*UrlInfoInput) GetUrlSquareLogoChannel ¶
func (o *UrlInfoInput) GetUrlSquareLogoChannel() string
GetUrlSquareLogoChannel returns the UrlSquareLogoChannel field value
func (*UrlInfoInput) GetUrlSquareLogoChannelOk ¶
func (o *UrlInfoInput) GetUrlSquareLogoChannelOk() (*string, bool)
GetUrlSquareLogoChannelOk returns a tuple with the UrlSquareLogoChannel field value and a boolean to check if the value has been set.
func (UrlInfoInput) MarshalJSON ¶
func (o UrlInfoInput) MarshalJSON() ([]byte, error)
func (*UrlInfoInput) SetUrlChannel ¶
func (o *UrlInfoInput) SetUrlChannel(v string)
SetUrlChannel sets field value
func (*UrlInfoInput) SetUrlHelpPage ¶
func (o *UrlInfoInput) SetUrlHelpPage(v string)
SetUrlHelpPage sets field value
func (*UrlInfoInput) SetUrlLogoChannel ¶
func (o *UrlInfoInput) SetUrlLogoChannel(v string)
SetUrlLogoChannel sets field value
func (*UrlInfoInput) SetUrlSquareLogoChannel ¶
func (o *UrlInfoInput) SetUrlSquareLogoChannel(v string)
SetUrlSquareLogoChannel sets field value
func (UrlInfoInput) ToMap ¶
func (o UrlInfoInput) ToMap() (map[string]interface{}, error)
type UrlInfoUpdateInput ¶
type UrlInfoUpdateInput struct { UrlChannel string `json:"url_channel"` UrlHelpPage string `json:"url_help_page"` UrlLogoChannel string `json:"url_logo_channel"` UrlSquareLogoChannel string `json:"url_square_logo_channel"` UrlOauth2 string `json:"url_oauth2"` }
UrlInfoUpdateInput struct for UrlInfoUpdateInput
func NewUrlInfoUpdateInput ¶
func NewUrlInfoUpdateInput(urlChannel string, urlHelpPage string, urlLogoChannel string, urlSquareLogoChannel string, urlOauth2 string) *UrlInfoUpdateInput
NewUrlInfoUpdateInput instantiates a new UrlInfoUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUrlInfoUpdateInputWithDefaults ¶
func NewUrlInfoUpdateInputWithDefaults() *UrlInfoUpdateInput
NewUrlInfoUpdateInputWithDefaults instantiates a new UrlInfoUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UrlInfoUpdateInput) GetUrlChannel ¶
func (o *UrlInfoUpdateInput) GetUrlChannel() string
GetUrlChannel returns the UrlChannel field value
func (*UrlInfoUpdateInput) GetUrlChannelOk ¶
func (o *UrlInfoUpdateInput) GetUrlChannelOk() (*string, bool)
GetUrlChannelOk returns a tuple with the UrlChannel field value and a boolean to check if the value has been set.
func (*UrlInfoUpdateInput) GetUrlHelpPage ¶
func (o *UrlInfoUpdateInput) GetUrlHelpPage() string
GetUrlHelpPage returns the UrlHelpPage field value
func (*UrlInfoUpdateInput) GetUrlHelpPageOk ¶
func (o *UrlInfoUpdateInput) GetUrlHelpPageOk() (*string, bool)
GetUrlHelpPageOk returns a tuple with the UrlHelpPage field value and a boolean to check if the value has been set.
func (*UrlInfoUpdateInput) GetUrlLogoChannel ¶
func (o *UrlInfoUpdateInput) GetUrlLogoChannel() string
GetUrlLogoChannel returns the UrlLogoChannel field value
func (*UrlInfoUpdateInput) GetUrlLogoChannelOk ¶
func (o *UrlInfoUpdateInput) GetUrlLogoChannelOk() (*string, bool)
GetUrlLogoChannelOk returns a tuple with the UrlLogoChannel field value and a boolean to check if the value has been set.
func (*UrlInfoUpdateInput) GetUrlOauth2 ¶
func (o *UrlInfoUpdateInput) GetUrlOauth2() string
GetUrlOauth2 returns the UrlOauth2 field value
func (*UrlInfoUpdateInput) GetUrlOauth2Ok ¶
func (o *UrlInfoUpdateInput) GetUrlOauth2Ok() (*string, bool)
GetUrlOauth2Ok returns a tuple with the UrlOauth2 field value and a boolean to check if the value has been set.
func (*UrlInfoUpdateInput) GetUrlSquareLogoChannel ¶
func (o *UrlInfoUpdateInput) GetUrlSquareLogoChannel() string
GetUrlSquareLogoChannel returns the UrlSquareLogoChannel field value
func (*UrlInfoUpdateInput) GetUrlSquareLogoChannelOk ¶
func (o *UrlInfoUpdateInput) GetUrlSquareLogoChannelOk() (*string, bool)
GetUrlSquareLogoChannelOk returns a tuple with the UrlSquareLogoChannel field value and a boolean to check if the value has been set.
func (UrlInfoUpdateInput) MarshalJSON ¶
func (o UrlInfoUpdateInput) MarshalJSON() ([]byte, error)
func (*UrlInfoUpdateInput) SetUrlChannel ¶
func (o *UrlInfoUpdateInput) SetUrlChannel(v string)
SetUrlChannel sets field value
func (*UrlInfoUpdateInput) SetUrlHelpPage ¶
func (o *UrlInfoUpdateInput) SetUrlHelpPage(v string)
SetUrlHelpPage sets field value
func (*UrlInfoUpdateInput) SetUrlLogoChannel ¶
func (o *UrlInfoUpdateInput) SetUrlLogoChannel(v string)
SetUrlLogoChannel sets field value
func (*UrlInfoUpdateInput) SetUrlOauth2 ¶
func (o *UrlInfoUpdateInput) SetUrlOauth2(v string)
SetUrlOauth2 sets field value
func (*UrlInfoUpdateInput) SetUrlSquareLogoChannel ¶
func (o *UrlInfoUpdateInput) SetUrlSquareLogoChannel(v string)
SetUrlSquareLogoChannel sets field value
func (UrlInfoUpdateInput) ToMap ¶
func (o UrlInfoUpdateInput) ToMap() (map[string]interface{}, error)
type UrlWebhook ¶
type UrlWebhook struct { UrlConnect *string `json:"url_connect,omitempty"` UrlDisconnect *string `json:"url_disconnect,omitempty"` UrlAcceptedOrder *string `json:"url_accepted_order,omitempty"` UrlPackedOrder *string `json:"url_packed_order,omitempty"` UrlShippedOrder *string `json:"url_shipped_order,omitempty"` UrlCompletedOrder *string `json:"url_completed_order,omitempty"` UrlCancelledOrder *string `json:"url_cancelled_order,omitempty"` UrlFetchOrder *string `json:"url_fetch_order,omitempty"` UrlUpdateStock *string `json:"url_update_stock,omitempty"` UrlBulkUpdateStock *string `json:"url_bulk_update_stock,omitempty"` UrlUpdatePrice *string `json:"url_update_price,omitempty"` UrlBulkUpdatePrice *string `json:"url_bulk_update_price,omitempty"` UrlUpsertProduct *string `json:"url_upsert_product,omitempty"` UrlFetchProduct *string `json:"url_fetch_product,omitempty"` UrlFetchAttributes *string `json:"url_fetch_attributes,omitempty"` UrlConnectOauth2 *string `json:"url_connect_oauth2,omitempty"` UrlGenerateShopId *string `json:"url_generate_shop_id,omitempty"` UrlGetShopName *string `json:"url_get_shop_name,omitempty"` UrlPassthrough *string `json:"url_passthrough,omitempty"` UrlWebhookNewOrder *string `json:"url_webhook_new_order,omitempty"` UrlWebhookUpsertOrder *string `json:"url_webhook_upsert_order,omitempty"` UrlWebhookCancelOrder *string `json:"url_webhook_cancel_order,omitempty"` UrlUpdateStatusProduct *string `json:"url_update_status_product,omitempty"` UrlCreateDiscount *string `json:"url_create_discount,omitempty"` UrlDeleteDiscount *string `json:"url_delete_discount,omitempty"` UrlPullWarehouse *string `json:"url_pull_warehouse,omitempty"` UrlFetchCategories *string `json:"url_fetch_categories,omitempty"` }
UrlWebhook struct for UrlWebhook
func NewUrlWebhook ¶
func NewUrlWebhook() *UrlWebhook
NewUrlWebhook instantiates a new UrlWebhook object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUrlWebhookWithDefaults ¶
func NewUrlWebhookWithDefaults() *UrlWebhook
NewUrlWebhookWithDefaults instantiates a new UrlWebhook object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UrlWebhook) GetUrlAcceptedOrder ¶
func (o *UrlWebhook) GetUrlAcceptedOrder() string
GetUrlAcceptedOrder returns the UrlAcceptedOrder field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlAcceptedOrderOk ¶
func (o *UrlWebhook) GetUrlAcceptedOrderOk() (*string, bool)
GetUrlAcceptedOrderOk returns a tuple with the UrlAcceptedOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlBulkUpdatePrice ¶
func (o *UrlWebhook) GetUrlBulkUpdatePrice() string
GetUrlBulkUpdatePrice returns the UrlBulkUpdatePrice field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlBulkUpdatePriceOk ¶
func (o *UrlWebhook) GetUrlBulkUpdatePriceOk() (*string, bool)
GetUrlBulkUpdatePriceOk returns a tuple with the UrlBulkUpdatePrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlBulkUpdateStock ¶
func (o *UrlWebhook) GetUrlBulkUpdateStock() string
GetUrlBulkUpdateStock returns the UrlBulkUpdateStock field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlBulkUpdateStockOk ¶
func (o *UrlWebhook) GetUrlBulkUpdateStockOk() (*string, bool)
GetUrlBulkUpdateStockOk returns a tuple with the UrlBulkUpdateStock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlCancelledOrder ¶
func (o *UrlWebhook) GetUrlCancelledOrder() string
GetUrlCancelledOrder returns the UrlCancelledOrder field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlCancelledOrderOk ¶
func (o *UrlWebhook) GetUrlCancelledOrderOk() (*string, bool)
GetUrlCancelledOrderOk returns a tuple with the UrlCancelledOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlCompletedOrder ¶
func (o *UrlWebhook) GetUrlCompletedOrder() string
GetUrlCompletedOrder returns the UrlCompletedOrder field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlCompletedOrderOk ¶
func (o *UrlWebhook) GetUrlCompletedOrderOk() (*string, bool)
GetUrlCompletedOrderOk returns a tuple with the UrlCompletedOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlConnect ¶
func (o *UrlWebhook) GetUrlConnect() string
GetUrlConnect returns the UrlConnect field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlConnectOauth2 ¶
func (o *UrlWebhook) GetUrlConnectOauth2() string
GetUrlConnectOauth2 returns the UrlConnectOauth2 field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlConnectOauth2Ok ¶
func (o *UrlWebhook) GetUrlConnectOauth2Ok() (*string, bool)
GetUrlConnectOauth2Ok returns a tuple with the UrlConnectOauth2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlConnectOk ¶
func (o *UrlWebhook) GetUrlConnectOk() (*string, bool)
GetUrlConnectOk returns a tuple with the UrlConnect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlCreateDiscount ¶
func (o *UrlWebhook) GetUrlCreateDiscount() string
GetUrlCreateDiscount returns the UrlCreateDiscount field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlCreateDiscountOk ¶
func (o *UrlWebhook) GetUrlCreateDiscountOk() (*string, bool)
GetUrlCreateDiscountOk returns a tuple with the UrlCreateDiscount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlDeleteDiscount ¶
func (o *UrlWebhook) GetUrlDeleteDiscount() string
GetUrlDeleteDiscount returns the UrlDeleteDiscount field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlDeleteDiscountOk ¶
func (o *UrlWebhook) GetUrlDeleteDiscountOk() (*string, bool)
GetUrlDeleteDiscountOk returns a tuple with the UrlDeleteDiscount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlDisconnect ¶
func (o *UrlWebhook) GetUrlDisconnect() string
GetUrlDisconnect returns the UrlDisconnect field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlDisconnectOk ¶
func (o *UrlWebhook) GetUrlDisconnectOk() (*string, bool)
GetUrlDisconnectOk returns a tuple with the UrlDisconnect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlFetchAttributes ¶
func (o *UrlWebhook) GetUrlFetchAttributes() string
GetUrlFetchAttributes returns the UrlFetchAttributes field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlFetchAttributesOk ¶
func (o *UrlWebhook) GetUrlFetchAttributesOk() (*string, bool)
GetUrlFetchAttributesOk returns a tuple with the UrlFetchAttributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlFetchCategories ¶
func (o *UrlWebhook) GetUrlFetchCategories() string
GetUrlFetchCategories returns the UrlFetchCategories field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlFetchCategoriesOk ¶
func (o *UrlWebhook) GetUrlFetchCategoriesOk() (*string, bool)
GetUrlFetchCategoriesOk returns a tuple with the UrlFetchCategories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlFetchOrder ¶
func (o *UrlWebhook) GetUrlFetchOrder() string
GetUrlFetchOrder returns the UrlFetchOrder field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlFetchOrderOk ¶
func (o *UrlWebhook) GetUrlFetchOrderOk() (*string, bool)
GetUrlFetchOrderOk returns a tuple with the UrlFetchOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlFetchProduct ¶
func (o *UrlWebhook) GetUrlFetchProduct() string
GetUrlFetchProduct returns the UrlFetchProduct field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlFetchProductOk ¶
func (o *UrlWebhook) GetUrlFetchProductOk() (*string, bool)
GetUrlFetchProductOk returns a tuple with the UrlFetchProduct field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlGenerateShopId ¶
func (o *UrlWebhook) GetUrlGenerateShopId() string
GetUrlGenerateShopId returns the UrlGenerateShopId field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlGenerateShopIdOk ¶
func (o *UrlWebhook) GetUrlGenerateShopIdOk() (*string, bool)
GetUrlGenerateShopIdOk returns a tuple with the UrlGenerateShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlGetShopName ¶
func (o *UrlWebhook) GetUrlGetShopName() string
GetUrlGetShopName returns the UrlGetShopName field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlGetShopNameOk ¶
func (o *UrlWebhook) GetUrlGetShopNameOk() (*string, bool)
GetUrlGetShopNameOk returns a tuple with the UrlGetShopName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlPackedOrder ¶
func (o *UrlWebhook) GetUrlPackedOrder() string
GetUrlPackedOrder returns the UrlPackedOrder field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlPackedOrderOk ¶
func (o *UrlWebhook) GetUrlPackedOrderOk() (*string, bool)
GetUrlPackedOrderOk returns a tuple with the UrlPackedOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlPassthrough ¶
func (o *UrlWebhook) GetUrlPassthrough() string
GetUrlPassthrough returns the UrlPassthrough field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlPassthroughOk ¶
func (o *UrlWebhook) GetUrlPassthroughOk() (*string, bool)
GetUrlPassthroughOk returns a tuple with the UrlPassthrough field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlPullWarehouse ¶
func (o *UrlWebhook) GetUrlPullWarehouse() string
GetUrlPullWarehouse returns the UrlPullWarehouse field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlPullWarehouseOk ¶
func (o *UrlWebhook) GetUrlPullWarehouseOk() (*string, bool)
GetUrlPullWarehouseOk returns a tuple with the UrlPullWarehouse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlShippedOrder ¶
func (o *UrlWebhook) GetUrlShippedOrder() string
GetUrlShippedOrder returns the UrlShippedOrder field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlShippedOrderOk ¶
func (o *UrlWebhook) GetUrlShippedOrderOk() (*string, bool)
GetUrlShippedOrderOk returns a tuple with the UrlShippedOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlUpdatePrice ¶
func (o *UrlWebhook) GetUrlUpdatePrice() string
GetUrlUpdatePrice returns the UrlUpdatePrice field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlUpdatePriceOk ¶
func (o *UrlWebhook) GetUrlUpdatePriceOk() (*string, bool)
GetUrlUpdatePriceOk returns a tuple with the UrlUpdatePrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlUpdateStatusProduct ¶
func (o *UrlWebhook) GetUrlUpdateStatusProduct() string
GetUrlUpdateStatusProduct returns the UrlUpdateStatusProduct field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlUpdateStatusProductOk ¶
func (o *UrlWebhook) GetUrlUpdateStatusProductOk() (*string, bool)
GetUrlUpdateStatusProductOk returns a tuple with the UrlUpdateStatusProduct field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlUpdateStock ¶
func (o *UrlWebhook) GetUrlUpdateStock() string
GetUrlUpdateStock returns the UrlUpdateStock field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlUpdateStockOk ¶
func (o *UrlWebhook) GetUrlUpdateStockOk() (*string, bool)
GetUrlUpdateStockOk returns a tuple with the UrlUpdateStock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlUpsertProduct ¶
func (o *UrlWebhook) GetUrlUpsertProduct() string
GetUrlUpsertProduct returns the UrlUpsertProduct field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlUpsertProductOk ¶
func (o *UrlWebhook) GetUrlUpsertProductOk() (*string, bool)
GetUrlUpsertProductOk returns a tuple with the UrlUpsertProduct field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlWebhookCancelOrder ¶
func (o *UrlWebhook) GetUrlWebhookCancelOrder() string
GetUrlWebhookCancelOrder returns the UrlWebhookCancelOrder field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlWebhookCancelOrderOk ¶
func (o *UrlWebhook) GetUrlWebhookCancelOrderOk() (*string, bool)
GetUrlWebhookCancelOrderOk returns a tuple with the UrlWebhookCancelOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlWebhookNewOrder ¶
func (o *UrlWebhook) GetUrlWebhookNewOrder() string
GetUrlWebhookNewOrder returns the UrlWebhookNewOrder field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlWebhookNewOrderOk ¶
func (o *UrlWebhook) GetUrlWebhookNewOrderOk() (*string, bool)
GetUrlWebhookNewOrderOk returns a tuple with the UrlWebhookNewOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) GetUrlWebhookUpsertOrder ¶
func (o *UrlWebhook) GetUrlWebhookUpsertOrder() string
GetUrlWebhookUpsertOrder returns the UrlWebhookUpsertOrder field value if set, zero value otherwise.
func (*UrlWebhook) GetUrlWebhookUpsertOrderOk ¶
func (o *UrlWebhook) GetUrlWebhookUpsertOrderOk() (*string, bool)
GetUrlWebhookUpsertOrderOk returns a tuple with the UrlWebhookUpsertOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhook) HasUrlAcceptedOrder ¶
func (o *UrlWebhook) HasUrlAcceptedOrder() bool
HasUrlAcceptedOrder returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlBulkUpdatePrice ¶
func (o *UrlWebhook) HasUrlBulkUpdatePrice() bool
HasUrlBulkUpdatePrice returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlBulkUpdateStock ¶
func (o *UrlWebhook) HasUrlBulkUpdateStock() bool
HasUrlBulkUpdateStock returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlCancelledOrder ¶
func (o *UrlWebhook) HasUrlCancelledOrder() bool
HasUrlCancelledOrder returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlCompletedOrder ¶
func (o *UrlWebhook) HasUrlCompletedOrder() bool
HasUrlCompletedOrder returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlConnect ¶
func (o *UrlWebhook) HasUrlConnect() bool
HasUrlConnect returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlConnectOauth2 ¶
func (o *UrlWebhook) HasUrlConnectOauth2() bool
HasUrlConnectOauth2 returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlCreateDiscount ¶
func (o *UrlWebhook) HasUrlCreateDiscount() bool
HasUrlCreateDiscount returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlDeleteDiscount ¶
func (o *UrlWebhook) HasUrlDeleteDiscount() bool
HasUrlDeleteDiscount returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlDisconnect ¶
func (o *UrlWebhook) HasUrlDisconnect() bool
HasUrlDisconnect returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlFetchAttributes ¶
func (o *UrlWebhook) HasUrlFetchAttributes() bool
HasUrlFetchAttributes returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlFetchCategories ¶
func (o *UrlWebhook) HasUrlFetchCategories() bool
HasUrlFetchCategories returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlFetchOrder ¶
func (o *UrlWebhook) HasUrlFetchOrder() bool
HasUrlFetchOrder returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlFetchProduct ¶
func (o *UrlWebhook) HasUrlFetchProduct() bool
HasUrlFetchProduct returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlGenerateShopId ¶
func (o *UrlWebhook) HasUrlGenerateShopId() bool
HasUrlGenerateShopId returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlGetShopName ¶
func (o *UrlWebhook) HasUrlGetShopName() bool
HasUrlGetShopName returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlPackedOrder ¶
func (o *UrlWebhook) HasUrlPackedOrder() bool
HasUrlPackedOrder returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlPassthrough ¶
func (o *UrlWebhook) HasUrlPassthrough() bool
HasUrlPassthrough returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlPullWarehouse ¶
func (o *UrlWebhook) HasUrlPullWarehouse() bool
HasUrlPullWarehouse returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlShippedOrder ¶
func (o *UrlWebhook) HasUrlShippedOrder() bool
HasUrlShippedOrder returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlUpdatePrice ¶
func (o *UrlWebhook) HasUrlUpdatePrice() bool
HasUrlUpdatePrice returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlUpdateStatusProduct ¶
func (o *UrlWebhook) HasUrlUpdateStatusProduct() bool
HasUrlUpdateStatusProduct returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlUpdateStock ¶
func (o *UrlWebhook) HasUrlUpdateStock() bool
HasUrlUpdateStock returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlUpsertProduct ¶
func (o *UrlWebhook) HasUrlUpsertProduct() bool
HasUrlUpsertProduct returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlWebhookCancelOrder ¶
func (o *UrlWebhook) HasUrlWebhookCancelOrder() bool
HasUrlWebhookCancelOrder returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlWebhookNewOrder ¶
func (o *UrlWebhook) HasUrlWebhookNewOrder() bool
HasUrlWebhookNewOrder returns a boolean if a field has been set.
func (*UrlWebhook) HasUrlWebhookUpsertOrder ¶
func (o *UrlWebhook) HasUrlWebhookUpsertOrder() bool
HasUrlWebhookUpsertOrder returns a boolean if a field has been set.
func (UrlWebhook) MarshalJSON ¶
func (o UrlWebhook) MarshalJSON() ([]byte, error)
func (*UrlWebhook) SetUrlAcceptedOrder ¶
func (o *UrlWebhook) SetUrlAcceptedOrder(v string)
SetUrlAcceptedOrder gets a reference to the given string and assigns it to the UrlAcceptedOrder field.
func (*UrlWebhook) SetUrlBulkUpdatePrice ¶
func (o *UrlWebhook) SetUrlBulkUpdatePrice(v string)
SetUrlBulkUpdatePrice gets a reference to the given string and assigns it to the UrlBulkUpdatePrice field.
func (*UrlWebhook) SetUrlBulkUpdateStock ¶
func (o *UrlWebhook) SetUrlBulkUpdateStock(v string)
SetUrlBulkUpdateStock gets a reference to the given string and assigns it to the UrlBulkUpdateStock field.
func (*UrlWebhook) SetUrlCancelledOrder ¶
func (o *UrlWebhook) SetUrlCancelledOrder(v string)
SetUrlCancelledOrder gets a reference to the given string and assigns it to the UrlCancelledOrder field.
func (*UrlWebhook) SetUrlCompletedOrder ¶
func (o *UrlWebhook) SetUrlCompletedOrder(v string)
SetUrlCompletedOrder gets a reference to the given string and assigns it to the UrlCompletedOrder field.
func (*UrlWebhook) SetUrlConnect ¶
func (o *UrlWebhook) SetUrlConnect(v string)
SetUrlConnect gets a reference to the given string and assigns it to the UrlConnect field.
func (*UrlWebhook) SetUrlConnectOauth2 ¶
func (o *UrlWebhook) SetUrlConnectOauth2(v string)
SetUrlConnectOauth2 gets a reference to the given string and assigns it to the UrlConnectOauth2 field.
func (*UrlWebhook) SetUrlCreateDiscount ¶
func (o *UrlWebhook) SetUrlCreateDiscount(v string)
SetUrlCreateDiscount gets a reference to the given string and assigns it to the UrlCreateDiscount field.
func (*UrlWebhook) SetUrlDeleteDiscount ¶
func (o *UrlWebhook) SetUrlDeleteDiscount(v string)
SetUrlDeleteDiscount gets a reference to the given string and assigns it to the UrlDeleteDiscount field.
func (*UrlWebhook) SetUrlDisconnect ¶
func (o *UrlWebhook) SetUrlDisconnect(v string)
SetUrlDisconnect gets a reference to the given string and assigns it to the UrlDisconnect field.
func (*UrlWebhook) SetUrlFetchAttributes ¶
func (o *UrlWebhook) SetUrlFetchAttributes(v string)
SetUrlFetchAttributes gets a reference to the given string and assigns it to the UrlFetchAttributes field.
func (*UrlWebhook) SetUrlFetchCategories ¶
func (o *UrlWebhook) SetUrlFetchCategories(v string)
SetUrlFetchCategories gets a reference to the given string and assigns it to the UrlFetchCategories field.
func (*UrlWebhook) SetUrlFetchOrder ¶
func (o *UrlWebhook) SetUrlFetchOrder(v string)
SetUrlFetchOrder gets a reference to the given string and assigns it to the UrlFetchOrder field.
func (*UrlWebhook) SetUrlFetchProduct ¶
func (o *UrlWebhook) SetUrlFetchProduct(v string)
SetUrlFetchProduct gets a reference to the given string and assigns it to the UrlFetchProduct field.
func (*UrlWebhook) SetUrlGenerateShopId ¶
func (o *UrlWebhook) SetUrlGenerateShopId(v string)
SetUrlGenerateShopId gets a reference to the given string and assigns it to the UrlGenerateShopId field.
func (*UrlWebhook) SetUrlGetShopName ¶
func (o *UrlWebhook) SetUrlGetShopName(v string)
SetUrlGetShopName gets a reference to the given string and assigns it to the UrlGetShopName field.
func (*UrlWebhook) SetUrlPackedOrder ¶
func (o *UrlWebhook) SetUrlPackedOrder(v string)
SetUrlPackedOrder gets a reference to the given string and assigns it to the UrlPackedOrder field.
func (*UrlWebhook) SetUrlPassthrough ¶
func (o *UrlWebhook) SetUrlPassthrough(v string)
SetUrlPassthrough gets a reference to the given string and assigns it to the UrlPassthrough field.
func (*UrlWebhook) SetUrlPullWarehouse ¶
func (o *UrlWebhook) SetUrlPullWarehouse(v string)
SetUrlPullWarehouse gets a reference to the given string and assigns it to the UrlPullWarehouse field.
func (*UrlWebhook) SetUrlShippedOrder ¶
func (o *UrlWebhook) SetUrlShippedOrder(v string)
SetUrlShippedOrder gets a reference to the given string and assigns it to the UrlShippedOrder field.
func (*UrlWebhook) SetUrlUpdatePrice ¶
func (o *UrlWebhook) SetUrlUpdatePrice(v string)
SetUrlUpdatePrice gets a reference to the given string and assigns it to the UrlUpdatePrice field.
func (*UrlWebhook) SetUrlUpdateStatusProduct ¶
func (o *UrlWebhook) SetUrlUpdateStatusProduct(v string)
SetUrlUpdateStatusProduct gets a reference to the given string and assigns it to the UrlUpdateStatusProduct field.
func (*UrlWebhook) SetUrlUpdateStock ¶
func (o *UrlWebhook) SetUrlUpdateStock(v string)
SetUrlUpdateStock gets a reference to the given string and assigns it to the UrlUpdateStock field.
func (*UrlWebhook) SetUrlUpsertProduct ¶
func (o *UrlWebhook) SetUrlUpsertProduct(v string)
SetUrlUpsertProduct gets a reference to the given string and assigns it to the UrlUpsertProduct field.
func (*UrlWebhook) SetUrlWebhookCancelOrder ¶
func (o *UrlWebhook) SetUrlWebhookCancelOrder(v string)
SetUrlWebhookCancelOrder gets a reference to the given string and assigns it to the UrlWebhookCancelOrder field.
func (*UrlWebhook) SetUrlWebhookNewOrder ¶
func (o *UrlWebhook) SetUrlWebhookNewOrder(v string)
SetUrlWebhookNewOrder gets a reference to the given string and assigns it to the UrlWebhookNewOrder field.
func (*UrlWebhook) SetUrlWebhookUpsertOrder ¶
func (o *UrlWebhook) SetUrlWebhookUpsertOrder(v string)
SetUrlWebhookUpsertOrder gets a reference to the given string and assigns it to the UrlWebhookUpsertOrder field.
func (UrlWebhook) ToMap ¶
func (o UrlWebhook) ToMap() (map[string]interface{}, error)
type UrlWebhookInput ¶
type UrlWebhookInput struct { UrlConnect string `json:"url_connect"` UrlAcceptedOrder string `json:"url_accepted_order"` UrlPackedOrder string `json:"url_packed_order"` UrlShippedOrder string `json:"url_shipped_order"` UrlCompletedOrder string `json:"url_completed_order"` UrlCancelledOrder string `json:"url_cancelled_order"` UrlUpdateStock string `json:"url_update_stock"` UrlUpsertProduct string `json:"url_upsert_product"` }
UrlWebhookInput struct for UrlWebhookInput
func NewUrlWebhookInput ¶
func NewUrlWebhookInput(urlConnect string, urlAcceptedOrder string, urlPackedOrder string, urlShippedOrder string, urlCompletedOrder string, urlCancelledOrder string, urlUpdateStock string, urlUpsertProduct string) *UrlWebhookInput
NewUrlWebhookInput instantiates a new UrlWebhookInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUrlWebhookInputWithDefaults ¶
func NewUrlWebhookInputWithDefaults() *UrlWebhookInput
NewUrlWebhookInputWithDefaults instantiates a new UrlWebhookInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UrlWebhookInput) GetUrlAcceptedOrder ¶
func (o *UrlWebhookInput) GetUrlAcceptedOrder() string
GetUrlAcceptedOrder returns the UrlAcceptedOrder field value
func (*UrlWebhookInput) GetUrlAcceptedOrderOk ¶
func (o *UrlWebhookInput) GetUrlAcceptedOrderOk() (*string, bool)
GetUrlAcceptedOrderOk returns a tuple with the UrlAcceptedOrder field value and a boolean to check if the value has been set.
func (*UrlWebhookInput) GetUrlCancelledOrder ¶
func (o *UrlWebhookInput) GetUrlCancelledOrder() string
GetUrlCancelledOrder returns the UrlCancelledOrder field value
func (*UrlWebhookInput) GetUrlCancelledOrderOk ¶
func (o *UrlWebhookInput) GetUrlCancelledOrderOk() (*string, bool)
GetUrlCancelledOrderOk returns a tuple with the UrlCancelledOrder field value and a boolean to check if the value has been set.
func (*UrlWebhookInput) GetUrlCompletedOrder ¶
func (o *UrlWebhookInput) GetUrlCompletedOrder() string
GetUrlCompletedOrder returns the UrlCompletedOrder field value
func (*UrlWebhookInput) GetUrlCompletedOrderOk ¶
func (o *UrlWebhookInput) GetUrlCompletedOrderOk() (*string, bool)
GetUrlCompletedOrderOk returns a tuple with the UrlCompletedOrder field value and a boolean to check if the value has been set.
func (*UrlWebhookInput) GetUrlConnect ¶
func (o *UrlWebhookInput) GetUrlConnect() string
GetUrlConnect returns the UrlConnect field value
func (*UrlWebhookInput) GetUrlConnectOk ¶
func (o *UrlWebhookInput) GetUrlConnectOk() (*string, bool)
GetUrlConnectOk returns a tuple with the UrlConnect field value and a boolean to check if the value has been set.
func (*UrlWebhookInput) GetUrlPackedOrder ¶
func (o *UrlWebhookInput) GetUrlPackedOrder() string
GetUrlPackedOrder returns the UrlPackedOrder field value
func (*UrlWebhookInput) GetUrlPackedOrderOk ¶
func (o *UrlWebhookInput) GetUrlPackedOrderOk() (*string, bool)
GetUrlPackedOrderOk returns a tuple with the UrlPackedOrder field value and a boolean to check if the value has been set.
func (*UrlWebhookInput) GetUrlShippedOrder ¶
func (o *UrlWebhookInput) GetUrlShippedOrder() string
GetUrlShippedOrder returns the UrlShippedOrder field value
func (*UrlWebhookInput) GetUrlShippedOrderOk ¶
func (o *UrlWebhookInput) GetUrlShippedOrderOk() (*string, bool)
GetUrlShippedOrderOk returns a tuple with the UrlShippedOrder field value and a boolean to check if the value has been set.
func (*UrlWebhookInput) GetUrlUpdateStock ¶
func (o *UrlWebhookInput) GetUrlUpdateStock() string
GetUrlUpdateStock returns the UrlUpdateStock field value
func (*UrlWebhookInput) GetUrlUpdateStockOk ¶
func (o *UrlWebhookInput) GetUrlUpdateStockOk() (*string, bool)
GetUrlUpdateStockOk returns a tuple with the UrlUpdateStock field value and a boolean to check if the value has been set.
func (*UrlWebhookInput) GetUrlUpsertProduct ¶
func (o *UrlWebhookInput) GetUrlUpsertProduct() string
GetUrlUpsertProduct returns the UrlUpsertProduct field value
func (*UrlWebhookInput) GetUrlUpsertProductOk ¶
func (o *UrlWebhookInput) GetUrlUpsertProductOk() (*string, bool)
GetUrlUpsertProductOk returns a tuple with the UrlUpsertProduct field value and a boolean to check if the value has been set.
func (UrlWebhookInput) MarshalJSON ¶
func (o UrlWebhookInput) MarshalJSON() ([]byte, error)
func (*UrlWebhookInput) SetUrlAcceptedOrder ¶
func (o *UrlWebhookInput) SetUrlAcceptedOrder(v string)
SetUrlAcceptedOrder sets field value
func (*UrlWebhookInput) SetUrlCancelledOrder ¶
func (o *UrlWebhookInput) SetUrlCancelledOrder(v string)
SetUrlCancelledOrder sets field value
func (*UrlWebhookInput) SetUrlCompletedOrder ¶
func (o *UrlWebhookInput) SetUrlCompletedOrder(v string)
SetUrlCompletedOrder sets field value
func (*UrlWebhookInput) SetUrlConnect ¶
func (o *UrlWebhookInput) SetUrlConnect(v string)
SetUrlConnect sets field value
func (*UrlWebhookInput) SetUrlPackedOrder ¶
func (o *UrlWebhookInput) SetUrlPackedOrder(v string)
SetUrlPackedOrder sets field value
func (*UrlWebhookInput) SetUrlShippedOrder ¶
func (o *UrlWebhookInput) SetUrlShippedOrder(v string)
SetUrlShippedOrder sets field value
func (*UrlWebhookInput) SetUrlUpdateStock ¶
func (o *UrlWebhookInput) SetUrlUpdateStock(v string)
SetUrlUpdateStock sets field value
func (*UrlWebhookInput) SetUrlUpsertProduct ¶
func (o *UrlWebhookInput) SetUrlUpsertProduct(v string)
SetUrlUpsertProduct sets field value
func (UrlWebhookInput) ToMap ¶
func (o UrlWebhookInput) ToMap() (map[string]interface{}, error)
type UrlWebhookUpdateInput ¶
type UrlWebhookUpdateInput struct { UrlConnect string `json:"url_connect"` UrlDisconnect string `json:"url_disconnect"` UrlAcceptedOrder string `json:"url_accepted_order"` UrlPackedOrder string `json:"url_packed_order"` UrlShippedOrder *string `json:"url_shipped_order,omitempty"` UrlCompletedOrder *string `json:"url_completed_order,omitempty"` UrlCancelledOrder string `json:"url_cancelled_order"` UrlUpdateStock string `json:"url_update_stock"` UrlBulkUpdateStock *string `json:"url_bulk_update_stock,omitempty"` UrlUpsertProduct *string `json:"url_upsert_product,omitempty"` UrlFetchProduct *string `json:"url_fetch_product,omitempty"` UrlFetchOrder *string `json:"url_fetch_order,omitempty"` UrlConnectOauth2 *string `json:"url_connect_oauth2,omitempty"` UrlUpdatePrice *string `json:"url_update_price,omitempty"` UrlBulkUpdatePrice *string `json:"url_bulk_update_price,omitempty"` UrlCreateDiscount *string `json:"url_create_discount,omitempty"` UrlDeleteDiscount *string `json:"url_delete_discount,omitempty"` }
UrlWebhookUpdateInput struct for UrlWebhookUpdateInput
func NewUrlWebhookUpdateInput ¶
func NewUrlWebhookUpdateInput(urlConnect string, urlDisconnect string, urlAcceptedOrder string, urlPackedOrder string, urlCancelledOrder string, urlUpdateStock string) *UrlWebhookUpdateInput
NewUrlWebhookUpdateInput instantiates a new UrlWebhookUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUrlWebhookUpdateInputWithDefaults ¶
func NewUrlWebhookUpdateInputWithDefaults() *UrlWebhookUpdateInput
NewUrlWebhookUpdateInputWithDefaults instantiates a new UrlWebhookUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UrlWebhookUpdateInput) GetUrlAcceptedOrder ¶
func (o *UrlWebhookUpdateInput) GetUrlAcceptedOrder() string
GetUrlAcceptedOrder returns the UrlAcceptedOrder field value
func (*UrlWebhookUpdateInput) GetUrlAcceptedOrderOk ¶
func (o *UrlWebhookUpdateInput) GetUrlAcceptedOrderOk() (*string, bool)
GetUrlAcceptedOrderOk returns a tuple with the UrlAcceptedOrder field value and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlBulkUpdatePrice ¶
func (o *UrlWebhookUpdateInput) GetUrlBulkUpdatePrice() string
GetUrlBulkUpdatePrice returns the UrlBulkUpdatePrice field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlBulkUpdatePriceOk ¶
func (o *UrlWebhookUpdateInput) GetUrlBulkUpdatePriceOk() (*string, bool)
GetUrlBulkUpdatePriceOk returns a tuple with the UrlBulkUpdatePrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlBulkUpdateStock ¶
func (o *UrlWebhookUpdateInput) GetUrlBulkUpdateStock() string
GetUrlBulkUpdateStock returns the UrlBulkUpdateStock field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlBulkUpdateStockOk ¶
func (o *UrlWebhookUpdateInput) GetUrlBulkUpdateStockOk() (*string, bool)
GetUrlBulkUpdateStockOk returns a tuple with the UrlBulkUpdateStock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlCancelledOrder ¶
func (o *UrlWebhookUpdateInput) GetUrlCancelledOrder() string
GetUrlCancelledOrder returns the UrlCancelledOrder field value
func (*UrlWebhookUpdateInput) GetUrlCancelledOrderOk ¶
func (o *UrlWebhookUpdateInput) GetUrlCancelledOrderOk() (*string, bool)
GetUrlCancelledOrderOk returns a tuple with the UrlCancelledOrder field value and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlCompletedOrder ¶
func (o *UrlWebhookUpdateInput) GetUrlCompletedOrder() string
GetUrlCompletedOrder returns the UrlCompletedOrder field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlCompletedOrderOk ¶
func (o *UrlWebhookUpdateInput) GetUrlCompletedOrderOk() (*string, bool)
GetUrlCompletedOrderOk returns a tuple with the UrlCompletedOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlConnect ¶
func (o *UrlWebhookUpdateInput) GetUrlConnect() string
GetUrlConnect returns the UrlConnect field value
func (*UrlWebhookUpdateInput) GetUrlConnectOauth2 ¶
func (o *UrlWebhookUpdateInput) GetUrlConnectOauth2() string
GetUrlConnectOauth2 returns the UrlConnectOauth2 field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlConnectOauth2Ok ¶
func (o *UrlWebhookUpdateInput) GetUrlConnectOauth2Ok() (*string, bool)
GetUrlConnectOauth2Ok returns a tuple with the UrlConnectOauth2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlConnectOk ¶
func (o *UrlWebhookUpdateInput) GetUrlConnectOk() (*string, bool)
GetUrlConnectOk returns a tuple with the UrlConnect field value and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlCreateDiscount ¶
func (o *UrlWebhookUpdateInput) GetUrlCreateDiscount() string
GetUrlCreateDiscount returns the UrlCreateDiscount field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlCreateDiscountOk ¶
func (o *UrlWebhookUpdateInput) GetUrlCreateDiscountOk() (*string, bool)
GetUrlCreateDiscountOk returns a tuple with the UrlCreateDiscount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlDeleteDiscount ¶
func (o *UrlWebhookUpdateInput) GetUrlDeleteDiscount() string
GetUrlDeleteDiscount returns the UrlDeleteDiscount field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlDeleteDiscountOk ¶
func (o *UrlWebhookUpdateInput) GetUrlDeleteDiscountOk() (*string, bool)
GetUrlDeleteDiscountOk returns a tuple with the UrlDeleteDiscount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlDisconnect ¶
func (o *UrlWebhookUpdateInput) GetUrlDisconnect() string
GetUrlDisconnect returns the UrlDisconnect field value
func (*UrlWebhookUpdateInput) GetUrlDisconnectOk ¶
func (o *UrlWebhookUpdateInput) GetUrlDisconnectOk() (*string, bool)
GetUrlDisconnectOk returns a tuple with the UrlDisconnect field value and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlFetchOrder ¶
func (o *UrlWebhookUpdateInput) GetUrlFetchOrder() string
GetUrlFetchOrder returns the UrlFetchOrder field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlFetchOrderOk ¶
func (o *UrlWebhookUpdateInput) GetUrlFetchOrderOk() (*string, bool)
GetUrlFetchOrderOk returns a tuple with the UrlFetchOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlFetchProduct ¶
func (o *UrlWebhookUpdateInput) GetUrlFetchProduct() string
GetUrlFetchProduct returns the UrlFetchProduct field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlFetchProductOk ¶
func (o *UrlWebhookUpdateInput) GetUrlFetchProductOk() (*string, bool)
GetUrlFetchProductOk returns a tuple with the UrlFetchProduct field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlPackedOrder ¶
func (o *UrlWebhookUpdateInput) GetUrlPackedOrder() string
GetUrlPackedOrder returns the UrlPackedOrder field value
func (*UrlWebhookUpdateInput) GetUrlPackedOrderOk ¶
func (o *UrlWebhookUpdateInput) GetUrlPackedOrderOk() (*string, bool)
GetUrlPackedOrderOk returns a tuple with the UrlPackedOrder field value and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlShippedOrder ¶
func (o *UrlWebhookUpdateInput) GetUrlShippedOrder() string
GetUrlShippedOrder returns the UrlShippedOrder field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlShippedOrderOk ¶
func (o *UrlWebhookUpdateInput) GetUrlShippedOrderOk() (*string, bool)
GetUrlShippedOrderOk returns a tuple with the UrlShippedOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlUpdatePrice ¶
func (o *UrlWebhookUpdateInput) GetUrlUpdatePrice() string
GetUrlUpdatePrice returns the UrlUpdatePrice field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlUpdatePriceOk ¶
func (o *UrlWebhookUpdateInput) GetUrlUpdatePriceOk() (*string, bool)
GetUrlUpdatePriceOk returns a tuple with the UrlUpdatePrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlUpdateStock ¶
func (o *UrlWebhookUpdateInput) GetUrlUpdateStock() string
GetUrlUpdateStock returns the UrlUpdateStock field value
func (*UrlWebhookUpdateInput) GetUrlUpdateStockOk ¶
func (o *UrlWebhookUpdateInput) GetUrlUpdateStockOk() (*string, bool)
GetUrlUpdateStockOk returns a tuple with the UrlUpdateStock field value and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) GetUrlUpsertProduct ¶
func (o *UrlWebhookUpdateInput) GetUrlUpsertProduct() string
GetUrlUpsertProduct returns the UrlUpsertProduct field value if set, zero value otherwise.
func (*UrlWebhookUpdateInput) GetUrlUpsertProductOk ¶
func (o *UrlWebhookUpdateInput) GetUrlUpsertProductOk() (*string, bool)
GetUrlUpsertProductOk returns a tuple with the UrlUpsertProduct field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlWebhookUpdateInput) HasUrlBulkUpdatePrice ¶
func (o *UrlWebhookUpdateInput) HasUrlBulkUpdatePrice() bool
HasUrlBulkUpdatePrice returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlBulkUpdateStock ¶
func (o *UrlWebhookUpdateInput) HasUrlBulkUpdateStock() bool
HasUrlBulkUpdateStock returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlCompletedOrder ¶
func (o *UrlWebhookUpdateInput) HasUrlCompletedOrder() bool
HasUrlCompletedOrder returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlConnectOauth2 ¶
func (o *UrlWebhookUpdateInput) HasUrlConnectOauth2() bool
HasUrlConnectOauth2 returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlCreateDiscount ¶
func (o *UrlWebhookUpdateInput) HasUrlCreateDiscount() bool
HasUrlCreateDiscount returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlDeleteDiscount ¶
func (o *UrlWebhookUpdateInput) HasUrlDeleteDiscount() bool
HasUrlDeleteDiscount returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlFetchOrder ¶
func (o *UrlWebhookUpdateInput) HasUrlFetchOrder() bool
HasUrlFetchOrder returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlFetchProduct ¶
func (o *UrlWebhookUpdateInput) HasUrlFetchProduct() bool
HasUrlFetchProduct returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlShippedOrder ¶
func (o *UrlWebhookUpdateInput) HasUrlShippedOrder() bool
HasUrlShippedOrder returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlUpdatePrice ¶
func (o *UrlWebhookUpdateInput) HasUrlUpdatePrice() bool
HasUrlUpdatePrice returns a boolean if a field has been set.
func (*UrlWebhookUpdateInput) HasUrlUpsertProduct ¶
func (o *UrlWebhookUpdateInput) HasUrlUpsertProduct() bool
HasUrlUpsertProduct returns a boolean if a field has been set.
func (UrlWebhookUpdateInput) MarshalJSON ¶
func (o UrlWebhookUpdateInput) MarshalJSON() ([]byte, error)
func (*UrlWebhookUpdateInput) SetUrlAcceptedOrder ¶
func (o *UrlWebhookUpdateInput) SetUrlAcceptedOrder(v string)
SetUrlAcceptedOrder sets field value
func (*UrlWebhookUpdateInput) SetUrlBulkUpdatePrice ¶
func (o *UrlWebhookUpdateInput) SetUrlBulkUpdatePrice(v string)
SetUrlBulkUpdatePrice gets a reference to the given string and assigns it to the UrlBulkUpdatePrice field.
func (*UrlWebhookUpdateInput) SetUrlBulkUpdateStock ¶
func (o *UrlWebhookUpdateInput) SetUrlBulkUpdateStock(v string)
SetUrlBulkUpdateStock gets a reference to the given string and assigns it to the UrlBulkUpdateStock field.
func (*UrlWebhookUpdateInput) SetUrlCancelledOrder ¶
func (o *UrlWebhookUpdateInput) SetUrlCancelledOrder(v string)
SetUrlCancelledOrder sets field value
func (*UrlWebhookUpdateInput) SetUrlCompletedOrder ¶
func (o *UrlWebhookUpdateInput) SetUrlCompletedOrder(v string)
SetUrlCompletedOrder gets a reference to the given string and assigns it to the UrlCompletedOrder field.
func (*UrlWebhookUpdateInput) SetUrlConnect ¶
func (o *UrlWebhookUpdateInput) SetUrlConnect(v string)
SetUrlConnect sets field value
func (*UrlWebhookUpdateInput) SetUrlConnectOauth2 ¶
func (o *UrlWebhookUpdateInput) SetUrlConnectOauth2(v string)
SetUrlConnectOauth2 gets a reference to the given string and assigns it to the UrlConnectOauth2 field.
func (*UrlWebhookUpdateInput) SetUrlCreateDiscount ¶
func (o *UrlWebhookUpdateInput) SetUrlCreateDiscount(v string)
SetUrlCreateDiscount gets a reference to the given string and assigns it to the UrlCreateDiscount field.
func (*UrlWebhookUpdateInput) SetUrlDeleteDiscount ¶
func (o *UrlWebhookUpdateInput) SetUrlDeleteDiscount(v string)
SetUrlDeleteDiscount gets a reference to the given string and assigns it to the UrlDeleteDiscount field.
func (*UrlWebhookUpdateInput) SetUrlDisconnect ¶
func (o *UrlWebhookUpdateInput) SetUrlDisconnect(v string)
SetUrlDisconnect sets field value
func (*UrlWebhookUpdateInput) SetUrlFetchOrder ¶
func (o *UrlWebhookUpdateInput) SetUrlFetchOrder(v string)
SetUrlFetchOrder gets a reference to the given string and assigns it to the UrlFetchOrder field.
func (*UrlWebhookUpdateInput) SetUrlFetchProduct ¶
func (o *UrlWebhookUpdateInput) SetUrlFetchProduct(v string)
SetUrlFetchProduct gets a reference to the given string and assigns it to the UrlFetchProduct field.
func (*UrlWebhookUpdateInput) SetUrlPackedOrder ¶
func (o *UrlWebhookUpdateInput) SetUrlPackedOrder(v string)
SetUrlPackedOrder sets field value
func (*UrlWebhookUpdateInput) SetUrlShippedOrder ¶
func (o *UrlWebhookUpdateInput) SetUrlShippedOrder(v string)
SetUrlShippedOrder gets a reference to the given string and assigns it to the UrlShippedOrder field.
func (*UrlWebhookUpdateInput) SetUrlUpdatePrice ¶
func (o *UrlWebhookUpdateInput) SetUrlUpdatePrice(v string)
SetUrlUpdatePrice gets a reference to the given string and assigns it to the UrlUpdatePrice field.
func (*UrlWebhookUpdateInput) SetUrlUpdateStock ¶
func (o *UrlWebhookUpdateInput) SetUrlUpdateStock(v string)
SetUrlUpdateStock sets field value
func (*UrlWebhookUpdateInput) SetUrlUpsertProduct ¶
func (o *UrlWebhookUpdateInput) SetUrlUpsertProduct(v string)
SetUrlUpsertProduct gets a reference to the given string and assigns it to the UrlUpsertProduct field.
func (UrlWebhookUpdateInput) ToMap ¶
func (o UrlWebhookUpdateInput) ToMap() (map[string]interface{}, error)
type VariantAttributeInput ¶
VariantAttributeInput struct for VariantAttributeInput
func NewVariantAttributeInput ¶
func NewVariantAttributeInput(name string, value string) *VariantAttributeInput
NewVariantAttributeInput instantiates a new VariantAttributeInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVariantAttributeInputWithDefaults ¶
func NewVariantAttributeInputWithDefaults() *VariantAttributeInput
NewVariantAttributeInputWithDefaults instantiates a new VariantAttributeInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VariantAttributeInput) GetName ¶
func (o *VariantAttributeInput) GetName() string
GetName returns the Name field value
func (*VariantAttributeInput) GetNameOk ¶
func (o *VariantAttributeInput) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*VariantAttributeInput) GetValue ¶
func (o *VariantAttributeInput) GetValue() string
GetValue returns the Value field value
func (*VariantAttributeInput) GetValueOk ¶
func (o *VariantAttributeInput) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (VariantAttributeInput) MarshalJSON ¶
func (o VariantAttributeInput) MarshalJSON() ([]byte, error)
func (*VariantAttributeInput) SetName ¶
func (o *VariantAttributeInput) SetName(v string)
SetName sets field value
func (*VariantAttributeInput) SetValue ¶
func (o *VariantAttributeInput) SetValue(v string)
SetValue sets field value
func (VariantAttributeInput) ToMap ¶
func (o VariantAttributeInput) ToMap() (map[string]interface{}, error)
type VariantInput ¶
type VariantInput struct { VariantId string `json:"variant_id"` VariantSku string `json:"variant_sku"` VariantName string `json:"variant_name"` Status string `json:"status"` Volume VolumeInput `json:"volume"` Weight float64 `json:"weight"` Attributes []VariantAttributeInput `json:"attributes"` VariantUrl string `json:"variant_url"` CurrencyCode string `json:"currency_code"` Price float64 `json:"price"` ImgUrls []string `json:"img_urls"` }
VariantInput struct for VariantInput
func NewVariantInput ¶
func NewVariantInput(variantId string, variantSku string, variantName string, status string, volume VolumeInput, weight float64, attributes []VariantAttributeInput, variantUrl string, currencyCode string, price float64, imgUrls []string) *VariantInput
NewVariantInput instantiates a new VariantInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVariantInputWithDefaults ¶
func NewVariantInputWithDefaults() *VariantInput
NewVariantInputWithDefaults instantiates a new VariantInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VariantInput) GetAttributes ¶
func (o *VariantInput) GetAttributes() []VariantAttributeInput
GetAttributes returns the Attributes field value
func (*VariantInput) GetAttributesOk ¶
func (o *VariantInput) GetAttributesOk() ([]VariantAttributeInput, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*VariantInput) GetCurrencyCode ¶
func (o *VariantInput) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field value
func (*VariantInput) GetCurrencyCodeOk ¶
func (o *VariantInput) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value and a boolean to check if the value has been set.
func (*VariantInput) GetImgUrls ¶
func (o *VariantInput) GetImgUrls() []string
GetImgUrls returns the ImgUrls field value
func (*VariantInput) GetImgUrlsOk ¶
func (o *VariantInput) GetImgUrlsOk() ([]string, bool)
GetImgUrlsOk returns a tuple with the ImgUrls field value and a boolean to check if the value has been set.
func (*VariantInput) GetPrice ¶
func (o *VariantInput) GetPrice() float64
GetPrice returns the Price field value
func (*VariantInput) GetPriceOk ¶
func (o *VariantInput) GetPriceOk() (*float64, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*VariantInput) GetStatus ¶
func (o *VariantInput) GetStatus() string
GetStatus returns the Status field value
func (*VariantInput) GetStatusOk ¶
func (o *VariantInput) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*VariantInput) GetVariantId ¶
func (o *VariantInput) GetVariantId() string
GetVariantId returns the VariantId field value
func (*VariantInput) GetVariantIdOk ¶
func (o *VariantInput) GetVariantIdOk() (*string, bool)
GetVariantIdOk returns a tuple with the VariantId field value and a boolean to check if the value has been set.
func (*VariantInput) GetVariantName ¶
func (o *VariantInput) GetVariantName() string
GetVariantName returns the VariantName field value
func (*VariantInput) GetVariantNameOk ¶
func (o *VariantInput) GetVariantNameOk() (*string, bool)
GetVariantNameOk returns a tuple with the VariantName field value and a boolean to check if the value has been set.
func (*VariantInput) GetVariantSku ¶
func (o *VariantInput) GetVariantSku() string
GetVariantSku returns the VariantSku field value
func (*VariantInput) GetVariantSkuOk ¶
func (o *VariantInput) GetVariantSkuOk() (*string, bool)
GetVariantSkuOk returns a tuple with the VariantSku field value and a boolean to check if the value has been set.
func (*VariantInput) GetVariantUrl ¶
func (o *VariantInput) GetVariantUrl() string
GetVariantUrl returns the VariantUrl field value
func (*VariantInput) GetVariantUrlOk ¶
func (o *VariantInput) GetVariantUrlOk() (*string, bool)
GetVariantUrlOk returns a tuple with the VariantUrl field value and a boolean to check if the value has been set.
func (*VariantInput) GetVolume ¶
func (o *VariantInput) GetVolume() VolumeInput
GetVolume returns the Volume field value
func (*VariantInput) GetVolumeOk ¶
func (o *VariantInput) GetVolumeOk() (*VolumeInput, bool)
GetVolumeOk returns a tuple with the Volume field value and a boolean to check if the value has been set.
func (*VariantInput) GetWeight ¶
func (o *VariantInput) GetWeight() float64
GetWeight returns the Weight field value
func (*VariantInput) GetWeightOk ¶
func (o *VariantInput) GetWeightOk() (*float64, bool)
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.
func (VariantInput) MarshalJSON ¶
func (o VariantInput) MarshalJSON() ([]byte, error)
func (*VariantInput) SetAttributes ¶
func (o *VariantInput) SetAttributes(v []VariantAttributeInput)
SetAttributes sets field value
func (*VariantInput) SetCurrencyCode ¶
func (o *VariantInput) SetCurrencyCode(v string)
SetCurrencyCode sets field value
func (*VariantInput) SetImgUrls ¶
func (o *VariantInput) SetImgUrls(v []string)
SetImgUrls sets field value
func (*VariantInput) SetPrice ¶
func (o *VariantInput) SetPrice(v float64)
SetPrice sets field value
func (*VariantInput) SetStatus ¶
func (o *VariantInput) SetStatus(v string)
SetStatus sets field value
func (*VariantInput) SetVariantId ¶
func (o *VariantInput) SetVariantId(v string)
SetVariantId sets field value
func (*VariantInput) SetVariantName ¶
func (o *VariantInput) SetVariantName(v string)
SetVariantName sets field value
func (*VariantInput) SetVariantSku ¶
func (o *VariantInput) SetVariantSku(v string)
SetVariantSku sets field value
func (*VariantInput) SetVariantUrl ¶
func (o *VariantInput) SetVariantUrl(v string)
SetVariantUrl sets field value
func (*VariantInput) SetVolume ¶
func (o *VariantInput) SetVolume(v VolumeInput)
SetVolume sets field value
func (*VariantInput) SetWeight ¶
func (o *VariantInput) SetWeight(v float64)
SetWeight sets field value
func (VariantInput) ToMap ¶
func (o VariantInput) ToMap() (map[string]interface{}, error)
type VolumeInput ¶
type VolumeInput struct { Height NullableFloat64 `json:"height"` Length NullableFloat64 `json:"length"` Width NullableFloat64 `json:"width"` }
VolumeInput struct for VolumeInput
func NewVolumeInput ¶
func NewVolumeInput(height NullableFloat64, length NullableFloat64, width NullableFloat64) *VolumeInput
NewVolumeInput instantiates a new VolumeInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeInputWithDefaults ¶
func NewVolumeInputWithDefaults() *VolumeInput
NewVolumeInputWithDefaults instantiates a new VolumeInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VolumeInput) GetHeight ¶
func (o *VolumeInput) GetHeight() float64
GetHeight returns the Height field value If the value is explicit nil, the zero value for float64 will be returned
func (*VolumeInput) GetHeightOk ¶
func (o *VolumeInput) GetHeightOk() (*float64, bool)
GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VolumeInput) GetLength ¶
func (o *VolumeInput) GetLength() float64
GetLength returns the Length field value If the value is explicit nil, the zero value for float64 will be returned
func (*VolumeInput) GetLengthOk ¶
func (o *VolumeInput) GetLengthOk() (*float64, bool)
GetLengthOk returns a tuple with the Length field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VolumeInput) GetWidth ¶
func (o *VolumeInput) GetWidth() float64
GetWidth returns the Width field value If the value is explicit nil, the zero value for float64 will be returned
func (*VolumeInput) GetWidthOk ¶
func (o *VolumeInput) GetWidthOk() (*float64, bool)
GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (VolumeInput) MarshalJSON ¶
func (o VolumeInput) MarshalJSON() ([]byte, error)
func (*VolumeInput) SetHeight ¶
func (o *VolumeInput) SetHeight(v float64)
SetHeight sets field value
func (*VolumeInput) SetLength ¶
func (o *VolumeInput) SetLength(v float64)
SetLength sets field value
func (VolumeInput) ToMap ¶
func (o VolumeInput) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_order.go
- api_product.go
- api_sales_channel.go
- client.go
- configuration.go
- model_error.go
- model_line_item_input.go
- model_order.go
- model_order_input.go
- model_product.go
- model_product_category.go
- model_product_category_attribute.go
- model_product_category_attribute_input.go
- model_product_category_input.go
- model_product_input.go
- model_register_sales_channel_input.go
- model_registered_sales_channel.go
- model_sales_channel.go
- model_update_sales_channel_input.go
- model_upsert_product_categories_response.go
- model_url_info.go
- model_url_info_input.go
- model_url_info_update_input.go
- model_url_webhook.go
- model_url_webhook_input.go
- model_url_webhook_update_input.go
- model_variant_attribute_input.go
- model_variant_input.go
- model_volume_input.go
- response.go
- utils.go