Documentation
¶
Index ¶
- Constants
- 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 ApiCancelCheckoutRequest
- type ApiCancelOrderRequest
- type ApiCreateApiKeyRequest
- func (r ApiCreateApiKeyRequest) AcceptLanguage(acceptLanguage string) ApiCreateApiKeyRequest
- func (r ApiCreateApiKeyRequest) ApiKeyRequest(apiKeyRequest ApiKeyRequest) ApiCreateApiKeyRequest
- func (r ApiCreateApiKeyRequest) Execute() (*ApiKeyCreateResponse, *http.Response, error)
- func (r ApiCreateApiKeyRequest) XChildCompanyId(xChildCompanyId string) ApiCreateApiKeyRequest
- type ApiCreateCheckoutRequest
- func (r ApiCreateCheckoutRequest) AcceptLanguage(acceptLanguage string) ApiCreateCheckoutRequest
- func (r ApiCreateCheckoutRequest) Checkout(checkout Checkout) ApiCreateCheckoutRequest
- func (r ApiCreateCheckoutRequest) Execute() (*CheckoutResponse, *http.Response, error)
- func (r ApiCreateCheckoutRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCheckoutRequest
- type ApiCreateCustomerFiscalEntitiesRequest
- func (r ApiCreateCustomerFiscalEntitiesRequest) AcceptLanguage(acceptLanguage string) ApiCreateCustomerFiscalEntitiesRequest
- func (r ApiCreateCustomerFiscalEntitiesRequest) CustomerFiscalEntitiesRequest(customerFiscalEntitiesRequest CustomerFiscalEntitiesRequest) ApiCreateCustomerFiscalEntitiesRequest
- func (r ApiCreateCustomerFiscalEntitiesRequest) Execute() (*CreateCustomerFiscalEntitiesResponse, *http.Response, error)
- func (r ApiCreateCustomerFiscalEntitiesRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCustomerFiscalEntitiesRequest
- type ApiCreateCustomerPaymentMethodsRequest
- func (r ApiCreateCustomerPaymentMethodsRequest) AcceptLanguage(acceptLanguage string) ApiCreateCustomerPaymentMethodsRequest
- func (r ApiCreateCustomerPaymentMethodsRequest) CreateCustomerPaymentMethodsRequest(createCustomerPaymentMethodsRequest CreateCustomerPaymentMethodsRequest) ApiCreateCustomerPaymentMethodsRequest
- func (r ApiCreateCustomerPaymentMethodsRequest) Execute() (*CreateCustomerPaymentMethodsResponse, *http.Response, error)
- func (r ApiCreateCustomerPaymentMethodsRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCustomerPaymentMethodsRequest
- type ApiCreateCustomerRequest
- func (r ApiCreateCustomerRequest) AcceptLanguage(acceptLanguage string) ApiCreateCustomerRequest
- func (r ApiCreateCustomerRequest) Customer(customer Customer) ApiCreateCustomerRequest
- func (r ApiCreateCustomerRequest) Execute() (*CustomerResponse, *http.Response, error)
- func (r ApiCreateCustomerRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCustomerRequest
- type ApiCreateCustomerShippingContactsRequest
- func (r ApiCreateCustomerShippingContactsRequest) AcceptLanguage(acceptLanguage string) ApiCreateCustomerShippingContactsRequest
- func (r ApiCreateCustomerShippingContactsRequest) CustomerShippingContacts(customerShippingContacts CustomerShippingContacts) ApiCreateCustomerShippingContactsRequest
- func (r ApiCreateCustomerShippingContactsRequest) Execute() (*CustomerShippingContactsResponse, *http.Response, error)
- func (r ApiCreateCustomerShippingContactsRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCustomerShippingContactsRequest
- type ApiCreateOrderRequest
- func (r ApiCreateOrderRequest) AcceptLanguage(acceptLanguage string) ApiCreateOrderRequest
- func (r ApiCreateOrderRequest) Execute() (*OrderResponse, *http.Response, error)
- func (r ApiCreateOrderRequest) OrderRequest(orderRequest OrderRequest) ApiCreateOrderRequest
- func (r ApiCreateOrderRequest) XChildCompanyId(xChildCompanyId string) ApiCreateOrderRequest
- type ApiCreateWebhookKeyRequest
- func (r ApiCreateWebhookKeyRequest) AcceptLanguage(acceptLanguage string) ApiCreateWebhookKeyRequest
- func (r ApiCreateWebhookKeyRequest) Execute() (*WebhookKeyCreateResponse, *http.Response, error)
- func (r ApiCreateWebhookKeyRequest) WebhookKeyRequest(webhookKeyRequest WebhookKeyRequest) ApiCreateWebhookKeyRequest
- type ApiCreateWebhookRequest
- type ApiDeleteApiKeyRequest
- type ApiDeleteCustomerByIdRequest
- func (r ApiDeleteCustomerByIdRequest) AcceptLanguage(acceptLanguage string) ApiDeleteCustomerByIdRequest
- func (r ApiDeleteCustomerByIdRequest) Execute() (*CustomerResponse, *http.Response, error)
- func (r ApiDeleteCustomerByIdRequest) XChildCompanyId(xChildCompanyId string) ApiDeleteCustomerByIdRequest
- type ApiDeleteCustomerPaymentMethodsRequest
- func (r ApiDeleteCustomerPaymentMethodsRequest) AcceptLanguage(acceptLanguage string) ApiDeleteCustomerPaymentMethodsRequest
- func (r ApiDeleteCustomerPaymentMethodsRequest) Execute() (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
- func (r ApiDeleteCustomerPaymentMethodsRequest) XChildCompanyId(xChildCompanyId string) ApiDeleteCustomerPaymentMethodsRequest
- type ApiDeleteCustomerShippingContactsRequest
- func (r ApiDeleteCustomerShippingContactsRequest) AcceptLanguage(acceptLanguage string) ApiDeleteCustomerShippingContactsRequest
- func (r ApiDeleteCustomerShippingContactsRequest) Execute() (*CustomerShippingContactsResponse, *http.Response, error)
- func (r ApiDeleteCustomerShippingContactsRequest) XChildCompanyId(xChildCompanyId string) ApiDeleteCustomerShippingContactsRequest
- type ApiDeleteWebhookKeyRequest
- type ApiDeleteWebhookRequest
- type ApiEmailCheckoutRequest
- func (r ApiEmailCheckoutRequest) AcceptLanguage(acceptLanguage string) ApiEmailCheckoutRequest
- func (r ApiEmailCheckoutRequest) EmailCheckoutRequest(emailCheckoutRequest EmailCheckoutRequest) ApiEmailCheckoutRequest
- func (r ApiEmailCheckoutRequest) Execute() (*CheckoutResponse, *http.Response, error)
- func (r ApiEmailCheckoutRequest) XChildCompanyId(xChildCompanyId string) ApiEmailCheckoutRequest
- type ApiGetApiKeyRequest
- type ApiGetApiKeysRequest
- func (r ApiGetApiKeysRequest) AcceptLanguage(acceptLanguage string) ApiGetApiKeysRequest
- func (r ApiGetApiKeysRequest) Execute() (*GetApiKeysResponse, *http.Response, error)
- func (r ApiGetApiKeysRequest) Limit(limit int32) ApiGetApiKeysRequest
- func (r ApiGetApiKeysRequest) Next(next string) ApiGetApiKeysRequest
- func (r ApiGetApiKeysRequest) Previous(previous string) ApiGetApiKeysRequest
- func (r ApiGetApiKeysRequest) Search(search string) ApiGetApiKeysRequest
- func (r ApiGetApiKeysRequest) XChildCompanyId(xChildCompanyId string) ApiGetApiKeysRequest
- type ApiGetBalanceRequest
- type ApiGetChargesRequest
- func (r ApiGetChargesRequest) AcceptLanguage(acceptLanguage string) ApiGetChargesRequest
- func (r ApiGetChargesRequest) Execute() (*GetChargesResponse, *http.Response, error)
- func (r ApiGetChargesRequest) Limit(limit int32) ApiGetChargesRequest
- func (r ApiGetChargesRequest) Next(next string) ApiGetChargesRequest
- func (r ApiGetChargesRequest) Previous(previous string) ApiGetChargesRequest
- func (r ApiGetChargesRequest) Search(search string) ApiGetChargesRequest
- func (r ApiGetChargesRequest) XChildCompanyId(xChildCompanyId string) ApiGetChargesRequest
- type ApiGetCheckoutRequest
- type ApiGetCheckoutsRequest
- func (r ApiGetCheckoutsRequest) AcceptLanguage(acceptLanguage string) ApiGetCheckoutsRequest
- func (r ApiGetCheckoutsRequest) Execute() (*CheckoutsResponse, *http.Response, error)
- func (r ApiGetCheckoutsRequest) Limit(limit int32) ApiGetCheckoutsRequest
- func (r ApiGetCheckoutsRequest) Next(next string) ApiGetCheckoutsRequest
- func (r ApiGetCheckoutsRequest) Previous(previous string) ApiGetCheckoutsRequest
- func (r ApiGetCheckoutsRequest) Search(search string) ApiGetCheckoutsRequest
- func (r ApiGetCheckoutsRequest) XChildCompanyId(xChildCompanyId string) ApiGetCheckoutsRequest
- type ApiGetCompaniesRequest
- func (r ApiGetCompaniesRequest) AcceptLanguage(acceptLanguage string) ApiGetCompaniesRequest
- func (r ApiGetCompaniesRequest) Execute() (*GetCompaniesResponse, *http.Response, error)
- func (r ApiGetCompaniesRequest) Limit(limit int32) ApiGetCompaniesRequest
- func (r ApiGetCompaniesRequest) Next(next string) ApiGetCompaniesRequest
- func (r ApiGetCompaniesRequest) Previous(previous string) ApiGetCompaniesRequest
- func (r ApiGetCompaniesRequest) Search(search string) ApiGetCompaniesRequest
- type ApiGetCompanyRequest
- type ApiGetCustomerByIdRequest
- type ApiGetCustomerPaymentMethodsRequest
- func (r ApiGetCustomerPaymentMethodsRequest) AcceptLanguage(acceptLanguage string) ApiGetCustomerPaymentMethodsRequest
- func (r ApiGetCustomerPaymentMethodsRequest) Execute() (*GetPaymentMethodResponse, *http.Response, error)
- func (r ApiGetCustomerPaymentMethodsRequest) Limit(limit int32) ApiGetCustomerPaymentMethodsRequest
- func (r ApiGetCustomerPaymentMethodsRequest) Next(next string) ApiGetCustomerPaymentMethodsRequest
- func (r ApiGetCustomerPaymentMethodsRequest) Previous(previous string) ApiGetCustomerPaymentMethodsRequest
- func (r ApiGetCustomerPaymentMethodsRequest) Search(search string) ApiGetCustomerPaymentMethodsRequest
- func (r ApiGetCustomerPaymentMethodsRequest) XChildCompanyId(xChildCompanyId string) ApiGetCustomerPaymentMethodsRequest
- type ApiGetCustomersRequest
- func (r ApiGetCustomersRequest) AcceptLanguage(acceptLanguage string) ApiGetCustomersRequest
- func (r ApiGetCustomersRequest) Execute() (*CustomersResponse, *http.Response, error)
- func (r ApiGetCustomersRequest) Limit(limit int32) ApiGetCustomersRequest
- func (r ApiGetCustomersRequest) Next(next string) ApiGetCustomersRequest
- func (r ApiGetCustomersRequest) Previous(previous string) ApiGetCustomersRequest
- func (r ApiGetCustomersRequest) Search(search string) ApiGetCustomersRequest
- func (r ApiGetCustomersRequest) XChildCompanyId(xChildCompanyId string) ApiGetCustomersRequest
- type ApiGetEventRequest
- type ApiGetEventsRequest
- func (r ApiGetEventsRequest) AcceptLanguage(acceptLanguage string) ApiGetEventsRequest
- func (r ApiGetEventsRequest) Execute() (*GetEventsResponse, *http.Response, error)
- func (r ApiGetEventsRequest) Limit(limit int32) ApiGetEventsRequest
- func (r ApiGetEventsRequest) Next(next string) ApiGetEventsRequest
- func (r ApiGetEventsRequest) Previous(previous string) ApiGetEventsRequest
- func (r ApiGetEventsRequest) Search(search string) ApiGetEventsRequest
- func (r ApiGetEventsRequest) XChildCompanyId(xChildCompanyId string) ApiGetEventsRequest
- type ApiGetLogByIdRequest
- type ApiGetLogsRequest
- func (r ApiGetLogsRequest) AcceptLanguage(acceptLanguage string) ApiGetLogsRequest
- func (r ApiGetLogsRequest) Execute() (*LogsResponse, *http.Response, error)
- func (r ApiGetLogsRequest) Limit(limit int32) ApiGetLogsRequest
- func (r ApiGetLogsRequest) Next(next string) ApiGetLogsRequest
- func (r ApiGetLogsRequest) Previous(previous string) ApiGetLogsRequest
- func (r ApiGetLogsRequest) Search(search string) ApiGetLogsRequest
- func (r ApiGetLogsRequest) XChildCompanyId(xChildCompanyId string) ApiGetLogsRequest
- type ApiGetOrderByIdRequest
- type ApiGetOrdersRequest
- func (r ApiGetOrdersRequest) AcceptLanguage(acceptLanguage string) ApiGetOrdersRequest
- func (r ApiGetOrdersRequest) Execute() (*GetOrdersResponse, *http.Response, error)
- func (r ApiGetOrdersRequest) Limit(limit int32) ApiGetOrdersRequest
- func (r ApiGetOrdersRequest) Next(next string) ApiGetOrdersRequest
- func (r ApiGetOrdersRequest) Previous(previous string) ApiGetOrdersRequest
- func (r ApiGetOrdersRequest) Search(search string) ApiGetOrdersRequest
- func (r ApiGetOrdersRequest) XChildCompanyId(xChildCompanyId string) ApiGetOrdersRequest
- type ApiGetTransactionRequest
- type ApiGetTransactionsRequest
- func (r ApiGetTransactionsRequest) AcceptLanguage(acceptLanguage string) ApiGetTransactionsRequest
- func (r ApiGetTransactionsRequest) ChargeId(chargeId string) ApiGetTransactionsRequest
- func (r ApiGetTransactionsRequest) Currency(currency string) ApiGetTransactionsRequest
- func (r ApiGetTransactionsRequest) Execute() (*GetTransactionsResponse, *http.Response, error)
- func (r ApiGetTransactionsRequest) Id(id string) ApiGetTransactionsRequest
- func (r ApiGetTransactionsRequest) Limit(limit int32) ApiGetTransactionsRequest
- func (r ApiGetTransactionsRequest) Next(next string) ApiGetTransactionsRequest
- func (r ApiGetTransactionsRequest) Previous(previous string) ApiGetTransactionsRequest
- func (r ApiGetTransactionsRequest) Type_(type_ string) ApiGetTransactionsRequest
- func (r ApiGetTransactionsRequest) XChildCompanyId(xChildCompanyId string) ApiGetTransactionsRequest
- type ApiGetTransferRequest
- type ApiGetTransfersRequest
- func (r ApiGetTransfersRequest) AcceptLanguage(acceptLanguage string) ApiGetTransfersRequest
- func (r ApiGetTransfersRequest) Execute() (*GetTransfersResponse, *http.Response, error)
- func (r ApiGetTransfersRequest) Limit(limit int32) ApiGetTransfersRequest
- func (r ApiGetTransfersRequest) Next(next string) ApiGetTransfersRequest
- func (r ApiGetTransfersRequest) Previous(previous string) ApiGetTransfersRequest
- func (r ApiGetTransfersRequest) Search(search string) ApiGetTransfersRequest
- func (r ApiGetTransfersRequest) XChildCompanyId(xChildCompanyId string) ApiGetTransfersRequest
- type ApiGetWebhookKeyRequest
- type ApiGetWebhookKeysRequest
- func (r ApiGetWebhookKeysRequest) AcceptLanguage(acceptLanguage string) ApiGetWebhookKeysRequest
- func (r ApiGetWebhookKeysRequest) Execute() (*GetWebhookKeysResponse, *http.Response, error)
- func (r ApiGetWebhookKeysRequest) Limit(limit int32) ApiGetWebhookKeysRequest
- func (r ApiGetWebhookKeysRequest) Next(next string) ApiGetWebhookKeysRequest
- func (r ApiGetWebhookKeysRequest) Previous(previous string) ApiGetWebhookKeysRequest
- func (r ApiGetWebhookKeysRequest) Search(search string) ApiGetWebhookKeysRequest
- func (r ApiGetWebhookKeysRequest) XChildCompanyId(xChildCompanyId string) ApiGetWebhookKeysRequest
- type ApiGetWebhookRequest
- type ApiGetWebhooksRequest
- func (r ApiGetWebhooksRequest) AcceptLanguage(acceptLanguage string) ApiGetWebhooksRequest
- func (r ApiGetWebhooksRequest) Execute() (*GetWebhooksResponse, *http.Response, error)
- func (r ApiGetWebhooksRequest) Limit(limit int32) ApiGetWebhooksRequest
- func (r ApiGetWebhooksRequest) Next(next string) ApiGetWebhooksRequest
- func (r ApiGetWebhooksRequest) Previous(previous string) ApiGetWebhooksRequest
- func (r ApiGetWebhooksRequest) Search(search string) ApiGetWebhooksRequest
- func (r ApiGetWebhooksRequest) XChildCompanyId(xChildCompanyId string) ApiGetWebhooksRequest
- type ApiKeyCreateResponse
- func (o *ApiKeyCreateResponse) GetActive() bool
- func (o *ApiKeyCreateResponse) GetActiveOk() (*bool, bool)
- func (o *ApiKeyCreateResponse) GetAuthenticationToken() string
- func (o *ApiKeyCreateResponse) GetAuthenticationTokenOk() (*string, bool)
- func (o *ApiKeyCreateResponse) GetCreatedAt() int64
- func (o *ApiKeyCreateResponse) GetCreatedAtOk() (*int64, bool)
- func (o *ApiKeyCreateResponse) GetDeactivatedAt() int64
- func (o *ApiKeyCreateResponse) GetDeactivatedAtOk() (*int64, bool)
- func (o *ApiKeyCreateResponse) GetDeleted() bool
- func (o *ApiKeyCreateResponse) GetDeletedOk() (*bool, bool)
- func (o *ApiKeyCreateResponse) GetDescription() string
- func (o *ApiKeyCreateResponse) GetDescriptionOk() (*string, bool)
- func (o *ApiKeyCreateResponse) GetId() string
- func (o *ApiKeyCreateResponse) GetIdOk() (*string, bool)
- func (o *ApiKeyCreateResponse) GetLivemode() bool
- func (o *ApiKeyCreateResponse) GetLivemodeOk() (*bool, bool)
- func (o *ApiKeyCreateResponse) GetObject() string
- func (o *ApiKeyCreateResponse) GetObjectOk() (*string, bool)
- func (o *ApiKeyCreateResponse) GetPrefix() string
- func (o *ApiKeyCreateResponse) GetPrefixOk() (*string, bool)
- func (o *ApiKeyCreateResponse) GetRole() string
- func (o *ApiKeyCreateResponse) GetRoleOk() (*string, bool)
- func (o *ApiKeyCreateResponse) GetUpdatedAt() int64
- func (o *ApiKeyCreateResponse) GetUpdatedAtOk() (*int64, bool)
- func (o *ApiKeyCreateResponse) HasActive() bool
- func (o *ApiKeyCreateResponse) HasAuthenticationToken() bool
- func (o *ApiKeyCreateResponse) HasCreatedAt() bool
- func (o *ApiKeyCreateResponse) HasDeactivatedAt() bool
- func (o *ApiKeyCreateResponse) HasDeleted() bool
- func (o *ApiKeyCreateResponse) HasDescription() bool
- func (o *ApiKeyCreateResponse) HasId() bool
- func (o *ApiKeyCreateResponse) HasLivemode() bool
- func (o *ApiKeyCreateResponse) HasObject() bool
- func (o *ApiKeyCreateResponse) HasPrefix() bool
- func (o *ApiKeyCreateResponse) HasRole() bool
- func (o *ApiKeyCreateResponse) HasUpdatedAt() bool
- func (o ApiKeyCreateResponse) MarshalJSON() ([]byte, error)
- func (o *ApiKeyCreateResponse) SetActive(v bool)
- func (o *ApiKeyCreateResponse) SetAuthenticationToken(v string)
- func (o *ApiKeyCreateResponse) SetCreatedAt(v int64)
- func (o *ApiKeyCreateResponse) SetDeactivatedAt(v int64)
- func (o *ApiKeyCreateResponse) SetDeactivatedAtNil()
- func (o *ApiKeyCreateResponse) SetDeleted(v bool)
- func (o *ApiKeyCreateResponse) SetDescription(v string)
- func (o *ApiKeyCreateResponse) SetId(v string)
- func (o *ApiKeyCreateResponse) SetLivemode(v bool)
- func (o *ApiKeyCreateResponse) SetObject(v string)
- func (o *ApiKeyCreateResponse) SetPrefix(v string)
- func (o *ApiKeyCreateResponse) SetRole(v string)
- func (o *ApiKeyCreateResponse) SetUpdatedAt(v int64)
- func (o ApiKeyCreateResponse) ToMap() (map[string]interface{}, error)
- func (o *ApiKeyCreateResponse) UnmarshalJSON(data []byte) (err error)
- func (o *ApiKeyCreateResponse) UnsetDeactivatedAt()
- type ApiKeyRequest
- func (o *ApiKeyRequest) GetDescription() string
- func (o *ApiKeyRequest) GetDescriptionOk() (*string, bool)
- func (o *ApiKeyRequest) GetRole() string
- func (o *ApiKeyRequest) GetRoleOk() (*string, bool)
- func (o *ApiKeyRequest) HasDescription() bool
- func (o ApiKeyRequest) MarshalJSON() ([]byte, error)
- func (o *ApiKeyRequest) SetDescription(v string)
- func (o *ApiKeyRequest) SetRole(v string)
- func (o ApiKeyRequest) ToMap() (map[string]interface{}, error)
- func (o *ApiKeyRequest) UnmarshalJSON(data []byte) (err error)
- type ApiKeyResponse
- func (o *ApiKeyResponse) GetActive() bool
- func (o *ApiKeyResponse) GetActiveOk() (*bool, bool)
- func (o *ApiKeyResponse) GetCreatedAt() int64
- func (o *ApiKeyResponse) GetCreatedAtOk() (*int64, bool)
- func (o *ApiKeyResponse) GetDeactivatedAt() int64
- func (o *ApiKeyResponse) GetDeactivatedAtOk() (*int64, bool)
- func (o *ApiKeyResponse) GetDeleted() bool
- func (o *ApiKeyResponse) GetDeletedOk() (*bool, bool)
- func (o *ApiKeyResponse) GetDescription() string
- func (o *ApiKeyResponse) GetDescriptionOk() (*string, bool)
- func (o *ApiKeyResponse) GetId() string
- func (o *ApiKeyResponse) GetIdOk() (*string, bool)
- func (o *ApiKeyResponse) GetLivemode() bool
- func (o *ApiKeyResponse) GetLivemodeOk() (*bool, bool)
- func (o *ApiKeyResponse) GetObject() string
- func (o *ApiKeyResponse) GetObjectOk() (*string, bool)
- func (o *ApiKeyResponse) GetPrefix() string
- func (o *ApiKeyResponse) GetPrefixOk() (*string, bool)
- func (o *ApiKeyResponse) GetRole() string
- func (o *ApiKeyResponse) GetRoleOk() (*string, bool)
- func (o *ApiKeyResponse) GetUpdatedAt() int64
- func (o *ApiKeyResponse) GetUpdatedAtOk() (*int64, bool)
- func (o *ApiKeyResponse) HasActive() bool
- func (o *ApiKeyResponse) HasCreatedAt() bool
- func (o *ApiKeyResponse) HasDeactivatedAt() bool
- func (o *ApiKeyResponse) HasDeleted() bool
- func (o *ApiKeyResponse) HasDescription() bool
- func (o *ApiKeyResponse) HasId() bool
- func (o *ApiKeyResponse) HasLivemode() bool
- func (o *ApiKeyResponse) HasObject() bool
- func (o *ApiKeyResponse) HasPrefix() bool
- func (o *ApiKeyResponse) HasRole() bool
- func (o *ApiKeyResponse) HasUpdatedAt() bool
- func (o ApiKeyResponse) MarshalJSON() ([]byte, error)
- func (o *ApiKeyResponse) SetActive(v bool)
- func (o *ApiKeyResponse) SetCreatedAt(v int64)
- func (o *ApiKeyResponse) SetDeactivatedAt(v int64)
- func (o *ApiKeyResponse) SetDeactivatedAtNil()
- func (o *ApiKeyResponse) SetDeleted(v bool)
- func (o *ApiKeyResponse) SetDescription(v string)
- func (o *ApiKeyResponse) SetId(v string)
- func (o *ApiKeyResponse) SetLivemode(v bool)
- func (o *ApiKeyResponse) SetObject(v string)
- func (o *ApiKeyResponse) SetPrefix(v string)
- func (o *ApiKeyResponse) SetRole(v string)
- func (o *ApiKeyResponse) SetUpdatedAt(v int64)
- func (o ApiKeyResponse) ToMap() (map[string]interface{}, error)
- func (o *ApiKeyResponse) UnmarshalJSON(data []byte) (err error)
- func (o *ApiKeyResponse) UnsetDeactivatedAt()
- type ApiKeyResponseOnDelete
- func (o *ApiKeyResponseOnDelete) GetActive() bool
- func (o *ApiKeyResponseOnDelete) GetActiveOk() (*bool, bool)
- func (o *ApiKeyResponseOnDelete) GetCreatedAt() int64
- func (o *ApiKeyResponseOnDelete) GetCreatedAtOk() (*int64, bool)
- func (o *ApiKeyResponseOnDelete) GetDeleted() bool
- func (o *ApiKeyResponseOnDelete) GetDeletedOk() (*bool, bool)
- func (o *ApiKeyResponseOnDelete) GetDescription() string
- func (o *ApiKeyResponseOnDelete) GetDescriptionOk() (*string, bool)
- func (o *ApiKeyResponseOnDelete) GetId() string
- func (o *ApiKeyResponseOnDelete) GetIdOk() (*string, bool)
- func (o *ApiKeyResponseOnDelete) GetLivemode() bool
- func (o *ApiKeyResponseOnDelete) GetLivemodeOk() (*bool, bool)
- func (o *ApiKeyResponseOnDelete) GetObject() string
- func (o *ApiKeyResponseOnDelete) GetObjectOk() (*string, bool)
- func (o *ApiKeyResponseOnDelete) GetPrefix() string
- func (o *ApiKeyResponseOnDelete) GetPrefixOk() (*string, bool)
- func (o *ApiKeyResponseOnDelete) GetRole() string
- func (o *ApiKeyResponseOnDelete) GetRoleOk() (*string, bool)
- func (o *ApiKeyResponseOnDelete) HasActive() bool
- func (o *ApiKeyResponseOnDelete) HasCreatedAt() bool
- func (o *ApiKeyResponseOnDelete) HasDeleted() bool
- func (o *ApiKeyResponseOnDelete) HasDescription() bool
- func (o *ApiKeyResponseOnDelete) HasId() bool
- func (o *ApiKeyResponseOnDelete) HasLivemode() bool
- func (o *ApiKeyResponseOnDelete) HasObject() bool
- func (o *ApiKeyResponseOnDelete) HasPrefix() bool
- func (o *ApiKeyResponseOnDelete) HasRole() bool
- func (o ApiKeyResponseOnDelete) MarshalJSON() ([]byte, error)
- func (o *ApiKeyResponseOnDelete) SetActive(v bool)
- func (o *ApiKeyResponseOnDelete) SetCreatedAt(v int64)
- func (o *ApiKeyResponseOnDelete) SetDeleted(v bool)
- func (o *ApiKeyResponseOnDelete) SetDescription(v string)
- func (o *ApiKeyResponseOnDelete) SetId(v string)
- func (o *ApiKeyResponseOnDelete) SetLivemode(v bool)
- func (o *ApiKeyResponseOnDelete) SetObject(v string)
- func (o *ApiKeyResponseOnDelete) SetPrefix(v string)
- func (o *ApiKeyResponseOnDelete) SetRole(v string)
- func (o ApiKeyResponseOnDelete) ToMap() (map[string]interface{}, error)
- func (o *ApiKeyResponseOnDelete) UnmarshalJSON(data []byte) (err error)
- type ApiKeyUpdateRequest
- func (o *ApiKeyUpdateRequest) GetActive() bool
- func (o *ApiKeyUpdateRequest) GetActiveOk() (*bool, bool)
- func (o *ApiKeyUpdateRequest) GetDescription() string
- func (o *ApiKeyUpdateRequest) GetDescriptionOk() (*string, bool)
- func (o *ApiKeyUpdateRequest) HasActive() bool
- func (o *ApiKeyUpdateRequest) HasDescription() bool
- func (o ApiKeyUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ApiKeyUpdateRequest) SetActive(v bool)
- func (o *ApiKeyUpdateRequest) SetDescription(v string)
- func (o ApiKeyUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *ApiKeyUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type ApiKeysAPI
- type ApiKeysAPIService
- func (a *ApiKeysAPIService) CreateApiKey(ctx context.Context) ApiCreateApiKeyRequest
- func (a *ApiKeysAPIService) CreateApiKeyExecute(r ApiCreateApiKeyRequest) (*ApiKeyCreateResponse, *http.Response, error)
- func (a *ApiKeysAPIService) DeleteApiKey(ctx context.Context, id string) ApiDeleteApiKeyRequest
- func (a *ApiKeysAPIService) DeleteApiKeyExecute(r ApiDeleteApiKeyRequest) (*DeleteApiKeysResponse, *http.Response, error)
- func (a *ApiKeysAPIService) GetApiKey(ctx context.Context, id string) ApiGetApiKeyRequest
- func (a *ApiKeysAPIService) GetApiKeyExecute(r ApiGetApiKeyRequest) (*ApiKeyResponse, *http.Response, error)
- func (a *ApiKeysAPIService) GetApiKeys(ctx context.Context) ApiGetApiKeysRequest
- func (a *ApiKeysAPIService) GetApiKeysExecute(r ApiGetApiKeysRequest) (*GetApiKeysResponse, *http.Response, error)
- func (a *ApiKeysAPIService) UpdateApiKey(ctx context.Context, id string) ApiUpdateApiKeyRequest
- func (a *ApiKeysAPIService) UpdateApiKeyExecute(r ApiUpdateApiKeyRequest) (*ApiKeyResponse, *http.Response, error)
- type ApiOrderCancelRefundRequest
- type ApiOrderRefundRequest
- func (r ApiOrderRefundRequest) AcceptLanguage(acceptLanguage string) ApiOrderRefundRequest
- func (r ApiOrderRefundRequest) Execute() (*OrderResponse, *http.Response, error)
- func (r ApiOrderRefundRequest) OrderRefundRequest(orderRefundRequest OrderRefundRequest) ApiOrderRefundRequest
- func (r ApiOrderRefundRequest) XChildCompanyId(xChildCompanyId string) ApiOrderRefundRequest
- type ApiOrdersCreateCaptureRequest
- func (r ApiOrdersCreateCaptureRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateCaptureRequest
- func (r ApiOrdersCreateCaptureRequest) Execute() (*OrderResponse, *http.Response, error)
- func (r ApiOrdersCreateCaptureRequest) OrderCaptureRequest(orderCaptureRequest OrderCaptureRequest) ApiOrdersCreateCaptureRequest
- func (r ApiOrdersCreateCaptureRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateCaptureRequest
- type ApiOrdersCreateChargeRequest
- func (r ApiOrdersCreateChargeRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateChargeRequest
- func (r ApiOrdersCreateChargeRequest) ChargeRequest(chargeRequest ChargeRequest) ApiOrdersCreateChargeRequest
- func (r ApiOrdersCreateChargeRequest) Execute() (*ChargeOrderResponse, *http.Response, error)
- func (r ApiOrdersCreateChargeRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateChargeRequest
- type ApiOrdersCreateDiscountLineRequest
- func (r ApiOrdersCreateDiscountLineRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateDiscountLineRequest
- func (r ApiOrdersCreateDiscountLineRequest) Execute() (*DiscountLinesResponse, *http.Response, error)
- func (r ApiOrdersCreateDiscountLineRequest) OrderDiscountLinesRequest(orderDiscountLinesRequest OrderDiscountLinesRequest) ApiOrdersCreateDiscountLineRequest
- func (r ApiOrdersCreateDiscountLineRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateDiscountLineRequest
- type ApiOrdersCreateProductRequest
- func (r ApiOrdersCreateProductRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateProductRequest
- func (r ApiOrdersCreateProductRequest) Execute() (*ProductOrderResponse, *http.Response, error)
- func (r ApiOrdersCreateProductRequest) Product(product Product) ApiOrdersCreateProductRequest
- func (r ApiOrdersCreateProductRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateProductRequest
- type ApiOrdersCreateShippingRequest
- func (r ApiOrdersCreateShippingRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateShippingRequest
- func (r ApiOrdersCreateShippingRequest) Execute() (*ShippingOrderResponse, *http.Response, error)
- func (r ApiOrdersCreateShippingRequest) ShippingRequest(shippingRequest ShippingRequest) ApiOrdersCreateShippingRequest
- func (r ApiOrdersCreateShippingRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateShippingRequest
- type ApiOrdersCreateTaxesRequest
- func (r ApiOrdersCreateTaxesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateTaxesRequest
- func (r ApiOrdersCreateTaxesRequest) Execute() (*UpdateOrderTaxResponse, *http.Response, error)
- func (r ApiOrdersCreateTaxesRequest) OrderTaxRequest(orderTaxRequest OrderTaxRequest) ApiOrdersCreateTaxesRequest
- func (r ApiOrdersCreateTaxesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateTaxesRequest
- type ApiOrdersDeleteDiscountLinesRequest
- func (r ApiOrdersDeleteDiscountLinesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersDeleteDiscountLinesRequest
- func (r ApiOrdersDeleteDiscountLinesRequest) Execute() (*DiscountLinesResponse, *http.Response, error)
- func (r ApiOrdersDeleteDiscountLinesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersDeleteDiscountLinesRequest
- type ApiOrdersDeleteProductRequest
- func (r ApiOrdersDeleteProductRequest) AcceptLanguage(acceptLanguage string) ApiOrdersDeleteProductRequest
- func (r ApiOrdersDeleteProductRequest) Execute() (*ProductOrderResponse, *http.Response, error)
- func (r ApiOrdersDeleteProductRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersDeleteProductRequest
- type ApiOrdersDeleteShippingRequest
- func (r ApiOrdersDeleteShippingRequest) AcceptLanguage(acceptLanguage string) ApiOrdersDeleteShippingRequest
- func (r ApiOrdersDeleteShippingRequest) Execute() (*ShippingOrderResponse, *http.Response, error)
- func (r ApiOrdersDeleteShippingRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersDeleteShippingRequest
- type ApiOrdersDeleteTaxesRequest
- func (r ApiOrdersDeleteTaxesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersDeleteTaxesRequest
- func (r ApiOrdersDeleteTaxesRequest) Execute() (*UpdateOrderTaxResponse, *http.Response, error)
- func (r ApiOrdersDeleteTaxesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersDeleteTaxesRequest
- type ApiOrdersGetDiscountLineRequest
- func (r ApiOrdersGetDiscountLineRequest) AcceptLanguage(acceptLanguage string) ApiOrdersGetDiscountLineRequest
- func (r ApiOrdersGetDiscountLineRequest) Execute() (*DiscountLinesResponse, *http.Response, error)
- func (r ApiOrdersGetDiscountLineRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersGetDiscountLineRequest
- type ApiOrdersGetDiscountLinesRequest
- func (r ApiOrdersGetDiscountLinesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersGetDiscountLinesRequest
- func (r ApiOrdersGetDiscountLinesRequest) Execute() (*GetOrderDiscountLinesResponse, *http.Response, error)
- func (r ApiOrdersGetDiscountLinesRequest) Limit(limit int32) ApiOrdersGetDiscountLinesRequest
- func (r ApiOrdersGetDiscountLinesRequest) Next(next string) ApiOrdersGetDiscountLinesRequest
- func (r ApiOrdersGetDiscountLinesRequest) Previous(previous string) ApiOrdersGetDiscountLinesRequest
- func (r ApiOrdersGetDiscountLinesRequest) Search(search string) ApiOrdersGetDiscountLinesRequest
- func (r ApiOrdersGetDiscountLinesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersGetDiscountLinesRequest
- type ApiOrdersUpdateDiscountLinesRequest
- func (r ApiOrdersUpdateDiscountLinesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersUpdateDiscountLinesRequest
- func (r ApiOrdersUpdateDiscountLinesRequest) Execute() (*DiscountLinesResponse, *http.Response, error)
- func (r ApiOrdersUpdateDiscountLinesRequest) UpdateOrderDiscountLinesRequest(updateOrderDiscountLinesRequest UpdateOrderDiscountLinesRequest) ApiOrdersUpdateDiscountLinesRequest
- func (r ApiOrdersUpdateDiscountLinesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersUpdateDiscountLinesRequest
- type ApiOrdersUpdateProductRequest
- func (r ApiOrdersUpdateProductRequest) AcceptLanguage(acceptLanguage string) ApiOrdersUpdateProductRequest
- func (r ApiOrdersUpdateProductRequest) Execute() (*ProductOrderResponse, *http.Response, error)
- func (r ApiOrdersUpdateProductRequest) UpdateProduct(updateProduct UpdateProduct) ApiOrdersUpdateProductRequest
- func (r ApiOrdersUpdateProductRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersUpdateProductRequest
- type ApiOrdersUpdateShippingRequest
- func (r ApiOrdersUpdateShippingRequest) AcceptLanguage(acceptLanguage string) ApiOrdersUpdateShippingRequest
- func (r ApiOrdersUpdateShippingRequest) Execute() (*ShippingOrderResponse, *http.Response, error)
- func (r ApiOrdersUpdateShippingRequest) ShippingRequest(shippingRequest ShippingRequest) ApiOrdersUpdateShippingRequest
- func (r ApiOrdersUpdateShippingRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersUpdateShippingRequest
- type ApiOrdersUpdateTaxesRequest
- func (r ApiOrdersUpdateTaxesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersUpdateTaxesRequest
- func (r ApiOrdersUpdateTaxesRequest) Execute() (*UpdateOrderTaxResponse, *http.Response, error)
- func (r ApiOrdersUpdateTaxesRequest) UpdateOrderTaxRequest(updateOrderTaxRequest UpdateOrderTaxRequest) ApiOrdersUpdateTaxesRequest
- func (r ApiOrdersUpdateTaxesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersUpdateTaxesRequest
- type ApiResendEventRequest
- type ApiSmsCheckoutRequest
- func (r ApiSmsCheckoutRequest) AcceptLanguage(acceptLanguage string) ApiSmsCheckoutRequest
- func (r ApiSmsCheckoutRequest) Execute() (*CheckoutResponse, *http.Response, error)
- func (r ApiSmsCheckoutRequest) SmsCheckoutRequest(smsCheckoutRequest SmsCheckoutRequest) ApiSmsCheckoutRequest
- func (r ApiSmsCheckoutRequest) XChildCompanyId(xChildCompanyId string) ApiSmsCheckoutRequest
- type ApiTestWebhookRequest
- type ApiUpdateApiKeyRequest
- type ApiUpdateChargeRequest
- func (r ApiUpdateChargeRequest) AcceptLanguage(acceptLanguage string) ApiUpdateChargeRequest
- func (r ApiUpdateChargeRequest) ChargeUpdateRequest(chargeUpdateRequest ChargeUpdateRequest) ApiUpdateChargeRequest
- func (r ApiUpdateChargeRequest) Execute() (*ChargeResponse, *http.Response, error)
- func (r ApiUpdateChargeRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateChargeRequest
- type ApiUpdateCustomerFiscalEntitiesRequest
- func (r ApiUpdateCustomerFiscalEntitiesRequest) AcceptLanguage(acceptLanguage string) ApiUpdateCustomerFiscalEntitiesRequest
- func (r ApiUpdateCustomerFiscalEntitiesRequest) CustomerUpdateFiscalEntitiesRequest(customerUpdateFiscalEntitiesRequest CustomerUpdateFiscalEntitiesRequest) ApiUpdateCustomerFiscalEntitiesRequest
- func (r ApiUpdateCustomerFiscalEntitiesRequest) Execute() (*UpdateCustomerFiscalEntitiesResponse, *http.Response, error)
- func (r ApiUpdateCustomerFiscalEntitiesRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateCustomerFiscalEntitiesRequest
- type ApiUpdateCustomerPaymentMethodsRequest
- func (r ApiUpdateCustomerPaymentMethodsRequest) AcceptLanguage(acceptLanguage string) ApiUpdateCustomerPaymentMethodsRequest
- func (r ApiUpdateCustomerPaymentMethodsRequest) Execute() (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
- func (r ApiUpdateCustomerPaymentMethodsRequest) UpdatePaymentMethods(updatePaymentMethods UpdatePaymentMethods) ApiUpdateCustomerPaymentMethodsRequest
- func (r ApiUpdateCustomerPaymentMethodsRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateCustomerPaymentMethodsRequest
- type ApiUpdateCustomerRequest
- func (r ApiUpdateCustomerRequest) AcceptLanguage(acceptLanguage string) ApiUpdateCustomerRequest
- func (r ApiUpdateCustomerRequest) Execute() (*CustomerResponse, *http.Response, error)
- func (r ApiUpdateCustomerRequest) UpdateCustomer(updateCustomer UpdateCustomer) ApiUpdateCustomerRequest
- func (r ApiUpdateCustomerRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateCustomerRequest
- type ApiUpdateCustomerShippingContactsRequest
- func (r ApiUpdateCustomerShippingContactsRequest) AcceptLanguage(acceptLanguage string) ApiUpdateCustomerShippingContactsRequest
- func (r ApiUpdateCustomerShippingContactsRequest) CustomerUpdateShippingContacts(customerUpdateShippingContacts CustomerUpdateShippingContacts) ApiUpdateCustomerShippingContactsRequest
- func (r ApiUpdateCustomerShippingContactsRequest) Execute() (*CustomerShippingContactsResponse, *http.Response, error)
- func (r ApiUpdateCustomerShippingContactsRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateCustomerShippingContactsRequest
- type ApiUpdateOrderRequest
- type ApiUpdateWebhookKeyRequest
- func (r ApiUpdateWebhookKeyRequest) AcceptLanguage(acceptLanguage string) ApiUpdateWebhookKeyRequest
- func (r ApiUpdateWebhookKeyRequest) Execute() (*WebhookKeyResponse, *http.Response, error)
- func (r ApiUpdateWebhookKeyRequest) WebhookKeyUpdateRequest(webhookKeyUpdateRequest WebhookKeyUpdateRequest) ApiUpdateWebhookKeyRequest
- type ApiUpdateWebhookRequest
- func (r ApiUpdateWebhookRequest) AcceptLanguage(acceptLanguage string) ApiUpdateWebhookRequest
- func (r ApiUpdateWebhookRequest) Execute() (*WebhookResponse, *http.Response, error)
- func (r ApiUpdateWebhookRequest) WebhookUpdateRequest(webhookUpdateRequest WebhookUpdateRequest) ApiUpdateWebhookRequest
- func (r ApiUpdateWebhookRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateWebhookRequest
- type BalanceCommonField
- func (o *BalanceCommonField) GetAmount() int64
- func (o *BalanceCommonField) GetAmountOk() (*int64, bool)
- func (o *BalanceCommonField) GetCurrency() string
- func (o *BalanceCommonField) GetCurrencyOk() (*string, bool)
- func (o *BalanceCommonField) HasAmount() bool
- func (o *BalanceCommonField) HasCurrency() bool
- func (o BalanceCommonField) MarshalJSON() ([]byte, error)
- func (o *BalanceCommonField) SetAmount(v int64)
- func (o *BalanceCommonField) SetCurrency(v string)
- func (o BalanceCommonField) ToMap() (map[string]interface{}, error)
- func (o *BalanceCommonField) UnmarshalJSON(data []byte) (err error)
- type BalanceResponse
- func (o *BalanceResponse) GetAvailable() []BalanceCommonField
- func (o *BalanceResponse) GetAvailableOk() ([]BalanceCommonField, bool)
- func (o *BalanceResponse) GetCashoutRetentionAmount() []BalanceCommonField
- func (o *BalanceResponse) GetCashoutRetentionAmountOk() ([]BalanceCommonField, bool)
- func (o *BalanceResponse) GetConektaRetention() []BalanceCommonField
- func (o *BalanceResponse) GetConektaRetentionOk() ([]BalanceCommonField, bool)
- func (o *BalanceResponse) GetGateway() []BalanceCommonField
- func (o *BalanceResponse) GetGatewayOk() ([]BalanceCommonField, bool)
- func (o *BalanceResponse) GetPending() []BalanceCommonField
- func (o *BalanceResponse) GetPendingOk() ([]BalanceCommonField, bool)
- func (o *BalanceResponse) GetRetained() []BalanceCommonField
- func (o *BalanceResponse) GetRetainedOk() ([]BalanceCommonField, bool)
- func (o *BalanceResponse) GetRetentionAmount() []BalanceCommonField
- func (o *BalanceResponse) GetRetentionAmountOk() ([]BalanceCommonField, bool)
- func (o *BalanceResponse) GetTargetCollateralAmount() map[string]interface{}
- func (o *BalanceResponse) GetTargetCollateralAmountOk() (map[string]interface{}, bool)
- func (o *BalanceResponse) GetTargetRetentionAmount() []BalanceCommonField
- func (o *BalanceResponse) GetTargetRetentionAmountOk() ([]BalanceCommonField, bool)
- func (o *BalanceResponse) GetTemporarilyRetained() []BalanceCommonField
- func (o *BalanceResponse) GetTemporarilyRetainedOk() ([]BalanceCommonField, bool)
- func (o *BalanceResponse) HasAvailable() bool
- func (o *BalanceResponse) HasCashoutRetentionAmount() bool
- func (o *BalanceResponse) HasConektaRetention() bool
- func (o *BalanceResponse) HasGateway() bool
- func (o *BalanceResponse) HasPending() bool
- func (o *BalanceResponse) HasRetained() bool
- func (o *BalanceResponse) HasRetentionAmount() bool
- func (o *BalanceResponse) HasTargetCollateralAmount() bool
- func (o *BalanceResponse) HasTargetRetentionAmount() bool
- func (o *BalanceResponse) HasTemporarilyRetained() bool
- func (o BalanceResponse) MarshalJSON() ([]byte, error)
- func (o *BalanceResponse) SetAvailable(v []BalanceCommonField)
- func (o *BalanceResponse) SetCashoutRetentionAmount(v []BalanceCommonField)
- func (o *BalanceResponse) SetConektaRetention(v []BalanceCommonField)
- func (o *BalanceResponse) SetGateway(v []BalanceCommonField)
- func (o *BalanceResponse) SetPending(v []BalanceCommonField)
- func (o *BalanceResponse) SetRetained(v []BalanceCommonField)
- func (o *BalanceResponse) SetRetentionAmount(v []BalanceCommonField)
- func (o *BalanceResponse) SetTargetCollateralAmount(v map[string]interface{})
- func (o *BalanceResponse) SetTargetRetentionAmount(v []BalanceCommonField)
- func (o *BalanceResponse) SetTemporarilyRetained(v []BalanceCommonField)
- func (o BalanceResponse) ToMap() (map[string]interface{}, error)
- func (o *BalanceResponse) UnmarshalJSON(data []byte) (err error)
- type BalancesAPI
- type BalancesAPIService
- type BasicAuth
- type ChargeOrderResponse
- func (o *ChargeOrderResponse) GetAmount() int32
- func (o *ChargeOrderResponse) GetAmountOk() (*int32, bool)
- func (o *ChargeOrderResponse) GetChannel() ChargeResponseChannel
- func (o *ChargeOrderResponse) GetChannelOk() (*ChargeResponseChannel, bool)
- func (o *ChargeOrderResponse) GetCreatedAt() int64
- func (o *ChargeOrderResponse) GetCreatedAtOk() (*int64, bool)
- func (o *ChargeOrderResponse) GetCurrency() string
- func (o *ChargeOrderResponse) GetCurrencyOk() (*string, bool)
- func (o *ChargeOrderResponse) GetCustomerId() string
- func (o *ChargeOrderResponse) GetCustomerIdOk() (*string, bool)
- func (o *ChargeOrderResponse) GetDescription() string
- func (o *ChargeOrderResponse) GetDescriptionOk() (*string, bool)
- func (o *ChargeOrderResponse) GetDeviceFingerprint() string
- func (o *ChargeOrderResponse) GetDeviceFingerprintOk() (*string, bool)
- func (o *ChargeOrderResponse) GetFailureCode() string
- func (o *ChargeOrderResponse) GetFailureCodeOk() (*string, bool)
- func (o *ChargeOrderResponse) GetFailureMessage() string
- func (o *ChargeOrderResponse) GetFailureMessageOk() (*string, bool)
- func (o *ChargeOrderResponse) GetId() string
- func (o *ChargeOrderResponse) GetIdOk() (*string, bool)
- func (o *ChargeOrderResponse) GetLivemode() bool
- func (o *ChargeOrderResponse) GetLivemodeOk() (*bool, bool)
- func (o *ChargeOrderResponse) GetObject() string
- func (o *ChargeOrderResponse) GetObjectOk() (*string, bool)
- func (o *ChargeOrderResponse) GetOrderId() string
- func (o *ChargeOrderResponse) GetOrderIdOk() (*string, bool)
- func (o *ChargeOrderResponse) GetPaidAt() int32
- func (o *ChargeOrderResponse) GetPaidAtOk() (*int32, bool)
- func (o *ChargeOrderResponse) GetPaymentMethod() ChargeOrderResponsePaymentMethod
- func (o *ChargeOrderResponse) GetPaymentMethodOk() (*ChargeOrderResponsePaymentMethod, bool)
- func (o *ChargeOrderResponse) GetReferenceId() string
- func (o *ChargeOrderResponse) GetReferenceIdOk() (*string, bool)
- func (o *ChargeOrderResponse) GetRefunds() []map[string]interface{}
- func (o *ChargeOrderResponse) GetRefundsOk() ([]map[string]interface{}, bool)
- func (o *ChargeOrderResponse) GetStatus() string
- func (o *ChargeOrderResponse) GetStatusOk() (*string, bool)
- func (o *ChargeOrderResponse) HasAmount() bool
- func (o *ChargeOrderResponse) HasChannel() bool
- func (o *ChargeOrderResponse) HasCreatedAt() bool
- func (o *ChargeOrderResponse) HasCurrency() bool
- func (o *ChargeOrderResponse) HasCustomerId() bool
- func (o *ChargeOrderResponse) HasDescription() bool
- func (o *ChargeOrderResponse) HasDeviceFingerprint() bool
- func (o *ChargeOrderResponse) HasFailureCode() bool
- func (o *ChargeOrderResponse) HasFailureMessage() bool
- func (o *ChargeOrderResponse) HasId() bool
- func (o *ChargeOrderResponse) HasLivemode() bool
- func (o *ChargeOrderResponse) HasObject() bool
- func (o *ChargeOrderResponse) HasOrderId() bool
- func (o *ChargeOrderResponse) HasPaidAt() bool
- func (o *ChargeOrderResponse) HasPaymentMethod() bool
- func (o *ChargeOrderResponse) HasReferenceId() bool
- func (o *ChargeOrderResponse) HasRefunds() bool
- func (o *ChargeOrderResponse) HasStatus() bool
- func (o ChargeOrderResponse) MarshalJSON() ([]byte, error)
- func (o *ChargeOrderResponse) SetAmount(v int32)
- func (o *ChargeOrderResponse) SetChannel(v ChargeResponseChannel)
- func (o *ChargeOrderResponse) SetCreatedAt(v int64)
- func (o *ChargeOrderResponse) SetCurrency(v string)
- func (o *ChargeOrderResponse) SetCustomerId(v string)
- func (o *ChargeOrderResponse) SetDescription(v string)
- func (o *ChargeOrderResponse) SetDeviceFingerprint(v string)
- func (o *ChargeOrderResponse) SetDeviceFingerprintNil()
- func (o *ChargeOrderResponse) SetFailureCode(v string)
- func (o *ChargeOrderResponse) SetFailureMessage(v string)
- func (o *ChargeOrderResponse) SetId(v string)
- func (o *ChargeOrderResponse) SetLivemode(v bool)
- func (o *ChargeOrderResponse) SetObject(v string)
- func (o *ChargeOrderResponse) SetOrderId(v string)
- func (o *ChargeOrderResponse) SetPaidAt(v int32)
- func (o *ChargeOrderResponse) SetPaidAtNil()
- func (o *ChargeOrderResponse) SetPaymentMethod(v ChargeOrderResponsePaymentMethod)
- func (o *ChargeOrderResponse) SetReferenceId(v string)
- func (o *ChargeOrderResponse) SetReferenceIdNil()
- func (o *ChargeOrderResponse) SetRefunds(v []map[string]interface{})
- func (o *ChargeOrderResponse) SetStatus(v string)
- func (o ChargeOrderResponse) ToMap() (map[string]interface{}, error)
- func (o *ChargeOrderResponse) UnmarshalJSON(data []byte) (err error)
- func (o *ChargeOrderResponse) UnsetDeviceFingerprint()
- func (o *ChargeOrderResponse) UnsetPaidAt()
- func (o *ChargeOrderResponse) UnsetReferenceId()
- type ChargeOrderResponsePaymentMethod
- type ChargeRequest
- func (o *ChargeRequest) GetAmount() int32
- func (o *ChargeRequest) GetAmountOk() (*int32, bool)
- func (o *ChargeRequest) GetPaymentMethod() ChargeRequestPaymentMethod
- func (o *ChargeRequest) GetPaymentMethodOk() (*ChargeRequestPaymentMethod, bool)
- func (o *ChargeRequest) GetReferenceId() string
- func (o *ChargeRequest) GetReferenceIdOk() (*string, bool)
- func (o *ChargeRequest) HasAmount() bool
- func (o *ChargeRequest) HasReferenceId() bool
- func (o ChargeRequest) MarshalJSON() ([]byte, error)
- func (o *ChargeRequest) SetAmount(v int32)
- func (o *ChargeRequest) SetPaymentMethod(v ChargeRequestPaymentMethod)
- func (o *ChargeRequest) SetReferenceId(v string)
- func (o ChargeRequest) ToMap() (map[string]interface{}, error)
- func (o *ChargeRequest) UnmarshalJSON(data []byte) (err error)
- type ChargeRequestPaymentMethod
- func (o *ChargeRequestPaymentMethod) GetExpiresAt() int64
- func (o *ChargeRequestPaymentMethod) GetExpiresAtOk() (*int64, bool)
- func (o *ChargeRequestPaymentMethod) GetPaymentSourceId() string
- func (o *ChargeRequestPaymentMethod) GetPaymentSourceIdOk() (*string, bool)
- func (o *ChargeRequestPaymentMethod) GetType() string
- func (o *ChargeRequestPaymentMethod) GetTypeOk() (*string, bool)
- func (o *ChargeRequestPaymentMethod) HasExpiresAt() bool
- func (o *ChargeRequestPaymentMethod) HasPaymentSourceId() bool
- func (o ChargeRequestPaymentMethod) MarshalJSON() ([]byte, error)
- func (o *ChargeRequestPaymentMethod) SetExpiresAt(v int64)
- func (o *ChargeRequestPaymentMethod) SetPaymentSourceId(v string)
- func (o *ChargeRequestPaymentMethod) SetType(v string)
- func (o ChargeRequestPaymentMethod) ToMap() (map[string]interface{}, error)
- func (o *ChargeRequestPaymentMethod) UnmarshalJSON(data []byte) (err error)
- type ChargeResponse
- func (o *ChargeResponse) GetAmount() int32
- func (o *ChargeResponse) GetAmountOk() (*int32, bool)
- func (o *ChargeResponse) GetChannel() ChargeResponseChannel
- func (o *ChargeResponse) GetChannelOk() (*ChargeResponseChannel, bool)
- func (o *ChargeResponse) GetCreatedAt() int64
- func (o *ChargeResponse) GetCreatedAtOk() (*int64, bool)
- func (o *ChargeResponse) GetCurrency() string
- func (o *ChargeResponse) GetCurrencyOk() (*string, bool)
- func (o *ChargeResponse) GetCustomerId() string
- func (o *ChargeResponse) GetCustomerIdOk() (*string, bool)
- func (o *ChargeResponse) GetDescription() string
- func (o *ChargeResponse) GetDescriptionOk() (*string, bool)
- func (o *ChargeResponse) GetDeviceFingerprint() string
- func (o *ChargeResponse) GetDeviceFingerprintOk() (*string, bool)
- func (o *ChargeResponse) GetFailureCode() string
- func (o *ChargeResponse) GetFailureCodeOk() (*string, bool)
- func (o *ChargeResponse) GetFailureMessage() string
- func (o *ChargeResponse) GetFailureMessageOk() (*string, bool)
- func (o *ChargeResponse) GetId() string
- func (o *ChargeResponse) GetIdOk() (*string, bool)
- func (o *ChargeResponse) GetLivemode() bool
- func (o *ChargeResponse) GetLivemodeOk() (*bool, bool)
- func (o *ChargeResponse) GetObject() string
- func (o *ChargeResponse) GetObjectOk() (*string, bool)
- func (o *ChargeResponse) GetOrderId() string
- func (o *ChargeResponse) GetOrderIdOk() (*string, bool)
- func (o *ChargeResponse) GetPaidAt() int32
- func (o *ChargeResponse) GetPaidAtOk() (*int32, bool)
- func (o *ChargeResponse) GetPaymentMethod() ChargeResponsePaymentMethod
- func (o *ChargeResponse) GetPaymentMethodOk() (*ChargeResponsePaymentMethod, bool)
- func (o *ChargeResponse) GetReferenceId() string
- func (o *ChargeResponse) GetReferenceIdOk() (*string, bool)
- func (o *ChargeResponse) GetRefunds() ChargeResponseRefunds
- func (o *ChargeResponse) GetRefundsOk() (*ChargeResponseRefunds, bool)
- func (o *ChargeResponse) GetStatus() string
- func (o *ChargeResponse) GetStatusOk() (*string, bool)
- func (o *ChargeResponse) HasAmount() bool
- func (o *ChargeResponse) HasChannel() bool
- func (o *ChargeResponse) HasCreatedAt() bool
- func (o *ChargeResponse) HasCurrency() bool
- func (o *ChargeResponse) HasCustomerId() bool
- func (o *ChargeResponse) HasDescription() bool
- func (o *ChargeResponse) HasDeviceFingerprint() bool
- func (o *ChargeResponse) HasFailureCode() bool
- func (o *ChargeResponse) HasFailureMessage() bool
- func (o *ChargeResponse) HasId() bool
- func (o *ChargeResponse) HasLivemode() bool
- func (o *ChargeResponse) HasObject() bool
- func (o *ChargeResponse) HasOrderId() bool
- func (o *ChargeResponse) HasPaidAt() bool
- func (o *ChargeResponse) HasPaymentMethod() bool
- func (o *ChargeResponse) HasReferenceId() bool
- func (o *ChargeResponse) HasRefunds() bool
- func (o *ChargeResponse) HasStatus() bool
- func (o ChargeResponse) MarshalJSON() ([]byte, error)
- func (o *ChargeResponse) SetAmount(v int32)
- func (o *ChargeResponse) SetChannel(v ChargeResponseChannel)
- func (o *ChargeResponse) SetCreatedAt(v int64)
- func (o *ChargeResponse) SetCurrency(v string)
- func (o *ChargeResponse) SetCustomerId(v string)
- func (o *ChargeResponse) SetDescription(v string)
- func (o *ChargeResponse) SetDeviceFingerprint(v string)
- func (o *ChargeResponse) SetFailureCode(v string)
- func (o *ChargeResponse) SetFailureMessage(v string)
- func (o *ChargeResponse) SetId(v string)
- func (o *ChargeResponse) SetLivemode(v bool)
- func (o *ChargeResponse) SetObject(v string)
- func (o *ChargeResponse) SetOrderId(v string)
- func (o *ChargeResponse) SetPaidAt(v int32)
- func (o *ChargeResponse) SetPaidAtNil()
- func (o *ChargeResponse) SetPaymentMethod(v ChargeResponsePaymentMethod)
- func (o *ChargeResponse) SetReferenceId(v string)
- func (o *ChargeResponse) SetReferenceIdNil()
- func (o *ChargeResponse) SetRefunds(v ChargeResponseRefunds)
- func (o *ChargeResponse) SetRefundsNil()
- func (o *ChargeResponse) SetStatus(v string)
- func (o ChargeResponse) ToMap() (map[string]interface{}, error)
- func (o *ChargeResponse) UnmarshalJSON(data []byte) (err error)
- func (o *ChargeResponse) UnsetPaidAt()
- func (o *ChargeResponse) UnsetReferenceId()
- func (o *ChargeResponse) UnsetRefunds()
- type ChargeResponseChannel
- func (o *ChargeResponseChannel) GetCheckoutRequestId() string
- func (o *ChargeResponseChannel) GetCheckoutRequestIdOk() (*string, bool)
- func (o *ChargeResponseChannel) GetCheckoutRequestType() string
- func (o *ChargeResponseChannel) GetCheckoutRequestTypeOk() (*string, bool)
- func (o *ChargeResponseChannel) GetId() string
- func (o *ChargeResponseChannel) GetIdOk() (*string, bool)
- func (o *ChargeResponseChannel) GetSegment() string
- func (o *ChargeResponseChannel) GetSegmentOk() (*string, bool)
- func (o *ChargeResponseChannel) HasCheckoutRequestId() bool
- func (o *ChargeResponseChannel) HasCheckoutRequestType() bool
- func (o *ChargeResponseChannel) HasId() bool
- func (o *ChargeResponseChannel) HasSegment() bool
- func (o ChargeResponseChannel) MarshalJSON() ([]byte, error)
- func (o *ChargeResponseChannel) SetCheckoutRequestId(v string)
- func (o *ChargeResponseChannel) SetCheckoutRequestType(v string)
- func (o *ChargeResponseChannel) SetId(v string)
- func (o *ChargeResponseChannel) SetSegment(v string)
- func (o ChargeResponseChannel) ToMap() (map[string]interface{}, error)
- func (o *ChargeResponseChannel) UnmarshalJSON(data []byte) (err error)
- type ChargeResponsePaymentMethod
- type ChargeResponseRefunds
- func (o *ChargeResponseRefunds) GetData() []ChargeResponseRefundsData
- func (o *ChargeResponseRefunds) GetDataOk() ([]ChargeResponseRefundsData, bool)
- func (o *ChargeResponseRefunds) GetHasMore() bool
- func (o *ChargeResponseRefunds) GetHasMoreOk() (*bool, bool)
- func (o *ChargeResponseRefunds) GetNextPageUrl() string
- func (o *ChargeResponseRefunds) GetNextPageUrlOk() (*string, bool)
- func (o *ChargeResponseRefunds) GetObject() string
- func (o *ChargeResponseRefunds) GetObjectOk() (*string, bool)
- func (o *ChargeResponseRefunds) GetPreviousPageUrl() string
- func (o *ChargeResponseRefunds) GetPreviousPageUrlOk() (*string, bool)
- func (o *ChargeResponseRefunds) HasData() bool
- func (o *ChargeResponseRefunds) HasNextPageUrl() bool
- func (o *ChargeResponseRefunds) HasPreviousPageUrl() bool
- func (o ChargeResponseRefunds) MarshalJSON() ([]byte, error)
- func (o *ChargeResponseRefunds) SetData(v []ChargeResponseRefundsData)
- func (o *ChargeResponseRefunds) SetHasMore(v bool)
- func (o *ChargeResponseRefunds) SetNextPageUrl(v string)
- func (o *ChargeResponseRefunds) SetNextPageUrlNil()
- func (o *ChargeResponseRefunds) SetObject(v string)
- func (o *ChargeResponseRefunds) SetPreviousPageUrl(v string)
- func (o *ChargeResponseRefunds) SetPreviousPageUrlNil()
- func (o ChargeResponseRefunds) ToMap() (map[string]interface{}, error)
- func (o *ChargeResponseRefunds) UnmarshalJSON(data []byte) (err error)
- func (o *ChargeResponseRefunds) UnsetNextPageUrl()
- func (o *ChargeResponseRefunds) UnsetPreviousPageUrl()
- type ChargeResponseRefundsData
- func (o *ChargeResponseRefundsData) GetAmount() int64
- func (o *ChargeResponseRefundsData) GetAmountOk() (*int64, bool)
- func (o *ChargeResponseRefundsData) GetAuthCode() string
- func (o *ChargeResponseRefundsData) GetAuthCodeOk() (*string, bool)
- func (o *ChargeResponseRefundsData) GetCreatedAt() int64
- func (o *ChargeResponseRefundsData) GetCreatedAtOk() (*int64, bool)
- func (o *ChargeResponseRefundsData) GetExpiresAt() int64
- func (o *ChargeResponseRefundsData) GetExpiresAtOk() (*int64, bool)
- func (o *ChargeResponseRefundsData) GetId() string
- func (o *ChargeResponseRefundsData) GetIdOk() (*string, bool)
- func (o *ChargeResponseRefundsData) GetObject() string
- func (o *ChargeResponseRefundsData) GetObjectOk() (*string, bool)
- func (o *ChargeResponseRefundsData) GetStatus() string
- func (o *ChargeResponseRefundsData) GetStatusOk() (*string, bool)
- func (o *ChargeResponseRefundsData) HasAuthCode() bool
- func (o *ChargeResponseRefundsData) HasExpiresAt() bool
- func (o *ChargeResponseRefundsData) HasStatus() bool
- func (o ChargeResponseRefundsData) MarshalJSON() ([]byte, error)
- func (o *ChargeResponseRefundsData) SetAmount(v int64)
- func (o *ChargeResponseRefundsData) SetAuthCode(v string)
- func (o *ChargeResponseRefundsData) SetCreatedAt(v int64)
- func (o *ChargeResponseRefundsData) SetExpiresAt(v int64)
- func (o *ChargeResponseRefundsData) SetId(v string)
- func (o *ChargeResponseRefundsData) SetObject(v string)
- func (o *ChargeResponseRefundsData) SetStatus(v string)
- func (o ChargeResponseRefundsData) ToMap() (map[string]interface{}, error)
- func (o *ChargeResponseRefundsData) UnmarshalJSON(data []byte) (err error)
- type ChargeUpdateRequest
- func (o *ChargeUpdateRequest) GetReferenceId() string
- func (o *ChargeUpdateRequest) GetReferenceIdOk() (*string, bool)
- func (o *ChargeUpdateRequest) HasReferenceId() bool
- func (o ChargeUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ChargeUpdateRequest) SetReferenceId(v string)
- func (o ChargeUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *ChargeUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type ChargesAPI
- type ChargesAPIService
- func (a *ChargesAPIService) GetCharges(ctx context.Context) ApiGetChargesRequest
- func (a *ChargesAPIService) GetChargesExecute(r ApiGetChargesRequest) (*GetChargesResponse, *http.Response, error)
- func (a *ChargesAPIService) OrdersCreateCharge(ctx context.Context, id string) ApiOrdersCreateChargeRequest
- func (a *ChargesAPIService) OrdersCreateChargeExecute(r ApiOrdersCreateChargeRequest) (*ChargeOrderResponse, *http.Response, error)
- func (a *ChargesAPIService) UpdateCharge(ctx context.Context, id string) ApiUpdateChargeRequest
- func (a *ChargesAPIService) UpdateChargeExecute(r ApiUpdateChargeRequest) (*ChargeResponse, *http.Response, error)
- type ChargesDataResponse
- func (o *ChargesDataResponse) GetAmount() int32
- func (o *ChargesDataResponse) GetAmountOk() (*int32, bool)
- func (o *ChargesDataResponse) GetChannel() ChargeResponseChannel
- func (o *ChargesDataResponse) GetChannelOk() (*ChargeResponseChannel, bool)
- func (o *ChargesDataResponse) GetCreatedAt() int64
- func (o *ChargesDataResponse) GetCreatedAtOk() (*int64, bool)
- func (o *ChargesDataResponse) GetCurrency() string
- func (o *ChargesDataResponse) GetCurrencyOk() (*string, bool)
- func (o *ChargesDataResponse) GetCustomerId() string
- func (o *ChargesDataResponse) GetCustomerIdOk() (*string, bool)
- func (o *ChargesDataResponse) GetDescription() string
- func (o *ChargesDataResponse) GetDescriptionOk() (*string, bool)
- func (o *ChargesDataResponse) GetDeviceFingerprint() string
- func (o *ChargesDataResponse) GetDeviceFingerprintOk() (*string, bool)
- func (o *ChargesDataResponse) GetFailureCode() string
- func (o *ChargesDataResponse) GetFailureCodeOk() (*string, bool)
- func (o *ChargesDataResponse) GetFailureMessage() string
- func (o *ChargesDataResponse) GetFailureMessageOk() (*string, bool)
- func (o *ChargesDataResponse) GetId() string
- func (o *ChargesDataResponse) GetIdOk() (*string, bool)
- func (o *ChargesDataResponse) GetLivemode() bool
- func (o *ChargesDataResponse) GetLivemodeOk() (*bool, bool)
- func (o *ChargesDataResponse) GetObject() string
- func (o *ChargesDataResponse) GetObjectOk() (*string, bool)
- func (o *ChargesDataResponse) GetOrderId() string
- func (o *ChargesDataResponse) GetOrderIdOk() (*string, bool)
- func (o *ChargesDataResponse) GetPaidAt() int32
- func (o *ChargesDataResponse) GetPaidAtOk() (*int32, bool)
- func (o *ChargesDataResponse) GetPaymentMethod() ChargeResponsePaymentMethod
- func (o *ChargesDataResponse) GetPaymentMethodOk() (*ChargeResponsePaymentMethod, bool)
- func (o *ChargesDataResponse) GetReferenceId() string
- func (o *ChargesDataResponse) GetReferenceIdOk() (*string, bool)
- func (o *ChargesDataResponse) GetRefunds() ChargeResponseRefunds
- func (o *ChargesDataResponse) GetRefundsOk() (*ChargeResponseRefunds, bool)
- func (o *ChargesDataResponse) GetStatus() string
- func (o *ChargesDataResponse) GetStatusOk() (*string, bool)
- func (o *ChargesDataResponse) HasAmount() bool
- func (o *ChargesDataResponse) HasChannel() bool
- func (o *ChargesDataResponse) HasCreatedAt() bool
- func (o *ChargesDataResponse) HasCurrency() bool
- func (o *ChargesDataResponse) HasCustomerId() bool
- func (o *ChargesDataResponse) HasDescription() bool
- func (o *ChargesDataResponse) HasDeviceFingerprint() bool
- func (o *ChargesDataResponse) HasFailureCode() bool
- func (o *ChargesDataResponse) HasFailureMessage() bool
- func (o *ChargesDataResponse) HasId() bool
- func (o *ChargesDataResponse) HasLivemode() bool
- func (o *ChargesDataResponse) HasObject() bool
- func (o *ChargesDataResponse) HasOrderId() bool
- func (o *ChargesDataResponse) HasPaidAt() bool
- func (o *ChargesDataResponse) HasPaymentMethod() bool
- func (o *ChargesDataResponse) HasReferenceId() bool
- func (o *ChargesDataResponse) HasRefunds() bool
- func (o *ChargesDataResponse) HasStatus() bool
- func (o ChargesDataResponse) MarshalJSON() ([]byte, error)
- func (o *ChargesDataResponse) SetAmount(v int32)
- func (o *ChargesDataResponse) SetChannel(v ChargeResponseChannel)
- func (o *ChargesDataResponse) SetCreatedAt(v int64)
- func (o *ChargesDataResponse) SetCurrency(v string)
- func (o *ChargesDataResponse) SetCustomerId(v string)
- func (o *ChargesDataResponse) SetDescription(v string)
- func (o *ChargesDataResponse) SetDeviceFingerprint(v string)
- func (o *ChargesDataResponse) SetFailureCode(v string)
- func (o *ChargesDataResponse) SetFailureMessage(v string)
- func (o *ChargesDataResponse) SetId(v string)
- func (o *ChargesDataResponse) SetLivemode(v bool)
- func (o *ChargesDataResponse) SetObject(v string)
- func (o *ChargesDataResponse) SetOrderId(v string)
- func (o *ChargesDataResponse) SetPaidAt(v int32)
- func (o *ChargesDataResponse) SetPaidAtNil()
- func (o *ChargesDataResponse) SetPaymentMethod(v ChargeResponsePaymentMethod)
- func (o *ChargesDataResponse) SetReferenceId(v string)
- func (o *ChargesDataResponse) SetReferenceIdNil()
- func (o *ChargesDataResponse) SetRefunds(v ChargeResponseRefunds)
- func (o *ChargesDataResponse) SetRefundsNil()
- func (o *ChargesDataResponse) SetStatus(v string)
- func (o ChargesDataResponse) ToMap() (map[string]interface{}, error)
- func (o *ChargesDataResponse) UnmarshalJSON(data []byte) (err error)
- func (o *ChargesDataResponse) UnsetPaidAt()
- func (o *ChargesDataResponse) UnsetReferenceId()
- func (o *ChargesDataResponse) UnsetRefunds()
- type Checkout
- func (o *Checkout) GetAllowedPaymentMethods() []string
- func (o *Checkout) GetAllowedPaymentMethodsOk() ([]string, bool)
- func (o *Checkout) GetExpiresAt() int64
- func (o *Checkout) GetExpiresAtOk() (*int64, bool)
- func (o *Checkout) GetName() string
- func (o *Checkout) GetNameOk() (*string, bool)
- func (o *Checkout) GetNeedsShippingContact() bool
- func (o *Checkout) GetNeedsShippingContactOk() (*bool, bool)
- func (o *Checkout) GetOnDemandEnabled() bool
- func (o *Checkout) GetOnDemandEnabledOk() (*bool, bool)
- func (o *Checkout) GetOrderTemplate() CheckoutOrderTemplate
- func (o *Checkout) GetOrderTemplateOk() (*CheckoutOrderTemplate, bool)
- func (o *Checkout) GetPaymentsLimitCount() int32
- func (o *Checkout) GetPaymentsLimitCountOk() (*int32, bool)
- func (o *Checkout) GetRecurrent() bool
- func (o *Checkout) GetRecurrentOk() (*bool, bool)
- func (o *Checkout) GetType() string
- func (o *Checkout) GetTypeOk() (*string, bool)
- func (o *Checkout) HasNeedsShippingContact() bool
- func (o *Checkout) HasOnDemandEnabled() bool
- func (o *Checkout) HasPaymentsLimitCount() bool
- func (o Checkout) MarshalJSON() ([]byte, error)
- func (o *Checkout) SetAllowedPaymentMethods(v []string)
- func (o *Checkout) SetExpiresAt(v int64)
- func (o *Checkout) SetName(v string)
- func (o *Checkout) SetNeedsShippingContact(v bool)
- func (o *Checkout) SetOnDemandEnabled(v bool)
- func (o *Checkout) SetOnDemandEnabledNil()
- func (o *Checkout) SetOrderTemplate(v CheckoutOrderTemplate)
- func (o *Checkout) SetPaymentsLimitCount(v int32)
- func (o *Checkout) SetRecurrent(v bool)
- func (o *Checkout) SetType(v string)
- func (o Checkout) ToMap() (map[string]interface{}, error)
- func (o *Checkout) UnmarshalJSON(data []byte) (err error)
- func (o *Checkout) UnsetOnDemandEnabled()
- type CheckoutOrderTemplate
- func (o *CheckoutOrderTemplate) GetCurrency() string
- func (o *CheckoutOrderTemplate) GetCurrencyOk() (*string, bool)
- func (o *CheckoutOrderTemplate) GetCustomerInfo() CheckoutOrderTemplateCustomerInfo
- func (o *CheckoutOrderTemplate) GetCustomerInfoOk() (*CheckoutOrderTemplateCustomerInfo, bool)
- func (o *CheckoutOrderTemplate) GetLineItems() []Product
- func (o *CheckoutOrderTemplate) GetLineItemsOk() ([]Product, bool)
- func (o *CheckoutOrderTemplate) GetMetadata() map[string]interface{}
- func (o *CheckoutOrderTemplate) GetMetadataOk() (map[string]interface{}, bool)
- func (o *CheckoutOrderTemplate) HasCustomerInfo() bool
- func (o *CheckoutOrderTemplate) HasMetadata() bool
- func (o CheckoutOrderTemplate) MarshalJSON() ([]byte, error)
- func (o *CheckoutOrderTemplate) SetCurrency(v string)
- func (o *CheckoutOrderTemplate) SetCustomerInfo(v CheckoutOrderTemplateCustomerInfo)
- func (o *CheckoutOrderTemplate) SetLineItems(v []Product)
- func (o *CheckoutOrderTemplate) SetMetadata(v map[string]interface{})
- func (o CheckoutOrderTemplate) ToMap() (map[string]interface{}, error)
- func (o *CheckoutOrderTemplate) UnmarshalJSON(data []byte) (err error)
- type CheckoutOrderTemplateCustomerInfo
- type CheckoutRequest
- func (o *CheckoutRequest) GetAllowedPaymentMethods() []string
- func (o *CheckoutRequest) GetAllowedPaymentMethodsOk() ([]string, bool)
- func (o *CheckoutRequest) GetExpiresAt() int64
- func (o *CheckoutRequest) GetExpiresAtOk() (*int64, bool)
- func (o *CheckoutRequest) GetFailureUrl() string
- func (o *CheckoutRequest) GetFailureUrlOk() (*string, bool)
- func (o *CheckoutRequest) GetName() string
- func (o *CheckoutRequest) GetNameOk() (*string, bool)
- func (o *CheckoutRequest) GetOnDemandEnabled() bool
- func (o *CheckoutRequest) GetOnDemandEnabledOk() (*bool, bool)
- func (o *CheckoutRequest) GetSuccessUrl() string
- func (o *CheckoutRequest) GetSuccessUrlOk() (*string, bool)
- func (o *CheckoutRequest) GetType() string
- func (o *CheckoutRequest) GetTypeOk() (*string, bool)
- func (o *CheckoutRequest) HasExpiresAt() bool
- func (o *CheckoutRequest) HasFailureUrl() bool
- func (o *CheckoutRequest) HasName() bool
- func (o *CheckoutRequest) HasOnDemandEnabled() bool
- func (o *CheckoutRequest) HasSuccessUrl() bool
- func (o *CheckoutRequest) HasType() bool
- func (o CheckoutRequest) MarshalJSON() ([]byte, error)
- func (o *CheckoutRequest) SetAllowedPaymentMethods(v []string)
- func (o *CheckoutRequest) SetExpiresAt(v int64)
- func (o *CheckoutRequest) SetFailureUrl(v string)
- func (o *CheckoutRequest) SetName(v string)
- func (o *CheckoutRequest) SetOnDemandEnabled(v bool)
- func (o *CheckoutRequest) SetSuccessUrl(v string)
- func (o *CheckoutRequest) SetType(v string)
- func (o CheckoutRequest) ToMap() (map[string]interface{}, error)
- func (o *CheckoutRequest) UnmarshalJSON(data []byte) (err error)
- type CheckoutResponse
- func (o *CheckoutResponse) GetAllowedPaymentMethods() []string
- func (o *CheckoutResponse) GetAllowedPaymentMethodsOk() ([]string, bool)
- func (o *CheckoutResponse) GetCanNotExpire() bool
- func (o *CheckoutResponse) GetCanNotExpireOk() (*bool, bool)
- func (o *CheckoutResponse) GetEmailsSent() int32
- func (o *CheckoutResponse) GetEmailsSentOk() (*int32, bool)
- func (o *CheckoutResponse) GetExpiresAt() int64
- func (o *CheckoutResponse) GetExpiresAtOk() (*int64, bool)
- func (o *CheckoutResponse) GetFailureUrl() string
- func (o *CheckoutResponse) GetFailureUrlOk() (*string, bool)
- func (o *CheckoutResponse) GetId() string
- func (o *CheckoutResponse) GetIdOk() (*string, bool)
- func (o *CheckoutResponse) GetLivemode() bool
- func (o *CheckoutResponse) GetLivemodeOk() (*bool, bool)
- func (o *CheckoutResponse) GetMetadata() map[string]interface{}
- func (o *CheckoutResponse) GetMetadataOk() (map[string]interface{}, bool)
- func (o *CheckoutResponse) GetName() string
- func (o *CheckoutResponse) GetNameOk() (*string, bool)
- func (o *CheckoutResponse) GetNeedsShippingContact() bool
- func (o *CheckoutResponse) GetNeedsShippingContactOk() (*bool, bool)
- func (o *CheckoutResponse) GetObject() string
- func (o *CheckoutResponse) GetObjectOk() (*string, bool)
- func (o *CheckoutResponse) GetPaidPaymentsCount() int32
- func (o *CheckoutResponse) GetPaidPaymentsCountOk() (*int32, bool)
- func (o *CheckoutResponse) GetPaymentsLimitCount() int32
- func (o *CheckoutResponse) GetPaymentsLimitCountOk() (*int32, bool)
- func (o *CheckoutResponse) GetRecurrent() bool
- func (o *CheckoutResponse) GetRecurrentOk() (*bool, bool)
- func (o *CheckoutResponse) GetSlug() string
- func (o *CheckoutResponse) GetSlugOk() (*string, bool)
- func (o *CheckoutResponse) GetSmsSent() int32
- func (o *CheckoutResponse) GetSmsSentOk() (*int32, bool)
- func (o *CheckoutResponse) GetStartsAt() int32
- func (o *CheckoutResponse) GetStartsAtOk() (*int32, bool)
- func (o *CheckoutResponse) GetStatus() string
- func (o *CheckoutResponse) GetStatusOk() (*string, bool)
- func (o *CheckoutResponse) GetSuccessUrl() string
- func (o *CheckoutResponse) GetSuccessUrlOk() (*string, bool)
- func (o *CheckoutResponse) GetType() string
- func (o *CheckoutResponse) GetTypeOk() (*string, bool)
- func (o *CheckoutResponse) GetUrl() string
- func (o *CheckoutResponse) GetUrlOk() (*string, bool)
- func (o *CheckoutResponse) HasAllowedPaymentMethods() bool
- func (o *CheckoutResponse) HasCanNotExpire() bool
- func (o *CheckoutResponse) HasEmailsSent() bool
- func (o *CheckoutResponse) HasExpiresAt() bool
- func (o *CheckoutResponse) HasFailureUrl() bool
- func (o *CheckoutResponse) HasMetadata() bool
- func (o *CheckoutResponse) HasNeedsShippingContact() bool
- func (o *CheckoutResponse) HasPaidPaymentsCount() bool
- func (o *CheckoutResponse) HasPaymentsLimitCount() bool
- func (o *CheckoutResponse) HasRecurrent() bool
- func (o *CheckoutResponse) HasSlug() bool
- func (o *CheckoutResponse) HasSmsSent() bool
- func (o *CheckoutResponse) HasStartsAt() bool
- func (o *CheckoutResponse) HasStatus() bool
- func (o *CheckoutResponse) HasSuccessUrl() bool
- func (o *CheckoutResponse) HasType() bool
- func (o *CheckoutResponse) HasUrl() bool
- func (o CheckoutResponse) MarshalJSON() ([]byte, error)
- func (o *CheckoutResponse) SetAllowedPaymentMethods(v []string)
- func (o *CheckoutResponse) SetCanNotExpire(v bool)
- func (o *CheckoutResponse) SetEmailsSent(v int32)
- func (o *CheckoutResponse) SetExpiresAt(v int64)
- func (o *CheckoutResponse) SetFailureUrl(v string)
- func (o *CheckoutResponse) SetId(v string)
- func (o *CheckoutResponse) SetLivemode(v bool)
- func (o *CheckoutResponse) SetMetadata(v map[string]interface{})
- func (o *CheckoutResponse) SetName(v string)
- func (o *CheckoutResponse) SetNeedsShippingContact(v bool)
- func (o *CheckoutResponse) SetObject(v string)
- func (o *CheckoutResponse) SetPaidPaymentsCount(v int32)
- func (o *CheckoutResponse) SetPaymentsLimitCount(v int32)
- func (o *CheckoutResponse) SetPaymentsLimitCountNil()
- func (o *CheckoutResponse) SetRecurrent(v bool)
- func (o *CheckoutResponse) SetSlug(v string)
- func (o *CheckoutResponse) SetSmsSent(v int32)
- func (o *CheckoutResponse) SetStartsAt(v int32)
- func (o *CheckoutResponse) SetStatus(v string)
- func (o *CheckoutResponse) SetSuccessUrl(v string)
- func (o *CheckoutResponse) SetType(v string)
- func (o *CheckoutResponse) SetUrl(v string)
- func (o CheckoutResponse) ToMap() (map[string]interface{}, error)
- func (o *CheckoutResponse) UnmarshalJSON(data []byte) (err error)
- func (o *CheckoutResponse) UnsetPaymentsLimitCount()
- type CheckoutsResponse
- func (o *CheckoutsResponse) GetData() []CheckoutResponse
- func (o *CheckoutsResponse) GetDataOk() ([]CheckoutResponse, bool)
- func (o *CheckoutsResponse) GetHasMore() bool
- func (o *CheckoutsResponse) GetHasMoreOk() (*bool, bool)
- func (o *CheckoutsResponse) GetNextPageUrl() string
- func (o *CheckoutsResponse) GetNextPageUrlOk() (*string, bool)
- func (o *CheckoutsResponse) GetObject() string
- func (o *CheckoutsResponse) GetObjectOk() (*string, bool)
- func (o *CheckoutsResponse) GetPreviousPageUrl() string
- func (o *CheckoutsResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *CheckoutsResponse) HasData() bool
- func (o *CheckoutsResponse) HasNextPageUrl() bool
- func (o *CheckoutsResponse) HasPreviousPageUrl() bool
- func (o CheckoutsResponse) MarshalJSON() ([]byte, error)
- func (o *CheckoutsResponse) SetData(v []CheckoutResponse)
- func (o *CheckoutsResponse) SetHasMore(v bool)
- func (o *CheckoutsResponse) SetNextPageUrl(v string)
- func (o *CheckoutsResponse) SetNextPageUrlNil()
- func (o *CheckoutsResponse) SetObject(v string)
- func (o *CheckoutsResponse) SetPreviousPageUrl(v string)
- func (o *CheckoutsResponse) SetPreviousPageUrlNil()
- func (o CheckoutsResponse) ToMap() (map[string]interface{}, error)
- func (o *CheckoutsResponse) UnmarshalJSON(data []byte) (err error)
- func (o *CheckoutsResponse) UnsetNextPageUrl()
- func (o *CheckoutsResponse) UnsetPreviousPageUrl()
- type CompaniesAPI
- type CompaniesAPIService
- func (a *CompaniesAPIService) GetCompanies(ctx context.Context) ApiGetCompaniesRequest
- func (a *CompaniesAPIService) GetCompaniesExecute(r ApiGetCompaniesRequest) (*GetCompaniesResponse, *http.Response, error)
- func (a *CompaniesAPIService) GetCompany(ctx context.Context, id string) ApiGetCompanyRequest
- func (a *CompaniesAPIService) GetCompanyExecute(r ApiGetCompanyRequest) (*CompanyResponse, *http.Response, error)
- type CompanyFiscalInfoAddressResponse
- func (o *CompanyFiscalInfoAddressResponse) GetCity() string
- func (o *CompanyFiscalInfoAddressResponse) GetCityOk() (*string, bool)
- func (o *CompanyFiscalInfoAddressResponse) GetCountry() string
- func (o *CompanyFiscalInfoAddressResponse) GetCountryOk() (*string, bool)
- func (o *CompanyFiscalInfoAddressResponse) GetExternalNumber() string
- func (o *CompanyFiscalInfoAddressResponse) GetExternalNumberOk() (*string, bool)
- func (o *CompanyFiscalInfoAddressResponse) GetInternalNumber() string
- func (o *CompanyFiscalInfoAddressResponse) GetInternalNumberOk() (*string, bool)
- func (o *CompanyFiscalInfoAddressResponse) GetObject() string
- func (o *CompanyFiscalInfoAddressResponse) GetObjectOk() (*string, bool)
- func (o *CompanyFiscalInfoAddressResponse) GetPostalCode() string
- func (o *CompanyFiscalInfoAddressResponse) GetPostalCodeOk() (*string, bool)
- func (o *CompanyFiscalInfoAddressResponse) GetState() string
- func (o *CompanyFiscalInfoAddressResponse) GetStateOk() (*string, bool)
- func (o *CompanyFiscalInfoAddressResponse) GetStreet1() string
- func (o *CompanyFiscalInfoAddressResponse) GetStreet1Ok() (*string, bool)
- func (o *CompanyFiscalInfoAddressResponse) GetStreet2() string
- func (o *CompanyFiscalInfoAddressResponse) GetStreet2Ok() (*string, bool)
- func (o *CompanyFiscalInfoAddressResponse) HasCity() bool
- func (o *CompanyFiscalInfoAddressResponse) HasCountry() bool
- func (o *CompanyFiscalInfoAddressResponse) HasExternalNumber() bool
- func (o *CompanyFiscalInfoAddressResponse) HasInternalNumber() bool
- func (o *CompanyFiscalInfoAddressResponse) HasObject() bool
- func (o *CompanyFiscalInfoAddressResponse) HasPostalCode() bool
- func (o *CompanyFiscalInfoAddressResponse) HasState() bool
- func (o *CompanyFiscalInfoAddressResponse) HasStreet1() bool
- func (o *CompanyFiscalInfoAddressResponse) HasStreet2() bool
- func (o CompanyFiscalInfoAddressResponse) MarshalJSON() ([]byte, error)
- func (o *CompanyFiscalInfoAddressResponse) SetCity(v string)
- func (o *CompanyFiscalInfoAddressResponse) SetCountry(v string)
- func (o *CompanyFiscalInfoAddressResponse) SetExternalNumber(v string)
- func (o *CompanyFiscalInfoAddressResponse) SetInternalNumber(v string)
- func (o *CompanyFiscalInfoAddressResponse) SetObject(v string)
- func (o *CompanyFiscalInfoAddressResponse) SetPostalCode(v string)
- func (o *CompanyFiscalInfoAddressResponse) SetState(v string)
- func (o *CompanyFiscalInfoAddressResponse) SetStreet1(v string)
- func (o *CompanyFiscalInfoAddressResponse) SetStreet2(v string)
- func (o CompanyFiscalInfoAddressResponse) ToMap() (map[string]interface{}, error)
- func (o *CompanyFiscalInfoAddressResponse) UnmarshalJSON(data []byte) (err error)
- type CompanyFiscalInfoResponse
- func (o *CompanyFiscalInfoResponse) GetAddress() CompanyFiscalInfoAddressResponse
- func (o *CompanyFiscalInfoResponse) GetAddressOk() (*CompanyFiscalInfoAddressResponse, bool)
- func (o *CompanyFiscalInfoResponse) GetBusinessType() string
- func (o *CompanyFiscalInfoResponse) GetBusinessTypeOk() (*string, bool)
- func (o *CompanyFiscalInfoResponse) GetLegalEntityName() string
- func (o *CompanyFiscalInfoResponse) GetLegalEntityNameOk() (*string, bool)
- func (o *CompanyFiscalInfoResponse) GetObject() string
- func (o *CompanyFiscalInfoResponse) GetObjectOk() (*string, bool)
- func (o *CompanyFiscalInfoResponse) GetPhone() string
- func (o *CompanyFiscalInfoResponse) GetPhoneOk() (*string, bool)
- func (o *CompanyFiscalInfoResponse) GetPhysicalPersonBusinessType() string
- func (o *CompanyFiscalInfoResponse) GetPhysicalPersonBusinessTypeOk() (*string, bool)
- func (o *CompanyFiscalInfoResponse) GetTaxId() string
- func (o *CompanyFiscalInfoResponse) GetTaxIdOk() (*string, bool)
- func (o *CompanyFiscalInfoResponse) HasAddress() bool
- func (o *CompanyFiscalInfoResponse) HasBusinessType() bool
- func (o *CompanyFiscalInfoResponse) HasLegalEntityName() bool
- func (o *CompanyFiscalInfoResponse) HasObject() bool
- func (o *CompanyFiscalInfoResponse) HasPhone() bool
- func (o *CompanyFiscalInfoResponse) HasPhysicalPersonBusinessType() bool
- func (o *CompanyFiscalInfoResponse) HasTaxId() bool
- func (o CompanyFiscalInfoResponse) MarshalJSON() ([]byte, error)
- func (o *CompanyFiscalInfoResponse) SetAddress(v CompanyFiscalInfoAddressResponse)
- func (o *CompanyFiscalInfoResponse) SetBusinessType(v string)
- func (o *CompanyFiscalInfoResponse) SetLegalEntityName(v string)
- func (o *CompanyFiscalInfoResponse) SetObject(v string)
- func (o *CompanyFiscalInfoResponse) SetPhone(v string)
- func (o *CompanyFiscalInfoResponse) SetPhysicalPersonBusinessType(v string)
- func (o *CompanyFiscalInfoResponse) SetTaxId(v string)
- func (o CompanyFiscalInfoResponse) ToMap() (map[string]interface{}, error)
- func (o *CompanyFiscalInfoResponse) UnmarshalJSON(data []byte) (err error)
- type CompanyPayoutDestinationResponse
- func (o *CompanyPayoutDestinationResponse) GetAccountHolderName() string
- func (o *CompanyPayoutDestinationResponse) GetAccountHolderNameOk() (*string, bool)
- func (o *CompanyPayoutDestinationResponse) GetAccountNumber() string
- func (o *CompanyPayoutDestinationResponse) GetAccountNumberOk() (*string, bool)
- func (o *CompanyPayoutDestinationResponse) GetBank() string
- func (o *CompanyPayoutDestinationResponse) GetBankOk() (*string, bool)
- func (o *CompanyPayoutDestinationResponse) GetCurrency() string
- func (o *CompanyPayoutDestinationResponse) GetCurrencyOk() (*string, bool)
- func (o *CompanyPayoutDestinationResponse) GetObject() string
- func (o *CompanyPayoutDestinationResponse) GetObjectOk() (*string, bool)
- func (o *CompanyPayoutDestinationResponse) GetType() string
- func (o *CompanyPayoutDestinationResponse) GetTypeOk() (*string, bool)
- func (o *CompanyPayoutDestinationResponse) HasAccountHolderName() bool
- func (o *CompanyPayoutDestinationResponse) HasAccountNumber() bool
- func (o *CompanyPayoutDestinationResponse) HasBank() bool
- func (o *CompanyPayoutDestinationResponse) HasCurrency() bool
- func (o *CompanyPayoutDestinationResponse) HasObject() bool
- func (o *CompanyPayoutDestinationResponse) HasType() bool
- func (o CompanyPayoutDestinationResponse) MarshalJSON() ([]byte, error)
- func (o *CompanyPayoutDestinationResponse) SetAccountHolderName(v string)
- func (o *CompanyPayoutDestinationResponse) SetAccountNumber(v string)
- func (o *CompanyPayoutDestinationResponse) SetBank(v string)
- func (o *CompanyPayoutDestinationResponse) SetCurrency(v string)
- func (o *CompanyPayoutDestinationResponse) SetObject(v string)
- func (o *CompanyPayoutDestinationResponse) SetType(v string)
- func (o CompanyPayoutDestinationResponse) ToMap() (map[string]interface{}, error)
- func (o *CompanyPayoutDestinationResponse) UnmarshalJSON(data []byte) (err error)
- type CompanyResponse
- func (o *CompanyResponse) GetCreatedAt() int64
- func (o *CompanyResponse) GetCreatedAtOk() (*int64, bool)
- func (o *CompanyResponse) GetFiscalInfo() CompanyFiscalInfoResponse
- func (o *CompanyResponse) GetFiscalInfoOk() (*CompanyFiscalInfoResponse, bool)
- func (o *CompanyResponse) GetId() string
- func (o *CompanyResponse) GetIdOk() (*string, bool)
- func (o *CompanyResponse) GetName() string
- func (o *CompanyResponse) GetNameOk() (*string, bool)
- func (o *CompanyResponse) GetObject() string
- func (o *CompanyResponse) GetObjectOk() (*string, bool)
- func (o *CompanyResponse) GetParentCompanyId() string
- func (o *CompanyResponse) GetParentCompanyIdOk() (*string, bool)
- func (o *CompanyResponse) GetPayoutDestination() CompanyPayoutDestinationResponse
- func (o *CompanyResponse) GetPayoutDestinationOk() (*CompanyPayoutDestinationResponse, bool)
- func (o *CompanyResponse) GetUseParentFiscalData() bool
- func (o *CompanyResponse) GetUseParentFiscalDataOk() (*bool, bool)
- func (o *CompanyResponse) HasCreatedAt() bool
- func (o *CompanyResponse) HasFiscalInfo() bool
- func (o *CompanyResponse) HasId() bool
- func (o *CompanyResponse) HasName() bool
- func (o *CompanyResponse) HasObject() bool
- func (o *CompanyResponse) HasParentCompanyId() bool
- func (o *CompanyResponse) HasPayoutDestination() bool
- func (o *CompanyResponse) HasUseParentFiscalData() bool
- func (o CompanyResponse) MarshalJSON() ([]byte, error)
- func (o *CompanyResponse) SetCreatedAt(v int64)
- func (o *CompanyResponse) SetFiscalInfo(v CompanyFiscalInfoResponse)
- func (o *CompanyResponse) SetId(v string)
- func (o *CompanyResponse) SetName(v string)
- func (o *CompanyResponse) SetObject(v string)
- func (o *CompanyResponse) SetParentCompanyId(v string)
- func (o *CompanyResponse) SetPayoutDestination(v CompanyPayoutDestinationResponse)
- func (o *CompanyResponse) SetUseParentFiscalData(v bool)
- func (o CompanyResponse) ToMap() (map[string]interface{}, error)
- func (o *CompanyResponse) UnmarshalJSON(data []byte) (err error)
- type Configuration
- type CreateCustomerFiscalEntitiesResponse
- func (o *CreateCustomerFiscalEntitiesResponse) GetAddress() CustomerAddress
- func (o *CreateCustomerFiscalEntitiesResponse) GetAddressOk() (*CustomerAddress, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetCompanyName() string
- func (o *CreateCustomerFiscalEntitiesResponse) GetCompanyNameOk() (*string, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetCreatedAt() int64
- func (o *CreateCustomerFiscalEntitiesResponse) GetCreatedAtOk() (*int64, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetDefault() bool
- func (o *CreateCustomerFiscalEntitiesResponse) GetDefaultOk() (*bool, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetEmail() string
- func (o *CreateCustomerFiscalEntitiesResponse) GetEmailOk() (*string, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetId() string
- func (o *CreateCustomerFiscalEntitiesResponse) GetIdOk() (*string, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetMetadata() map[string]map[string]interface{}
- func (o *CreateCustomerFiscalEntitiesResponse) GetMetadataOk() (map[string]map[string]interface{}, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetObject() string
- func (o *CreateCustomerFiscalEntitiesResponse) GetObjectOk() (*string, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetParentId() string
- func (o *CreateCustomerFiscalEntitiesResponse) GetParentIdOk() (*string, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetPhone() string
- func (o *CreateCustomerFiscalEntitiesResponse) GetPhoneOk() (*string, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) GetTaxId() string
- func (o *CreateCustomerFiscalEntitiesResponse) GetTaxIdOk() (*string, bool)
- func (o *CreateCustomerFiscalEntitiesResponse) HasCompanyName() bool
- func (o *CreateCustomerFiscalEntitiesResponse) HasDefault() bool
- func (o *CreateCustomerFiscalEntitiesResponse) HasEmail() bool
- func (o *CreateCustomerFiscalEntitiesResponse) HasMetadata() bool
- func (o *CreateCustomerFiscalEntitiesResponse) HasParentId() bool
- func (o *CreateCustomerFiscalEntitiesResponse) HasPhone() bool
- func (o *CreateCustomerFiscalEntitiesResponse) HasTaxId() bool
- func (o CreateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
- func (o *CreateCustomerFiscalEntitiesResponse) SetAddress(v CustomerAddress)
- func (o *CreateCustomerFiscalEntitiesResponse) SetCompanyName(v string)
- func (o *CreateCustomerFiscalEntitiesResponse) SetCreatedAt(v int64)
- func (o *CreateCustomerFiscalEntitiesResponse) SetDefault(v bool)
- func (o *CreateCustomerFiscalEntitiesResponse) SetEmail(v string)
- func (o *CreateCustomerFiscalEntitiesResponse) SetId(v string)
- func (o *CreateCustomerFiscalEntitiesResponse) SetMetadata(v map[string]map[string]interface{})
- func (o *CreateCustomerFiscalEntitiesResponse) SetObject(v string)
- func (o *CreateCustomerFiscalEntitiesResponse) SetParentId(v string)
- func (o *CreateCustomerFiscalEntitiesResponse) SetPhone(v string)
- func (o *CreateCustomerFiscalEntitiesResponse) SetTaxId(v string)
- func (o CreateCustomerFiscalEntitiesResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateCustomerFiscalEntitiesResponse) UnmarshalJSON(data []byte) (err error)
- type CreateCustomerPaymentMethodsRequest
- type CreateCustomerPaymentMethodsResponse
- type Customer
- func (o *Customer) GetAntifraudInfo() CustomerAntifraudInfo
- func (o *Customer) GetAntifraudInfoOk() (*CustomerAntifraudInfo, bool)
- func (o *Customer) GetCorporate() bool
- func (o *Customer) GetCorporateOk() (*bool, bool)
- func (o *Customer) GetCustomReference() string
- func (o *Customer) GetCustomReferenceOk() (*string, bool)
- func (o *Customer) GetDefaultPaymentSourceId() string
- func (o *Customer) GetDefaultPaymentSourceIdOk() (*string, bool)
- func (o *Customer) GetDefaultShippingContactId() string
- func (o *Customer) GetDefaultShippingContactIdOk() (*string, bool)
- func (o *Customer) GetEmail() string
- func (o *Customer) GetEmailOk() (*string, bool)
- func (o *Customer) GetFiscalEntities() []CustomerFiscalEntitiesRequest
- func (o *Customer) GetFiscalEntitiesOk() ([]CustomerFiscalEntitiesRequest, bool)
- func (o *Customer) GetMetadata() map[string]interface{}
- func (o *Customer) GetMetadataOk() (map[string]interface{}, bool)
- func (o *Customer) GetName() string
- func (o *Customer) GetNameOk() (*string, bool)
- func (o *Customer) GetPaymentSources() []CustomerPaymentMethodsRequest
- func (o *Customer) GetPaymentSourcesOk() ([]CustomerPaymentMethodsRequest, bool)
- func (o *Customer) GetPhone() string
- func (o *Customer) GetPhoneOk() (*string, bool)
- func (o *Customer) GetShippingContacts() []CustomerShippingContacts
- func (o *Customer) GetShippingContactsOk() ([]CustomerShippingContacts, bool)
- func (o *Customer) HasAntifraudInfo() bool
- func (o *Customer) HasCorporate() bool
- func (o *Customer) HasCustomReference() bool
- func (o *Customer) HasDefaultPaymentSourceId() bool
- func (o *Customer) HasDefaultShippingContactId() bool
- func (o *Customer) HasFiscalEntities() bool
- func (o *Customer) HasMetadata() bool
- func (o *Customer) HasPaymentSources() bool
- func (o *Customer) HasShippingContacts() bool
- func (o Customer) MarshalJSON() ([]byte, error)
- func (o *Customer) SetAntifraudInfo(v CustomerAntifraudInfo)
- func (o *Customer) SetAntifraudInfoNil()
- func (o *Customer) SetCorporate(v bool)
- func (o *Customer) SetCustomReference(v string)
- func (o *Customer) SetDefaultPaymentSourceId(v string)
- func (o *Customer) SetDefaultShippingContactId(v string)
- func (o *Customer) SetEmail(v string)
- func (o *Customer) SetFiscalEntities(v []CustomerFiscalEntitiesRequest)
- func (o *Customer) SetMetadata(v map[string]interface{})
- func (o *Customer) SetName(v string)
- func (o *Customer) SetPaymentSources(v []CustomerPaymentMethodsRequest)
- func (o *Customer) SetPhone(v string)
- func (o *Customer) SetShippingContacts(v []CustomerShippingContacts)
- func (o Customer) ToMap() (map[string]interface{}, error)
- func (o *Customer) UnmarshalJSON(data []byte) (err error)
- func (o *Customer) UnsetAntifraudInfo()
- type CustomerAddress
- func (o *CustomerAddress) GetCity() string
- func (o *CustomerAddress) GetCityOk() (*string, bool)
- func (o *CustomerAddress) GetCountry() string
- func (o *CustomerAddress) GetCountryOk() (*string, bool)
- func (o *CustomerAddress) GetExternalNumber() string
- func (o *CustomerAddress) GetExternalNumberOk() (*string, bool)
- func (o *CustomerAddress) GetPostalCode() string
- func (o *CustomerAddress) GetPostalCodeOk() (*string, bool)
- func (o *CustomerAddress) GetResidential() bool
- func (o *CustomerAddress) GetResidentialOk() (*bool, bool)
- func (o *CustomerAddress) GetState() string
- func (o *CustomerAddress) GetStateOk() (*string, bool)
- func (o *CustomerAddress) GetStreet1() string
- func (o *CustomerAddress) GetStreet1Ok() (*string, bool)
- func (o *CustomerAddress) GetStreet2() string
- func (o *CustomerAddress) GetStreet2Ok() (*string, bool)
- func (o *CustomerAddress) HasCountry() bool
- func (o *CustomerAddress) HasExternalNumber() bool
- func (o *CustomerAddress) HasResidential() bool
- func (o *CustomerAddress) HasState() bool
- func (o *CustomerAddress) HasStreet2() bool
- func (o CustomerAddress) MarshalJSON() ([]byte, error)
- func (o *CustomerAddress) SetCity(v string)
- func (o *CustomerAddress) SetCountry(v string)
- func (o *CustomerAddress) SetExternalNumber(v string)
- func (o *CustomerAddress) SetPostalCode(v string)
- func (o *CustomerAddress) SetResidential(v bool)
- func (o *CustomerAddress) SetState(v string)
- func (o *CustomerAddress) SetStreet1(v string)
- func (o *CustomerAddress) SetStreet2(v string)
- func (o CustomerAddress) ToMap() (map[string]interface{}, error)
- func (o *CustomerAddress) UnmarshalJSON(data []byte) (err error)
- type CustomerAntifraudInfo
- func (o *CustomerAntifraudInfo) GetAccountCreatedAt() int64
- func (o *CustomerAntifraudInfo) GetAccountCreatedAtOk() (*int64, bool)
- func (o *CustomerAntifraudInfo) GetFirstPaidAt() int64
- func (o *CustomerAntifraudInfo) GetFirstPaidAtOk() (*int64, bool)
- func (o *CustomerAntifraudInfo) HasAccountCreatedAt() bool
- func (o *CustomerAntifraudInfo) HasFirstPaidAt() bool
- func (o CustomerAntifraudInfo) MarshalJSON() ([]byte, error)
- func (o *CustomerAntifraudInfo) SetAccountCreatedAt(v int64)
- func (o *CustomerAntifraudInfo) SetFirstPaidAt(v int64)
- func (o CustomerAntifraudInfo) ToMap() (map[string]interface{}, error)
- func (o *CustomerAntifraudInfo) UnmarshalJSON(data []byte) (err error)
- type CustomerAntifraudInfoResponse
- func (o *CustomerAntifraudInfoResponse) GetAccountCreatedAt() int64
- func (o *CustomerAntifraudInfoResponse) GetAccountCreatedAtOk() (*int64, bool)
- func (o *CustomerAntifraudInfoResponse) GetFirstPaidAt() int32
- func (o *CustomerAntifraudInfoResponse) GetFirstPaidAtOk() (*int32, bool)
- func (o *CustomerAntifraudInfoResponse) HasAccountCreatedAt() bool
- func (o *CustomerAntifraudInfoResponse) HasFirstPaidAt() bool
- func (o CustomerAntifraudInfoResponse) MarshalJSON() ([]byte, error)
- func (o *CustomerAntifraudInfoResponse) SetAccountCreatedAt(v int64)
- func (o *CustomerAntifraudInfoResponse) SetFirstPaidAt(v int32)
- func (o CustomerAntifraudInfoResponse) ToMap() (map[string]interface{}, error)
- func (o *CustomerAntifraudInfoResponse) UnmarshalJSON(data []byte) (err error)
- type CustomerFiscalEntitiesDataResponse
- func (o *CustomerFiscalEntitiesDataResponse) GetAddress() CustomerAddress
- func (o *CustomerFiscalEntitiesDataResponse) GetAddressOk() (*CustomerAddress, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetCompanyName() string
- func (o *CustomerFiscalEntitiesDataResponse) GetCompanyNameOk() (*string, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetCreatedAt() int64
- func (o *CustomerFiscalEntitiesDataResponse) GetCreatedAtOk() (*int64, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetDefault() bool
- func (o *CustomerFiscalEntitiesDataResponse) GetDefaultOk() (*bool, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetEmail() string
- func (o *CustomerFiscalEntitiesDataResponse) GetEmailOk() (*string, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetId() string
- func (o *CustomerFiscalEntitiesDataResponse) GetIdOk() (*string, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetMetadata() map[string]map[string]interface{}
- func (o *CustomerFiscalEntitiesDataResponse) GetMetadataOk() (map[string]map[string]interface{}, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetObject() string
- func (o *CustomerFiscalEntitiesDataResponse) GetObjectOk() (*string, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetParentId() string
- func (o *CustomerFiscalEntitiesDataResponse) GetParentIdOk() (*string, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetPhone() string
- func (o *CustomerFiscalEntitiesDataResponse) GetPhoneOk() (*string, bool)
- func (o *CustomerFiscalEntitiesDataResponse) GetTaxId() string
- func (o *CustomerFiscalEntitiesDataResponse) GetTaxIdOk() (*string, bool)
- func (o *CustomerFiscalEntitiesDataResponse) HasCompanyName() bool
- func (o *CustomerFiscalEntitiesDataResponse) HasDefault() bool
- func (o *CustomerFiscalEntitiesDataResponse) HasEmail() bool
- func (o *CustomerFiscalEntitiesDataResponse) HasMetadata() bool
- func (o *CustomerFiscalEntitiesDataResponse) HasParentId() bool
- func (o *CustomerFiscalEntitiesDataResponse) HasPhone() bool
- func (o *CustomerFiscalEntitiesDataResponse) HasTaxId() bool
- func (o CustomerFiscalEntitiesDataResponse) MarshalJSON() ([]byte, error)
- func (o *CustomerFiscalEntitiesDataResponse) SetAddress(v CustomerAddress)
- func (o *CustomerFiscalEntitiesDataResponse) SetCompanyName(v string)
- func (o *CustomerFiscalEntitiesDataResponse) SetCreatedAt(v int64)
- func (o *CustomerFiscalEntitiesDataResponse) SetDefault(v bool)
- func (o *CustomerFiscalEntitiesDataResponse) SetEmail(v string)
- func (o *CustomerFiscalEntitiesDataResponse) SetId(v string)
- func (o *CustomerFiscalEntitiesDataResponse) SetMetadata(v map[string]map[string]interface{})
- func (o *CustomerFiscalEntitiesDataResponse) SetObject(v string)
- func (o *CustomerFiscalEntitiesDataResponse) SetParentId(v string)
- func (o *CustomerFiscalEntitiesDataResponse) SetPhone(v string)
- func (o *CustomerFiscalEntitiesDataResponse) SetTaxId(v string)
- func (o CustomerFiscalEntitiesDataResponse) ToMap() (map[string]interface{}, error)
- func (o *CustomerFiscalEntitiesDataResponse) UnmarshalJSON(data []byte) (err error)
- type CustomerFiscalEntitiesRequest
- func (o *CustomerFiscalEntitiesRequest) GetAddress() CustomerAddress
- func (o *CustomerFiscalEntitiesRequest) GetAddressOk() (*CustomerAddress, bool)
- func (o *CustomerFiscalEntitiesRequest) GetCompanyName() string
- func (o *CustomerFiscalEntitiesRequest) GetCompanyNameOk() (*string, bool)
- func (o *CustomerFiscalEntitiesRequest) GetEmail() string
- func (o *CustomerFiscalEntitiesRequest) GetEmailOk() (*string, bool)
- func (o *CustomerFiscalEntitiesRequest) GetMetadata() map[string]map[string]interface{}
- func (o *CustomerFiscalEntitiesRequest) GetMetadataOk() (map[string]map[string]interface{}, bool)
- func (o *CustomerFiscalEntitiesRequest) GetPhone() string
- func (o *CustomerFiscalEntitiesRequest) GetPhoneOk() (*string, bool)
- func (o *CustomerFiscalEntitiesRequest) GetTaxId() string
- func (o *CustomerFiscalEntitiesRequest) GetTaxIdOk() (*string, bool)
- func (o *CustomerFiscalEntitiesRequest) HasCompanyName() bool
- func (o *CustomerFiscalEntitiesRequest) HasEmail() bool
- func (o *CustomerFiscalEntitiesRequest) HasMetadata() bool
- func (o *CustomerFiscalEntitiesRequest) HasPhone() bool
- func (o *CustomerFiscalEntitiesRequest) HasTaxId() bool
- func (o CustomerFiscalEntitiesRequest) MarshalJSON() ([]byte, error)
- func (o *CustomerFiscalEntitiesRequest) SetAddress(v CustomerAddress)
- func (o *CustomerFiscalEntitiesRequest) SetCompanyName(v string)
- func (o *CustomerFiscalEntitiesRequest) SetEmail(v string)
- func (o *CustomerFiscalEntitiesRequest) SetMetadata(v map[string]map[string]interface{})
- func (o *CustomerFiscalEntitiesRequest) SetPhone(v string)
- func (o *CustomerFiscalEntitiesRequest) SetTaxId(v string)
- func (o CustomerFiscalEntitiesRequest) ToMap() (map[string]interface{}, error)
- func (o *CustomerFiscalEntitiesRequest) UnmarshalJSON(data []byte) (err error)
- type CustomerFiscalEntitiesResponse
- func (o *CustomerFiscalEntitiesResponse) GetData() []CustomerFiscalEntitiesDataResponse
- func (o *CustomerFiscalEntitiesResponse) GetDataOk() ([]CustomerFiscalEntitiesDataResponse, bool)
- func (o *CustomerFiscalEntitiesResponse) GetHasMore() bool
- func (o *CustomerFiscalEntitiesResponse) GetHasMoreOk() (*bool, bool)
- func (o *CustomerFiscalEntitiesResponse) GetObject() string
- func (o *CustomerFiscalEntitiesResponse) GetObjectOk() (*string, bool)
- func (o *CustomerFiscalEntitiesResponse) HasData() bool
- func (o CustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
- func (o *CustomerFiscalEntitiesResponse) SetData(v []CustomerFiscalEntitiesDataResponse)
- func (o *CustomerFiscalEntitiesResponse) SetHasMore(v bool)
- func (o *CustomerFiscalEntitiesResponse) SetObject(v string)
- func (o CustomerFiscalEntitiesResponse) ToMap() (map[string]interface{}, error)
- func (o *CustomerFiscalEntitiesResponse) UnmarshalJSON(data []byte) (err error)
- type CustomerInfo
- func (o *CustomerInfo) GetCorporate() bool
- func (o *CustomerInfo) GetCorporateOk() (*bool, bool)
- func (o *CustomerInfo) GetEmail() string
- func (o *CustomerInfo) GetEmailOk() (*string, bool)
- func (o *CustomerInfo) GetName() string
- func (o *CustomerInfo) GetNameOk() (*string, bool)
- func (o *CustomerInfo) GetObject() string
- func (o *CustomerInfo) GetObjectOk() (*string, bool)
- func (o *CustomerInfo) GetPhone() string
- func (o *CustomerInfo) GetPhoneOk() (*string, bool)
- func (o *CustomerInfo) HasCorporate() bool
- func (o *CustomerInfo) HasObject() bool
- func (o CustomerInfo) MarshalJSON() ([]byte, error)
- func (o *CustomerInfo) SetCorporate(v bool)
- func (o *CustomerInfo) SetEmail(v string)
- func (o *CustomerInfo) SetName(v string)
- func (o *CustomerInfo) SetObject(v string)
- func (o *CustomerInfo) SetPhone(v string)
- func (o CustomerInfo) ToMap() (map[string]interface{}, error)
- func (o *CustomerInfo) UnmarshalJSON(data []byte) (err error)
- type CustomerInfoJustCustomerId
- func (o *CustomerInfoJustCustomerId) GetCustomerId() string
- func (o *CustomerInfoJustCustomerId) GetCustomerIdOk() (*string, bool)
- func (o CustomerInfoJustCustomerId) MarshalJSON() ([]byte, error)
- func (o *CustomerInfoJustCustomerId) SetCustomerId(v string)
- func (o CustomerInfoJustCustomerId) ToMap() (map[string]interface{}, error)
- func (o *CustomerInfoJustCustomerId) UnmarshalJSON(data []byte) (err error)
- type CustomerInfoJustCustomerIdResponse
- func (o *CustomerInfoJustCustomerIdResponse) GetCustomerId() string
- func (o *CustomerInfoJustCustomerIdResponse) GetCustomerIdOk() (*string, bool)
- func (o *CustomerInfoJustCustomerIdResponse) HasCustomerId() bool
- func (o CustomerInfoJustCustomerIdResponse) MarshalJSON() ([]byte, error)
- func (o *CustomerInfoJustCustomerIdResponse) SetCustomerId(v string)
- func (o CustomerInfoJustCustomerIdResponse) ToMap() (map[string]interface{}, error)
- func (o *CustomerInfoJustCustomerIdResponse) UnmarshalJSON(data []byte) (err error)
- type CustomerPaymentMethodRequest
- func (o *CustomerPaymentMethodRequest) GetType() string
- func (o *CustomerPaymentMethodRequest) GetTypeOk() (*string, bool)
- func (o CustomerPaymentMethodRequest) MarshalJSON() ([]byte, error)
- func (o *CustomerPaymentMethodRequest) SetType(v string)
- func (o CustomerPaymentMethodRequest) ToMap() (map[string]interface{}, error)
- func (o *CustomerPaymentMethodRequest) UnmarshalJSON(data []byte) (err error)
- type CustomerPaymentMethodsData
- type CustomerPaymentMethodsRequest
- type CustomerPaymentMethodsResponse
- func (o *CustomerPaymentMethodsResponse) GetData() []CustomerPaymentMethodsData
- func (o *CustomerPaymentMethodsResponse) GetDataOk() ([]CustomerPaymentMethodsData, bool)
- func (o *CustomerPaymentMethodsResponse) GetHasMore() bool
- func (o *CustomerPaymentMethodsResponse) GetHasMoreOk() (*bool, bool)
- func (o *CustomerPaymentMethodsResponse) GetNextPageUrl() string
- func (o *CustomerPaymentMethodsResponse) GetNextPageUrlOk() (*string, bool)
- func (o *CustomerPaymentMethodsResponse) GetObject() string
- func (o *CustomerPaymentMethodsResponse) GetObjectOk() (*string, bool)
- func (o *CustomerPaymentMethodsResponse) GetPreviousPageUrl() string
- func (o *CustomerPaymentMethodsResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *CustomerPaymentMethodsResponse) HasData() bool
- func (o *CustomerPaymentMethodsResponse) HasNextPageUrl() bool
- func (o *CustomerPaymentMethodsResponse) HasPreviousPageUrl() bool
- func (o CustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
- func (o *CustomerPaymentMethodsResponse) SetData(v []CustomerPaymentMethodsData)
- func (o *CustomerPaymentMethodsResponse) SetHasMore(v bool)
- func (o *CustomerPaymentMethodsResponse) SetNextPageUrl(v string)
- func (o *CustomerPaymentMethodsResponse) SetNextPageUrlNil()
- func (o *CustomerPaymentMethodsResponse) SetObject(v string)
- func (o *CustomerPaymentMethodsResponse) SetPreviousPageUrl(v string)
- func (o *CustomerPaymentMethodsResponse) SetPreviousPageUrlNil()
- func (o CustomerPaymentMethodsResponse) ToMap() (map[string]interface{}, error)
- func (o *CustomerPaymentMethodsResponse) UnmarshalJSON(data []byte) (err error)
- func (o *CustomerPaymentMethodsResponse) UnsetNextPageUrl()
- func (o *CustomerPaymentMethodsResponse) UnsetPreviousPageUrl()
- type CustomerResponse
- func (o *CustomerResponse) GetAntifraudInfo() CustomerAntifraudInfoResponse
- func (o *CustomerResponse) GetAntifraudInfoOk() (*CustomerAntifraudInfoResponse, bool)
- func (o *CustomerResponse) GetCorporate() bool
- func (o *CustomerResponse) GetCorporateOk() (*bool, bool)
- func (o *CustomerResponse) GetCreatedAt() int64
- func (o *CustomerResponse) GetCreatedAtOk() (*int64, bool)
- func (o *CustomerResponse) GetCustomReference() string
- func (o *CustomerResponse) GetCustomReferenceOk() (*string, bool)
- func (o *CustomerResponse) GetDefaultFiscalEntityId() string
- func (o *CustomerResponse) GetDefaultFiscalEntityIdOk() (*string, bool)
- func (o *CustomerResponse) GetDefaultPaymentSourceId() string
- func (o *CustomerResponse) GetDefaultPaymentSourceIdOk() (*string, bool)
- func (o *CustomerResponse) GetDefaultShippingContactId() string
- func (o *CustomerResponse) GetDefaultShippingContactIdOk() (*string, bool)
- func (o *CustomerResponse) GetEmail() string
- func (o *CustomerResponse) GetEmailOk() (*string, bool)
- func (o *CustomerResponse) GetFiscalEntities() CustomerFiscalEntitiesResponse
- func (o *CustomerResponse) GetFiscalEntitiesOk() (*CustomerFiscalEntitiesResponse, bool)
- func (o *CustomerResponse) GetId() string
- func (o *CustomerResponse) GetIdOk() (*string, bool)
- func (o *CustomerResponse) GetLivemode() bool
- func (o *CustomerResponse) GetLivemodeOk() (*bool, bool)
- func (o *CustomerResponse) GetMetadata() map[string]interface{}
- func (o *CustomerResponse) GetMetadataOk() (map[string]interface{}, bool)
- func (o *CustomerResponse) GetName() string
- func (o *CustomerResponse) GetNameOk() (*string, bool)
- func (o *CustomerResponse) GetObject() string
- func (o *CustomerResponse) GetObjectOk() (*string, bool)
- func (o *CustomerResponse) GetPaymentSources() CustomerPaymentMethodsResponse
- func (o *CustomerResponse) GetPaymentSourcesOk() (*CustomerPaymentMethodsResponse, bool)
- func (o *CustomerResponse) GetPhone() string
- func (o *CustomerResponse) GetPhoneOk() (*string, bool)
- func (o *CustomerResponse) GetShippingContacts() CustomerResponseShippingContacts
- func (o *CustomerResponse) GetShippingContactsOk() (*CustomerResponseShippingContacts, bool)
- func (o *CustomerResponse) HasAntifraudInfo() bool
- func (o *CustomerResponse) HasCorporate() bool
- func (o *CustomerResponse) HasCustomReference() bool
- func (o *CustomerResponse) HasDefaultFiscalEntityId() bool
- func (o *CustomerResponse) HasDefaultPaymentSourceId() bool
- func (o *CustomerResponse) HasDefaultShippingContactId() bool
- func (o *CustomerResponse) HasEmail() bool
- func (o *CustomerResponse) HasFiscalEntities() bool
- func (o *CustomerResponse) HasMetadata() bool
- func (o *CustomerResponse) HasPaymentSources() bool
- func (o *CustomerResponse) HasPhone() bool
- func (o *CustomerResponse) HasShippingContacts() bool
- func (o CustomerResponse) MarshalJSON() ([]byte, error)
- func (o *CustomerResponse) SetAntifraudInfo(v CustomerAntifraudInfoResponse)
- func (o *CustomerResponse) SetAntifraudInfoNil()
- func (o *CustomerResponse) SetCorporate(v bool)
- func (o *CustomerResponse) SetCreatedAt(v int64)
- func (o *CustomerResponse) SetCustomReference(v string)
- func (o *CustomerResponse) SetDefaultFiscalEntityId(v string)
- func (o *CustomerResponse) SetDefaultFiscalEntityIdNil()
- func (o *CustomerResponse) SetDefaultPaymentSourceId(v string)
- func (o *CustomerResponse) SetDefaultPaymentSourceIdNil()
- func (o *CustomerResponse) SetDefaultShippingContactId(v string)
- func (o *CustomerResponse) SetEmail(v string)
- func (o *CustomerResponse) SetFiscalEntities(v CustomerFiscalEntitiesResponse)
- func (o *CustomerResponse) SetId(v string)
- func (o *CustomerResponse) SetLivemode(v bool)
- func (o *CustomerResponse) SetMetadata(v map[string]interface{})
- func (o *CustomerResponse) SetName(v string)
- func (o *CustomerResponse) SetObject(v string)
- func (o *CustomerResponse) SetPaymentSources(v CustomerPaymentMethodsResponse)
- func (o *CustomerResponse) SetPhone(v string)
- func (o *CustomerResponse) SetShippingContacts(v CustomerResponseShippingContacts)
- func (o CustomerResponse) ToMap() (map[string]interface{}, error)
- func (o *CustomerResponse) UnmarshalJSON(data []byte) (err error)
- func (o *CustomerResponse) UnsetAntifraudInfo()
- func (o *CustomerResponse) UnsetDefaultFiscalEntityId()
- func (o *CustomerResponse) UnsetDefaultPaymentSourceId()
- type CustomerResponseShippingContacts
- func (o *CustomerResponseShippingContacts) GetData() []CustomerShippingContactsDataResponse
- func (o *CustomerResponseShippingContacts) GetDataOk() ([]CustomerShippingContactsDataResponse, bool)
- func (o *CustomerResponseShippingContacts) GetHasMore() bool
- func (o *CustomerResponseShippingContacts) GetHasMoreOk() (*bool, bool)
- func (o *CustomerResponseShippingContacts) GetObject() string
- func (o *CustomerResponseShippingContacts) GetObjectOk() (*string, bool)
- func (o *CustomerResponseShippingContacts) HasData() bool
- func (o CustomerResponseShippingContacts) MarshalJSON() ([]byte, error)
- func (o *CustomerResponseShippingContacts) SetData(v []CustomerShippingContactsDataResponse)
- func (o *CustomerResponseShippingContacts) SetHasMore(v bool)
- func (o *CustomerResponseShippingContacts) SetObject(v string)
- func (o CustomerResponseShippingContacts) ToMap() (map[string]interface{}, error)
- func (o *CustomerResponseShippingContacts) UnmarshalJSON(data []byte) (err error)
- type CustomerShippingContacts
- func (o *CustomerShippingContacts) GetAddress() CustomerShippingContactsAddress
- func (o *CustomerShippingContacts) GetAddressOk() (*CustomerShippingContactsAddress, bool)
- func (o *CustomerShippingContacts) GetBetweenStreets() string
- func (o *CustomerShippingContacts) GetBetweenStreetsOk() (*string, bool)
- func (o *CustomerShippingContacts) GetDefault() bool
- func (o *CustomerShippingContacts) GetDefaultOk() (*bool, bool)
- func (o *CustomerShippingContacts) GetDeleted() bool
- func (o *CustomerShippingContacts) GetDeletedOk() (*bool, bool)
- func (o *CustomerShippingContacts) GetMetadata() map[string]interface{}
- func (o *CustomerShippingContacts) GetMetadataOk() (map[string]interface{}, bool)
- func (o *CustomerShippingContacts) GetParentId() string
- func (o *CustomerShippingContacts) GetParentIdOk() (*string, bool)
- func (o *CustomerShippingContacts) GetPhone() string
- func (o *CustomerShippingContacts) GetPhoneOk() (*string, bool)
- func (o *CustomerShippingContacts) GetReceiver() string
- func (o *CustomerShippingContacts) GetReceiverOk() (*string, bool)
- func (o *CustomerShippingContacts) HasBetweenStreets() bool
- func (o *CustomerShippingContacts) HasDefault() bool
- func (o *CustomerShippingContacts) HasDeleted() bool
- func (o *CustomerShippingContacts) HasMetadata() bool
- func (o *CustomerShippingContacts) HasParentId() bool
- func (o *CustomerShippingContacts) HasPhone() bool
- func (o *CustomerShippingContacts) HasReceiver() bool
- func (o CustomerShippingContacts) MarshalJSON() ([]byte, error)
- func (o *CustomerShippingContacts) SetAddress(v CustomerShippingContactsAddress)
- func (o *CustomerShippingContacts) SetBetweenStreets(v string)
- func (o *CustomerShippingContacts) SetDefault(v bool)
- func (o *CustomerShippingContacts) SetDefaultNil()
- func (o *CustomerShippingContacts) SetDeleted(v bool)
- func (o *CustomerShippingContacts) SetDeletedNil()
- func (o *CustomerShippingContacts) SetMetadata(v map[string]interface{})
- func (o *CustomerShippingContacts) SetParentId(v string)
- func (o *CustomerShippingContacts) SetPhone(v string)
- func (o *CustomerShippingContacts) SetReceiver(v string)
- func (o CustomerShippingContacts) ToMap() (map[string]interface{}, error)
- func (o *CustomerShippingContacts) UnmarshalJSON(data []byte) (err error)
- func (o *CustomerShippingContacts) UnsetDefault()
- func (o *CustomerShippingContacts) UnsetDeleted()
- type CustomerShippingContactsAddress
- func (o *CustomerShippingContactsAddress) GetCity() string
- func (o *CustomerShippingContactsAddress) GetCityOk() (*string, bool)
- func (o *CustomerShippingContactsAddress) GetCountry() string
- func (o *CustomerShippingContactsAddress) GetCountryOk() (*string, bool)
- func (o *CustomerShippingContactsAddress) GetPostalCode() string
- func (o *CustomerShippingContactsAddress) GetPostalCodeOk() (*string, bool)
- func (o *CustomerShippingContactsAddress) GetResidential() bool
- func (o *CustomerShippingContactsAddress) GetResidentialOk() (*bool, bool)
- func (o *CustomerShippingContactsAddress) GetState() string
- func (o *CustomerShippingContactsAddress) GetStateOk() (*string, bool)
- func (o *CustomerShippingContactsAddress) GetStreet1() string
- func (o *CustomerShippingContactsAddress) GetStreet1Ok() (*string, bool)
- func (o *CustomerShippingContactsAddress) GetStreet2() string
- func (o *CustomerShippingContactsAddress) GetStreet2Ok() (*string, bool)
- func (o *CustomerShippingContactsAddress) HasCity() bool
- func (o *CustomerShippingContactsAddress) HasCountry() bool
- func (o *CustomerShippingContactsAddress) HasPostalCode() bool
- func (o *CustomerShippingContactsAddress) HasResidential() bool
- func (o *CustomerShippingContactsAddress) HasState() bool
- func (o *CustomerShippingContactsAddress) HasStreet1() bool
- func (o *CustomerShippingContactsAddress) HasStreet2() bool
- func (o CustomerShippingContactsAddress) MarshalJSON() ([]byte, error)
- func (o *CustomerShippingContactsAddress) SetCity(v string)
- func (o *CustomerShippingContactsAddress) SetCountry(v string)
- func (o *CustomerShippingContactsAddress) SetPostalCode(v string)
- func (o *CustomerShippingContactsAddress) SetResidential(v bool)
- func (o *CustomerShippingContactsAddress) SetResidentialNil()
- func (o *CustomerShippingContactsAddress) SetState(v string)
- func (o *CustomerShippingContactsAddress) SetStreet1(v string)
- func (o *CustomerShippingContactsAddress) SetStreet2(v string)
- func (o CustomerShippingContactsAddress) ToMap() (map[string]interface{}, error)
- func (o *CustomerShippingContactsAddress) UnmarshalJSON(data []byte) (err error)
- func (o *CustomerShippingContactsAddress) UnsetResidential()
- type CustomerShippingContactsDataResponse
- func (o *CustomerShippingContactsDataResponse) GetAddress() CustomerShippingContactsAddress
- func (o *CustomerShippingContactsDataResponse) GetAddressOk() (*CustomerShippingContactsAddress, bool)
- func (o *CustomerShippingContactsDataResponse) GetBetweenStreets() string
- func (o *CustomerShippingContactsDataResponse) GetBetweenStreetsOk() (*string, bool)
- func (o *CustomerShippingContactsDataResponse) GetCreatedAt() int64
- func (o *CustomerShippingContactsDataResponse) GetCreatedAtOk() (*int64, bool)
- func (o *CustomerShippingContactsDataResponse) GetDefault() bool
- func (o *CustomerShippingContactsDataResponse) GetDefaultOk() (*bool, bool)
- func (o *CustomerShippingContactsDataResponse) GetDeleted() bool
- func (o *CustomerShippingContactsDataResponse) GetDeletedOk() (*bool, bool)
- func (o *CustomerShippingContactsDataResponse) GetId() string
- func (o *CustomerShippingContactsDataResponse) GetIdOk() (*string, bool)
- func (o *CustomerShippingContactsDataResponse) GetMetadata() map[string]interface{}
- func (o *CustomerShippingContactsDataResponse) GetMetadataOk() (map[string]interface{}, bool)
- func (o *CustomerShippingContactsDataResponse) GetObject() string
- func (o *CustomerShippingContactsDataResponse) GetObjectOk() (*string, bool)
- func (o *CustomerShippingContactsDataResponse) GetParentId() string
- func (o *CustomerShippingContactsDataResponse) GetParentIdOk() (*string, bool)
- func (o *CustomerShippingContactsDataResponse) GetPhone() string
- func (o *CustomerShippingContactsDataResponse) GetPhoneOk() (*string, bool)
- func (o *CustomerShippingContactsDataResponse) GetReceiver() string
- func (o *CustomerShippingContactsDataResponse) GetReceiverOk() (*string, bool)
- func (o *CustomerShippingContactsDataResponse) HasBetweenStreets() bool
- func (o *CustomerShippingContactsDataResponse) HasDefault() bool
- func (o *CustomerShippingContactsDataResponse) HasDeleted() bool
- func (o *CustomerShippingContactsDataResponse) HasMetadata() bool
- func (o *CustomerShippingContactsDataResponse) HasParentId() bool
- func (o *CustomerShippingContactsDataResponse) HasPhone() bool
- func (o *CustomerShippingContactsDataResponse) HasReceiver() bool
- func (o CustomerShippingContactsDataResponse) MarshalJSON() ([]byte, error)
- func (o *CustomerShippingContactsDataResponse) SetAddress(v CustomerShippingContactsAddress)
- func (o *CustomerShippingContactsDataResponse) SetBetweenStreets(v string)
- func (o *CustomerShippingContactsDataResponse) SetCreatedAt(v int64)
- func (o *CustomerShippingContactsDataResponse) SetDefault(v bool)
- func (o *CustomerShippingContactsDataResponse) SetDefaultNil()
- func (o *CustomerShippingContactsDataResponse) SetDeleted(v bool)
- func (o *CustomerShippingContactsDataResponse) SetDeletedNil()
- func (o *CustomerShippingContactsDataResponse) SetId(v string)
- func (o *CustomerShippingContactsDataResponse) SetMetadata(v map[string]interface{})
- func (o *CustomerShippingContactsDataResponse) SetObject(v string)
- func (o *CustomerShippingContactsDataResponse) SetParentId(v string)
- func (o *CustomerShippingContactsDataResponse) SetPhone(v string)
- func (o *CustomerShippingContactsDataResponse) SetReceiver(v string)
- func (o CustomerShippingContactsDataResponse) ToMap() (map[string]interface{}, error)
- func (o *CustomerShippingContactsDataResponse) UnmarshalJSON(data []byte) (err error)
- func (o *CustomerShippingContactsDataResponse) UnsetDefault()
- func (o *CustomerShippingContactsDataResponse) UnsetDeleted()
- type CustomerShippingContactsResponse
- func (o *CustomerShippingContactsResponse) GetAddress() CustomerShippingContactsResponseAddress
- func (o *CustomerShippingContactsResponse) GetAddressOk() (*CustomerShippingContactsResponseAddress, bool)
- func (o *CustomerShippingContactsResponse) GetBetweenStreets() string
- func (o *CustomerShippingContactsResponse) GetBetweenStreetsOk() (*string, bool)
- func (o *CustomerShippingContactsResponse) GetCreatedAt() int64
- func (o *CustomerShippingContactsResponse) GetCreatedAtOk() (*int64, bool)
- func (o *CustomerShippingContactsResponse) GetDefault() bool
- func (o *CustomerShippingContactsResponse) GetDefaultOk() (*bool, bool)
- func (o *CustomerShippingContactsResponse) GetDeleted() bool
- func (o *CustomerShippingContactsResponse) GetDeletedOk() (*bool, bool)
- func (o *CustomerShippingContactsResponse) GetId() string
- func (o *CustomerShippingContactsResponse) GetIdOk() (*string, bool)
- func (o *CustomerShippingContactsResponse) GetMetadata() map[string]interface{}
- func (o *CustomerShippingContactsResponse) GetMetadataOk() (map[string]interface{}, bool)
- func (o *CustomerShippingContactsResponse) GetObject() string
- func (o *CustomerShippingContactsResponse) GetObjectOk() (*string, bool)
- func (o *CustomerShippingContactsResponse) GetParentId() string
- func (o *CustomerShippingContactsResponse) GetParentIdOk() (*string, bool)
- func (o *CustomerShippingContactsResponse) GetPhone() string
- func (o *CustomerShippingContactsResponse) GetPhoneOk() (*string, bool)
- func (o *CustomerShippingContactsResponse) GetReceiver() string
- func (o *CustomerShippingContactsResponse) GetReceiverOk() (*string, bool)
- func (o *CustomerShippingContactsResponse) HasAddress() bool
- func (o *CustomerShippingContactsResponse) HasBetweenStreets() bool
- func (o *CustomerShippingContactsResponse) HasCreatedAt() bool
- func (o *CustomerShippingContactsResponse) HasDefault() bool
- func (o *CustomerShippingContactsResponse) HasDeleted() bool
- func (o *CustomerShippingContactsResponse) HasId() bool
- func (o *CustomerShippingContactsResponse) HasMetadata() bool
- func (o *CustomerShippingContactsResponse) HasObject() bool
- func (o *CustomerShippingContactsResponse) HasParentId() bool
- func (o *CustomerShippingContactsResponse) HasPhone() bool
- func (o *CustomerShippingContactsResponse) HasReceiver() bool
- func (o CustomerShippingContactsResponse) MarshalJSON() ([]byte, error)
- func (o *CustomerShippingContactsResponse) SetAddress(v CustomerShippingContactsResponseAddress)
- func (o *CustomerShippingContactsResponse) SetBetweenStreets(v string)
- func (o *CustomerShippingContactsResponse) SetBetweenStreetsNil()
- func (o *CustomerShippingContactsResponse) SetCreatedAt(v int64)
- func (o *CustomerShippingContactsResponse) SetDefault(v bool)
- func (o *CustomerShippingContactsResponse) SetDeleted(v bool)
- func (o *CustomerShippingContactsResponse) SetId(v string)
- func (o *CustomerShippingContactsResponse) SetMetadata(v map[string]interface{})
- func (o *CustomerShippingContactsResponse) SetObject(v string)
- func (o *CustomerShippingContactsResponse) SetParentId(v string)
- func (o *CustomerShippingContactsResponse) SetPhone(v string)
- func (o *CustomerShippingContactsResponse) SetReceiver(v string)
- func (o CustomerShippingContactsResponse) ToMap() (map[string]interface{}, error)
- func (o *CustomerShippingContactsResponse) UnmarshalJSON(data []byte) (err error)
- func (o *CustomerShippingContactsResponse) UnsetBetweenStreets()
- type CustomerShippingContactsResponseAddress
- func (o *CustomerShippingContactsResponseAddress) GetCity() string
- func (o *CustomerShippingContactsResponseAddress) GetCityOk() (*string, bool)
- func (o *CustomerShippingContactsResponseAddress) GetCountry() string
- func (o *CustomerShippingContactsResponseAddress) GetCountryOk() (*string, bool)
- func (o *CustomerShippingContactsResponseAddress) GetObject() string
- func (o *CustomerShippingContactsResponseAddress) GetObjectOk() (*string, bool)
- func (o *CustomerShippingContactsResponseAddress) GetPostalCode() string
- func (o *CustomerShippingContactsResponseAddress) GetPostalCodeOk() (*string, bool)
- func (o *CustomerShippingContactsResponseAddress) GetResidential() bool
- func (o *CustomerShippingContactsResponseAddress) GetResidentialOk() (*bool, bool)
- func (o *CustomerShippingContactsResponseAddress) GetState() string
- func (o *CustomerShippingContactsResponseAddress) GetStateOk() (*string, bool)
- func (o *CustomerShippingContactsResponseAddress) GetStreet1() string
- func (o *CustomerShippingContactsResponseAddress) GetStreet1Ok() (*string, bool)
- func (o *CustomerShippingContactsResponseAddress) GetStreet2() string
- func (o *CustomerShippingContactsResponseAddress) GetStreet2Ok() (*string, bool)
- func (o *CustomerShippingContactsResponseAddress) HasCity() bool
- func (o *CustomerShippingContactsResponseAddress) HasCountry() bool
- func (o *CustomerShippingContactsResponseAddress) HasObject() bool
- func (o *CustomerShippingContactsResponseAddress) HasPostalCode() bool
- func (o *CustomerShippingContactsResponseAddress) HasResidential() bool
- func (o *CustomerShippingContactsResponseAddress) HasState() bool
- func (o *CustomerShippingContactsResponseAddress) HasStreet1() bool
- func (o *CustomerShippingContactsResponseAddress) HasStreet2() bool
- func (o CustomerShippingContactsResponseAddress) MarshalJSON() ([]byte, error)
- func (o *CustomerShippingContactsResponseAddress) SetCity(v string)
- func (o *CustomerShippingContactsResponseAddress) SetCountry(v string)
- func (o *CustomerShippingContactsResponseAddress) SetObject(v string)
- func (o *CustomerShippingContactsResponseAddress) SetPostalCode(v string)
- func (o *CustomerShippingContactsResponseAddress) SetResidential(v bool)
- func (o *CustomerShippingContactsResponseAddress) SetResidentialNil()
- func (o *CustomerShippingContactsResponseAddress) SetState(v string)
- func (o *CustomerShippingContactsResponseAddress) SetStreet1(v string)
- func (o *CustomerShippingContactsResponseAddress) SetStreet2(v string)
- func (o CustomerShippingContactsResponseAddress) ToMap() (map[string]interface{}, error)
- func (o *CustomerShippingContactsResponseAddress) UnmarshalJSON(data []byte) (err error)
- func (o *CustomerShippingContactsResponseAddress) UnsetResidential()
- type CustomerUpdateFiscalEntitiesRequest
- func (o *CustomerUpdateFiscalEntitiesRequest) GetAddress() CustomerAddress
- func (o *CustomerUpdateFiscalEntitiesRequest) GetAddressOk() (*CustomerAddress, bool)
- func (o *CustomerUpdateFiscalEntitiesRequest) GetCompanyName() string
- func (o *CustomerUpdateFiscalEntitiesRequest) GetCompanyNameOk() (*string, bool)
- func (o *CustomerUpdateFiscalEntitiesRequest) GetEmail() string
- func (o *CustomerUpdateFiscalEntitiesRequest) GetEmailOk() (*string, bool)
- func (o *CustomerUpdateFiscalEntitiesRequest) GetMetadata() map[string]map[string]interface{}
- func (o *CustomerUpdateFiscalEntitiesRequest) GetMetadataOk() (map[string]map[string]interface{}, bool)
- func (o *CustomerUpdateFiscalEntitiesRequest) GetPhone() string
- func (o *CustomerUpdateFiscalEntitiesRequest) GetPhoneOk() (*string, bool)
- func (o *CustomerUpdateFiscalEntitiesRequest) GetTaxId() string
- func (o *CustomerUpdateFiscalEntitiesRequest) GetTaxIdOk() (*string, bool)
- func (o *CustomerUpdateFiscalEntitiesRequest) HasAddress() bool
- func (o *CustomerUpdateFiscalEntitiesRequest) HasCompanyName() bool
- func (o *CustomerUpdateFiscalEntitiesRequest) HasEmail() bool
- func (o *CustomerUpdateFiscalEntitiesRequest) HasMetadata() bool
- func (o *CustomerUpdateFiscalEntitiesRequest) HasPhone() bool
- func (o *CustomerUpdateFiscalEntitiesRequest) HasTaxId() bool
- func (o CustomerUpdateFiscalEntitiesRequest) MarshalJSON() ([]byte, error)
- func (o *CustomerUpdateFiscalEntitiesRequest) SetAddress(v CustomerAddress)
- func (o *CustomerUpdateFiscalEntitiesRequest) SetCompanyName(v string)
- func (o *CustomerUpdateFiscalEntitiesRequest) SetEmail(v string)
- func (o *CustomerUpdateFiscalEntitiesRequest) SetMetadata(v map[string]map[string]interface{})
- func (o *CustomerUpdateFiscalEntitiesRequest) SetPhone(v string)
- func (o *CustomerUpdateFiscalEntitiesRequest) SetTaxId(v string)
- func (o CustomerUpdateFiscalEntitiesRequest) ToMap() (map[string]interface{}, error)
- func (o *CustomerUpdateFiscalEntitiesRequest) UnmarshalJSON(data []byte) (err error)
- type CustomerUpdateShippingContacts
- func (o *CustomerUpdateShippingContacts) GetAddress() CustomerShippingContactsAddress
- func (o *CustomerUpdateShippingContacts) GetAddressOk() (*CustomerShippingContactsAddress, bool)
- func (o *CustomerUpdateShippingContacts) GetBetweenStreets() string
- func (o *CustomerUpdateShippingContacts) GetBetweenStreetsOk() (*string, bool)
- func (o *CustomerUpdateShippingContacts) GetDefault() bool
- func (o *CustomerUpdateShippingContacts) GetDefaultOk() (*bool, bool)
- func (o *CustomerUpdateShippingContacts) GetDeleted() bool
- func (o *CustomerUpdateShippingContacts) GetDeletedOk() (*bool, bool)
- func (o *CustomerUpdateShippingContacts) GetParentId() string
- func (o *CustomerUpdateShippingContacts) GetParentIdOk() (*string, bool)
- func (o *CustomerUpdateShippingContacts) GetPhone() string
- func (o *CustomerUpdateShippingContacts) GetPhoneOk() (*string, bool)
- func (o *CustomerUpdateShippingContacts) GetReceiver() string
- func (o *CustomerUpdateShippingContacts) GetReceiverOk() (*string, bool)
- func (o *CustomerUpdateShippingContacts) HasAddress() bool
- func (o *CustomerUpdateShippingContacts) HasBetweenStreets() bool
- func (o *CustomerUpdateShippingContacts) HasDefault() bool
- func (o *CustomerUpdateShippingContacts) HasDeleted() bool
- func (o *CustomerUpdateShippingContacts) HasParentId() bool
- func (o *CustomerUpdateShippingContacts) HasPhone() bool
- func (o *CustomerUpdateShippingContacts) HasReceiver() bool
- func (o CustomerUpdateShippingContacts) MarshalJSON() ([]byte, error)
- func (o *CustomerUpdateShippingContacts) SetAddress(v CustomerShippingContactsAddress)
- func (o *CustomerUpdateShippingContacts) SetBetweenStreets(v string)
- func (o *CustomerUpdateShippingContacts) SetDefault(v bool)
- func (o *CustomerUpdateShippingContacts) SetDefaultNil()
- func (o *CustomerUpdateShippingContacts) SetDeleted(v bool)
- func (o *CustomerUpdateShippingContacts) SetDeletedNil()
- func (o *CustomerUpdateShippingContacts) SetParentId(v string)
- func (o *CustomerUpdateShippingContacts) SetPhone(v string)
- func (o *CustomerUpdateShippingContacts) SetReceiver(v string)
- func (o CustomerUpdateShippingContacts) ToMap() (map[string]interface{}, error)
- func (o *CustomerUpdateShippingContacts) UnmarshalJSON(data []byte) (err error)
- func (o *CustomerUpdateShippingContacts) UnsetDefault()
- func (o *CustomerUpdateShippingContacts) UnsetDeleted()
- type CustomersAPI
- type CustomersAPIService
- func (a *CustomersAPIService) CreateCustomer(ctx context.Context) ApiCreateCustomerRequest
- func (a *CustomersAPIService) CreateCustomerExecute(r ApiCreateCustomerRequest) (*CustomerResponse, *http.Response, error)
- func (a *CustomersAPIService) CreateCustomerFiscalEntities(ctx context.Context, id string) ApiCreateCustomerFiscalEntitiesRequest
- func (a *CustomersAPIService) CreateCustomerFiscalEntitiesExecute(r ApiCreateCustomerFiscalEntitiesRequest) (*CreateCustomerFiscalEntitiesResponse, *http.Response, error)
- func (a *CustomersAPIService) DeleteCustomerById(ctx context.Context, id string) ApiDeleteCustomerByIdRequest
- func (a *CustomersAPIService) DeleteCustomerByIdExecute(r ApiDeleteCustomerByIdRequest) (*CustomerResponse, *http.Response, error)
- func (a *CustomersAPIService) GetCustomerById(ctx context.Context, id string) ApiGetCustomerByIdRequest
- func (a *CustomersAPIService) GetCustomerByIdExecute(r ApiGetCustomerByIdRequest) (*CustomerResponse, *http.Response, error)
- func (a *CustomersAPIService) GetCustomers(ctx context.Context) ApiGetCustomersRequest
- func (a *CustomersAPIService) GetCustomersExecute(r ApiGetCustomersRequest) (*CustomersResponse, *http.Response, error)
- func (a *CustomersAPIService) UpdateCustomer(ctx context.Context, id string) ApiUpdateCustomerRequest
- func (a *CustomersAPIService) UpdateCustomerExecute(r ApiUpdateCustomerRequest) (*CustomerResponse, *http.Response, error)
- func (a *CustomersAPIService) UpdateCustomerFiscalEntities(ctx context.Context, id string, fiscalEntitiesId string) ApiUpdateCustomerFiscalEntitiesRequest
- func (a *CustomersAPIService) UpdateCustomerFiscalEntitiesExecute(r ApiUpdateCustomerFiscalEntitiesRequest) (*UpdateCustomerFiscalEntitiesResponse, *http.Response, error)
- type CustomersResponse
- func (o *CustomersResponse) GetData() []CustomerResponse
- func (o *CustomersResponse) GetDataOk() ([]CustomerResponse, bool)
- func (o *CustomersResponse) GetHasMore() bool
- func (o *CustomersResponse) GetHasMoreOk() (*bool, bool)
- func (o *CustomersResponse) GetNextPageUrl() string
- func (o *CustomersResponse) GetNextPageUrlOk() (*string, bool)
- func (o *CustomersResponse) GetObject() string
- func (o *CustomersResponse) GetObjectOk() (*string, bool)
- func (o *CustomersResponse) GetPreviousPageUrl() string
- func (o *CustomersResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *CustomersResponse) HasData() bool
- func (o *CustomersResponse) HasNextPageUrl() bool
- func (o *CustomersResponse) HasPreviousPageUrl() bool
- func (o CustomersResponse) MarshalJSON() ([]byte, error)
- func (o *CustomersResponse) SetData(v []CustomerResponse)
- func (o *CustomersResponse) SetHasMore(v bool)
- func (o *CustomersResponse) SetNextPageUrl(v string)
- func (o *CustomersResponse) SetNextPageUrlNil()
- func (o *CustomersResponse) SetObject(v string)
- func (o *CustomersResponse) SetPreviousPageUrl(v string)
- func (o *CustomersResponse) SetPreviousPageUrlNil()
- func (o CustomersResponse) ToMap() (map[string]interface{}, error)
- func (o *CustomersResponse) UnmarshalJSON(data []byte) (err error)
- func (o *CustomersResponse) UnsetNextPageUrl()
- func (o *CustomersResponse) UnsetPreviousPageUrl()
- type DeleteApiKeysResponse
- func (o *DeleteApiKeysResponse) GetActive() bool
- func (o *DeleteApiKeysResponse) GetActiveOk() (*bool, bool)
- func (o *DeleteApiKeysResponse) GetCreatedAt() int64
- func (o *DeleteApiKeysResponse) GetCreatedAtOk() (*int64, bool)
- func (o *DeleteApiKeysResponse) GetDeleted() bool
- func (o *DeleteApiKeysResponse) GetDeletedOk() (*bool, bool)
- func (o *DeleteApiKeysResponse) GetDescription() string
- func (o *DeleteApiKeysResponse) GetDescriptionOk() (*string, bool)
- func (o *DeleteApiKeysResponse) GetId() string
- func (o *DeleteApiKeysResponse) GetIdOk() (*string, bool)
- func (o *DeleteApiKeysResponse) GetLivemode() bool
- func (o *DeleteApiKeysResponse) GetLivemodeOk() (*bool, bool)
- func (o *DeleteApiKeysResponse) GetObject() string
- func (o *DeleteApiKeysResponse) GetObjectOk() (*string, bool)
- func (o *DeleteApiKeysResponse) GetPrefix() string
- func (o *DeleteApiKeysResponse) GetPrefixOk() (*string, bool)
- func (o *DeleteApiKeysResponse) GetRole() string
- func (o *DeleteApiKeysResponse) GetRoleOk() (*string, bool)
- func (o *DeleteApiKeysResponse) HasActive() bool
- func (o *DeleteApiKeysResponse) HasCreatedAt() bool
- func (o *DeleteApiKeysResponse) HasDeleted() bool
- func (o *DeleteApiKeysResponse) HasDescription() bool
- func (o *DeleteApiKeysResponse) HasId() bool
- func (o *DeleteApiKeysResponse) HasLivemode() bool
- func (o *DeleteApiKeysResponse) HasObject() bool
- func (o *DeleteApiKeysResponse) HasPrefix() bool
- func (o *DeleteApiKeysResponse) HasRole() bool
- func (o DeleteApiKeysResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteApiKeysResponse) SetActive(v bool)
- func (o *DeleteApiKeysResponse) SetCreatedAt(v int64)
- func (o *DeleteApiKeysResponse) SetDeleted(v bool)
- func (o *DeleteApiKeysResponse) SetDescription(v string)
- func (o *DeleteApiKeysResponse) SetId(v string)
- func (o *DeleteApiKeysResponse) SetLivemode(v bool)
- func (o *DeleteApiKeysResponse) SetObject(v string)
- func (o *DeleteApiKeysResponse) SetPrefix(v string)
- func (o *DeleteApiKeysResponse) SetRole(v string)
- func (o DeleteApiKeysResponse) ToMap() (map[string]interface{}, error)
- func (o *DeleteApiKeysResponse) UnmarshalJSON(data []byte) (err error)
- type Details
- func (o *Details) GetDetails() []DetailsError
- func (o *Details) GetDetailsOk() ([]DetailsError, bool)
- func (o *Details) HasDetails() bool
- func (o Details) MarshalJSON() ([]byte, error)
- func (o *Details) SetDetails(v []DetailsError)
- func (o Details) ToMap() (map[string]interface{}, error)
- func (o *Details) UnmarshalJSON(data []byte) (err error)
- type DetailsError
- func (o *DetailsError) GetCode() string
- func (o *DetailsError) GetCodeOk() (*string, bool)
- func (o *DetailsError) GetDebugMessage() string
- func (o *DetailsError) GetDebugMessageOk() (*string, bool)
- func (o *DetailsError) GetMessage() string
- func (o *DetailsError) GetMessageOk() (*string, bool)
- func (o *DetailsError) GetParam() string
- func (o *DetailsError) GetParamOk() (*string, bool)
- func (o *DetailsError) HasCode() bool
- func (o *DetailsError) HasDebugMessage() bool
- func (o *DetailsError) HasMessage() bool
- func (o *DetailsError) HasParam() bool
- func (o DetailsError) MarshalJSON() ([]byte, error)
- func (o *DetailsError) SetCode(v string)
- func (o *DetailsError) SetDebugMessage(v string)
- func (o *DetailsError) SetMessage(v string)
- func (o *DetailsError) SetParam(v string)
- func (o *DetailsError) SetParamNil()
- func (o DetailsError) ToMap() (map[string]interface{}, error)
- func (o *DetailsError) UnmarshalJSON(data []byte) (err error)
- func (o *DetailsError) UnsetParam()
- type DiscountLinesDataResponse
- func (o *DiscountLinesDataResponse) GetAmount() int64
- func (o *DiscountLinesDataResponse) GetAmountOk() (*int64, bool)
- func (o *DiscountLinesDataResponse) GetCode() string
- func (o *DiscountLinesDataResponse) GetCodeOk() (*string, bool)
- func (o *DiscountLinesDataResponse) GetId() string
- func (o *DiscountLinesDataResponse) GetIdOk() (*string, bool)
- func (o *DiscountLinesDataResponse) GetObject() string
- func (o *DiscountLinesDataResponse) GetObjectOk() (*string, bool)
- func (o *DiscountLinesDataResponse) GetParentId() string
- func (o *DiscountLinesDataResponse) GetParentIdOk() (*string, bool)
- func (o *DiscountLinesDataResponse) GetType() string
- func (o *DiscountLinesDataResponse) GetTypeOk() (*string, bool)
- func (o DiscountLinesDataResponse) MarshalJSON() ([]byte, error)
- func (o *DiscountLinesDataResponse) SetAmount(v int64)
- func (o *DiscountLinesDataResponse) SetCode(v string)
- func (o *DiscountLinesDataResponse) SetId(v string)
- func (o *DiscountLinesDataResponse) SetObject(v string)
- func (o *DiscountLinesDataResponse) SetParentId(v string)
- func (o *DiscountLinesDataResponse) SetType(v string)
- func (o DiscountLinesDataResponse) ToMap() (map[string]interface{}, error)
- func (o *DiscountLinesDataResponse) UnmarshalJSON(data []byte) (err error)
- type DiscountLinesResponse
- func (o *DiscountLinesResponse) GetAmount() int64
- func (o *DiscountLinesResponse) GetAmountOk() (*int64, bool)
- func (o *DiscountLinesResponse) GetCode() string
- func (o *DiscountLinesResponse) GetCodeOk() (*string, bool)
- func (o *DiscountLinesResponse) GetId() string
- func (o *DiscountLinesResponse) GetIdOk() (*string, bool)
- func (o *DiscountLinesResponse) GetObject() string
- func (o *DiscountLinesResponse) GetObjectOk() (*string, bool)
- func (o *DiscountLinesResponse) GetParentId() string
- func (o *DiscountLinesResponse) GetParentIdOk() (*string, bool)
- func (o *DiscountLinesResponse) GetType() string
- func (o *DiscountLinesResponse) GetTypeOk() (*string, bool)
- func (o DiscountLinesResponse) MarshalJSON() ([]byte, error)
- func (o *DiscountLinesResponse) SetAmount(v int64)
- func (o *DiscountLinesResponse) SetCode(v string)
- func (o *DiscountLinesResponse) SetId(v string)
- func (o *DiscountLinesResponse) SetObject(v string)
- func (o *DiscountLinesResponse) SetParentId(v string)
- func (o *DiscountLinesResponse) SetType(v string)
- func (o DiscountLinesResponse) ToMap() (map[string]interface{}, error)
- func (o *DiscountLinesResponse) UnmarshalJSON(data []byte) (err error)
- type DiscountsAPI
- type DiscountsAPIService
- func (a *DiscountsAPIService) OrdersCreateDiscountLine(ctx context.Context, id string) ApiOrdersCreateDiscountLineRequest
- func (a *DiscountsAPIService) OrdersCreateDiscountLineExecute(r ApiOrdersCreateDiscountLineRequest) (*DiscountLinesResponse, *http.Response, error)
- func (a *DiscountsAPIService) OrdersDeleteDiscountLines(ctx context.Context, id string, discountLinesId string) ApiOrdersDeleteDiscountLinesRequest
- func (a *DiscountsAPIService) OrdersDeleteDiscountLinesExecute(r ApiOrdersDeleteDiscountLinesRequest) (*DiscountLinesResponse, *http.Response, error)
- func (a *DiscountsAPIService) OrdersGetDiscountLine(ctx context.Context, id string, discountLinesId string) ApiOrdersGetDiscountLineRequest
- func (a *DiscountsAPIService) OrdersGetDiscountLineExecute(r ApiOrdersGetDiscountLineRequest) (*DiscountLinesResponse, *http.Response, error)
- func (a *DiscountsAPIService) OrdersGetDiscountLines(ctx context.Context, id string) ApiOrdersGetDiscountLinesRequest
- func (a *DiscountsAPIService) OrdersGetDiscountLinesExecute(r ApiOrdersGetDiscountLinesRequest) (*GetOrderDiscountLinesResponse, *http.Response, error)
- func (a *DiscountsAPIService) OrdersUpdateDiscountLines(ctx context.Context, id string, discountLinesId string) ApiOrdersUpdateDiscountLinesRequest
- func (a *DiscountsAPIService) OrdersUpdateDiscountLinesExecute(r ApiOrdersUpdateDiscountLinesRequest) (*DiscountLinesResponse, *http.Response, error)
- type EmailCheckoutRequest
- func (o *EmailCheckoutRequest) GetEmail() string
- func (o *EmailCheckoutRequest) GetEmailOk() (*string, bool)
- func (o EmailCheckoutRequest) MarshalJSON() ([]byte, error)
- func (o *EmailCheckoutRequest) SetEmail(v string)
- func (o EmailCheckoutRequest) ToMap() (map[string]interface{}, error)
- func (o *EmailCheckoutRequest) UnmarshalJSON(data []byte) (err error)
- type EventResponse
- func (o *EventResponse) GetCreatedAt() int64
- func (o *EventResponse) GetCreatedAtOk() (*int64, bool)
- func (o *EventResponse) GetData() map[string]interface{}
- func (o *EventResponse) GetDataOk() (map[string]interface{}, bool)
- func (o *EventResponse) GetId() string
- func (o *EventResponse) GetIdOk() (*string, bool)
- func (o *EventResponse) GetLivemode() bool
- func (o *EventResponse) GetLivemodeOk() (*bool, bool)
- func (o *EventResponse) GetObject() string
- func (o *EventResponse) GetObjectOk() (*string, bool)
- func (o *EventResponse) GetType() string
- func (o *EventResponse) GetTypeOk() (*string, bool)
- func (o *EventResponse) GetWebhookLogs() []WebhookLog
- func (o *EventResponse) GetWebhookLogsOk() ([]WebhookLog, bool)
- func (o *EventResponse) GetWebhookStatus() string
- func (o *EventResponse) GetWebhookStatusOk() (*string, bool)
- func (o *EventResponse) HasCreatedAt() bool
- func (o *EventResponse) HasData() bool
- func (o *EventResponse) HasId() bool
- func (o *EventResponse) HasLivemode() bool
- func (o *EventResponse) HasObject() bool
- func (o *EventResponse) HasType() bool
- func (o *EventResponse) HasWebhookLogs() bool
- func (o *EventResponse) HasWebhookStatus() bool
- func (o EventResponse) MarshalJSON() ([]byte, error)
- func (o *EventResponse) SetCreatedAt(v int64)
- func (o *EventResponse) SetData(v map[string]interface{})
- func (o *EventResponse) SetId(v string)
- func (o *EventResponse) SetLivemode(v bool)
- func (o *EventResponse) SetObject(v string)
- func (o *EventResponse) SetType(v string)
- func (o *EventResponse) SetWebhookLogs(v []WebhookLog)
- func (o *EventResponse) SetWebhookStatus(v string)
- func (o EventResponse) ToMap() (map[string]interface{}, error)
- func (o *EventResponse) UnmarshalJSON(data []byte) (err error)
- type EventsAPI
- type EventsAPIService
- func (a *EventsAPIService) GetEvent(ctx context.Context, id string) ApiGetEventRequest
- func (a *EventsAPIService) GetEventExecute(r ApiGetEventRequest) (*EventResponse, *http.Response, error)
- func (a *EventsAPIService) GetEvents(ctx context.Context) ApiGetEventsRequest
- func (a *EventsAPIService) GetEventsExecute(r ApiGetEventsRequest) (*GetEventsResponse, *http.Response, error)
- func (a *EventsAPIService) ResendEvent(ctx context.Context, eventId string, webhookLogId string) ApiResendEventRequest
- func (a *EventsAPIService) ResendEventExecute(r ApiResendEventRequest) (*EventsResendResponse, *http.Response, error)
- type EventsResendResponse
- func (o *EventsResendResponse) GetFailedAttempts() int32
- func (o *EventsResendResponse) GetFailedAttemptsOk() (*int32, bool)
- func (o *EventsResendResponse) GetId() string
- func (o *EventsResendResponse) GetIdOk() (*string, bool)
- func (o *EventsResendResponse) GetLastAttemptedAt() int32
- func (o *EventsResendResponse) GetLastAttemptedAtOk() (*int32, bool)
- func (o *EventsResendResponse) GetLastHttpResponseStatus() int32
- func (o *EventsResendResponse) GetLastHttpResponseStatusOk() (*int32, bool)
- func (o *EventsResendResponse) GetResponseData() map[string]interface{}
- func (o *EventsResendResponse) GetResponseDataOk() (map[string]interface{}, bool)
- func (o *EventsResendResponse) GetUrl() string
- func (o *EventsResendResponse) GetUrlOk() (*string, bool)
- func (o *EventsResendResponse) HasFailedAttempts() bool
- func (o *EventsResendResponse) HasId() bool
- func (o *EventsResendResponse) HasLastAttemptedAt() bool
- func (o *EventsResendResponse) HasLastHttpResponseStatus() bool
- func (o *EventsResendResponse) HasResponseData() bool
- func (o *EventsResendResponse) HasUrl() bool
- func (o EventsResendResponse) MarshalJSON() ([]byte, error)
- func (o *EventsResendResponse) SetFailedAttempts(v int32)
- func (o *EventsResendResponse) SetId(v string)
- func (o *EventsResendResponse) SetLastAttemptedAt(v int32)
- func (o *EventsResendResponse) SetLastHttpResponseStatus(v int32)
- func (o *EventsResendResponse) SetResponseData(v map[string]interface{})
- func (o *EventsResendResponse) SetUrl(v string)
- func (o EventsResendResponse) ToMap() (map[string]interface{}, error)
- func (o *EventsResendResponse) UnmarshalJSON(data []byte) (err error)
- type FiscalEntityAddress
- func (o *FiscalEntityAddress) GetCity() string
- func (o *FiscalEntityAddress) GetCityOk() (*string, bool)
- func (o *FiscalEntityAddress) GetCountry() string
- func (o *FiscalEntityAddress) GetCountryOk() (*string, bool)
- func (o *FiscalEntityAddress) GetExternalNumber() string
- func (o *FiscalEntityAddress) GetExternalNumberOk() (*string, bool)
- func (o *FiscalEntityAddress) GetPostalCode() string
- func (o *FiscalEntityAddress) GetPostalCodeOk() (*string, bool)
- func (o *FiscalEntityAddress) GetState() string
- func (o *FiscalEntityAddress) GetStateOk() (*string, bool)
- func (o *FiscalEntityAddress) GetStreet1() string
- func (o *FiscalEntityAddress) GetStreet1Ok() (*string, bool)
- func (o *FiscalEntityAddress) GetStreet2() string
- func (o *FiscalEntityAddress) GetStreet2Ok() (*string, bool)
- func (o *FiscalEntityAddress) HasState() bool
- func (o *FiscalEntityAddress) HasStreet2() bool
- func (o FiscalEntityAddress) MarshalJSON() ([]byte, error)
- func (o *FiscalEntityAddress) SetCity(v string)
- func (o *FiscalEntityAddress) SetCountry(v string)
- func (o *FiscalEntityAddress) SetExternalNumber(v string)
- func (o *FiscalEntityAddress) SetPostalCode(v string)
- func (o *FiscalEntityAddress) SetState(v string)
- func (o *FiscalEntityAddress) SetStreet1(v string)
- func (o *FiscalEntityAddress) SetStreet2(v string)
- func (o *FiscalEntityAddress) SetStreet2Nil()
- func (o FiscalEntityAddress) ToMap() (map[string]interface{}, error)
- func (o *FiscalEntityAddress) UnmarshalJSON(data []byte) (err error)
- func (o *FiscalEntityAddress) UnsetStreet2()
- type GenericOpenAPIError
- type GetApiKeysResponse
- func (o *GetApiKeysResponse) GetData() []ApiKeyResponse
- func (o *GetApiKeysResponse) GetDataOk() ([]ApiKeyResponse, bool)
- func (o *GetApiKeysResponse) GetHasMore() bool
- func (o *GetApiKeysResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetApiKeysResponse) GetNextPageUrl() string
- func (o *GetApiKeysResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetApiKeysResponse) GetObject() string
- func (o *GetApiKeysResponse) GetObjectOk() (*string, bool)
- func (o *GetApiKeysResponse) GetPreviousPageUrl() string
- func (o *GetApiKeysResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetApiKeysResponse) HasData() bool
- func (o *GetApiKeysResponse) HasNextPageUrl() bool
- func (o *GetApiKeysResponse) HasPreviousPageUrl() bool
- func (o GetApiKeysResponse) MarshalJSON() ([]byte, error)
- func (o *GetApiKeysResponse) SetData(v []ApiKeyResponse)
- func (o *GetApiKeysResponse) SetHasMore(v bool)
- func (o *GetApiKeysResponse) SetNextPageUrl(v string)
- func (o *GetApiKeysResponse) SetNextPageUrlNil()
- func (o *GetApiKeysResponse) SetObject(v string)
- func (o *GetApiKeysResponse) SetPreviousPageUrl(v string)
- func (o *GetApiKeysResponse) SetPreviousPageUrlNil()
- func (o GetApiKeysResponse) ToMap() (map[string]interface{}, error)
- func (o *GetApiKeysResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetApiKeysResponse) UnsetNextPageUrl()
- func (o *GetApiKeysResponse) UnsetPreviousPageUrl()
- type GetChargesResponse
- func (o *GetChargesResponse) GetData() []ChargeResponse
- func (o *GetChargesResponse) GetDataOk() ([]ChargeResponse, bool)
- func (o *GetChargesResponse) GetHasMore() bool
- func (o *GetChargesResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetChargesResponse) GetNextPageUrl() string
- func (o *GetChargesResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetChargesResponse) GetObject() string
- func (o *GetChargesResponse) GetObjectOk() (*string, bool)
- func (o *GetChargesResponse) GetPreviousPageUrl() string
- func (o *GetChargesResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetChargesResponse) HasData() bool
- func (o *GetChargesResponse) HasNextPageUrl() bool
- func (o *GetChargesResponse) HasPreviousPageUrl() bool
- func (o GetChargesResponse) MarshalJSON() ([]byte, error)
- func (o *GetChargesResponse) SetData(v []ChargeResponse)
- func (o *GetChargesResponse) SetHasMore(v bool)
- func (o *GetChargesResponse) SetNextPageUrl(v string)
- func (o *GetChargesResponse) SetNextPageUrlNil()
- func (o *GetChargesResponse) SetObject(v string)
- func (o *GetChargesResponse) SetPreviousPageUrl(v string)
- func (o *GetChargesResponse) SetPreviousPageUrlNil()
- func (o GetChargesResponse) ToMap() (map[string]interface{}, error)
- func (o *GetChargesResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetChargesResponse) UnsetNextPageUrl()
- func (o *GetChargesResponse) UnsetPreviousPageUrl()
- type GetCompaniesResponse
- func (o *GetCompaniesResponse) GetData() []CompanyResponse
- func (o *GetCompaniesResponse) GetDataOk() ([]CompanyResponse, bool)
- func (o *GetCompaniesResponse) GetHasMore() bool
- func (o *GetCompaniesResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetCompaniesResponse) GetNextPageUrl() string
- func (o *GetCompaniesResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetCompaniesResponse) GetObject() string
- func (o *GetCompaniesResponse) GetObjectOk() (*string, bool)
- func (o *GetCompaniesResponse) GetPreviousPageUrl() string
- func (o *GetCompaniesResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetCompaniesResponse) HasData() bool
- func (o *GetCompaniesResponse) HasNextPageUrl() bool
- func (o *GetCompaniesResponse) HasPreviousPageUrl() bool
- func (o GetCompaniesResponse) MarshalJSON() ([]byte, error)
- func (o *GetCompaniesResponse) SetData(v []CompanyResponse)
- func (o *GetCompaniesResponse) SetHasMore(v bool)
- func (o *GetCompaniesResponse) SetNextPageUrl(v string)
- func (o *GetCompaniesResponse) SetNextPageUrlNil()
- func (o *GetCompaniesResponse) SetObject(v string)
- func (o *GetCompaniesResponse) SetPreviousPageUrl(v string)
- func (o *GetCompaniesResponse) SetPreviousPageUrlNil()
- func (o GetCompaniesResponse) ToMap() (map[string]interface{}, error)
- func (o *GetCompaniesResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetCompaniesResponse) UnsetNextPageUrl()
- func (o *GetCompaniesResponse) UnsetPreviousPageUrl()
- type GetCustomerPaymentMethodDataResponse
- type GetEventsResponse
- func (o *GetEventsResponse) GetData() []EventResponse
- func (o *GetEventsResponse) GetDataOk() ([]EventResponse, bool)
- func (o *GetEventsResponse) GetHasMore() bool
- func (o *GetEventsResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetEventsResponse) GetNextPageUrl() string
- func (o *GetEventsResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetEventsResponse) GetObject() string
- func (o *GetEventsResponse) GetObjectOk() (*string, bool)
- func (o *GetEventsResponse) GetPreviousPageUrl() string
- func (o *GetEventsResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetEventsResponse) HasData() bool
- func (o *GetEventsResponse) HasNextPageUrl() bool
- func (o *GetEventsResponse) HasPreviousPageUrl() bool
- func (o GetEventsResponse) MarshalJSON() ([]byte, error)
- func (o *GetEventsResponse) SetData(v []EventResponse)
- func (o *GetEventsResponse) SetHasMore(v bool)
- func (o *GetEventsResponse) SetNextPageUrl(v string)
- func (o *GetEventsResponse) SetNextPageUrlNil()
- func (o *GetEventsResponse) SetObject(v string)
- func (o *GetEventsResponse) SetPreviousPageUrl(v string)
- func (o *GetEventsResponse) SetPreviousPageUrlNil()
- func (o GetEventsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetEventsResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetEventsResponse) UnsetNextPageUrl()
- func (o *GetEventsResponse) UnsetPreviousPageUrl()
- type GetOrderDiscountLinesResponse
- func (o *GetOrderDiscountLinesResponse) GetData() []DiscountLinesResponse
- func (o *GetOrderDiscountLinesResponse) GetDataOk() ([]DiscountLinesResponse, bool)
- func (o *GetOrderDiscountLinesResponse) GetHasMore() bool
- func (o *GetOrderDiscountLinesResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetOrderDiscountLinesResponse) GetNextPageUrl() string
- func (o *GetOrderDiscountLinesResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetOrderDiscountLinesResponse) GetObject() string
- func (o *GetOrderDiscountLinesResponse) GetObjectOk() (*string, bool)
- func (o *GetOrderDiscountLinesResponse) GetPreviousPageUrl() string
- func (o *GetOrderDiscountLinesResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetOrderDiscountLinesResponse) HasData() bool
- func (o *GetOrderDiscountLinesResponse) HasNextPageUrl() bool
- func (o *GetOrderDiscountLinesResponse) HasPreviousPageUrl() bool
- func (o GetOrderDiscountLinesResponse) MarshalJSON() ([]byte, error)
- func (o *GetOrderDiscountLinesResponse) SetData(v []DiscountLinesResponse)
- func (o *GetOrderDiscountLinesResponse) SetHasMore(v bool)
- func (o *GetOrderDiscountLinesResponse) SetNextPageUrl(v string)
- func (o *GetOrderDiscountLinesResponse) SetNextPageUrlNil()
- func (o *GetOrderDiscountLinesResponse) SetObject(v string)
- func (o *GetOrderDiscountLinesResponse) SetPreviousPageUrl(v string)
- func (o *GetOrderDiscountLinesResponse) SetPreviousPageUrlNil()
- func (o GetOrderDiscountLinesResponse) ToMap() (map[string]interface{}, error)
- func (o *GetOrderDiscountLinesResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetOrderDiscountLinesResponse) UnsetNextPageUrl()
- func (o *GetOrderDiscountLinesResponse) UnsetPreviousPageUrl()
- type GetOrdersResponse
- func (o *GetOrdersResponse) GetData() []OrderResponse
- func (o *GetOrdersResponse) GetDataOk() ([]OrderResponse, bool)
- func (o *GetOrdersResponse) GetHasMore() bool
- func (o *GetOrdersResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetOrdersResponse) GetNextPageUrl() string
- func (o *GetOrdersResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetOrdersResponse) GetObject() string
- func (o *GetOrdersResponse) GetObjectOk() (*string, bool)
- func (o *GetOrdersResponse) GetPreviousPageUrl() string
- func (o *GetOrdersResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetOrdersResponse) HasNextPageUrl() bool
- func (o *GetOrdersResponse) HasPreviousPageUrl() bool
- func (o GetOrdersResponse) MarshalJSON() ([]byte, error)
- func (o *GetOrdersResponse) SetData(v []OrderResponse)
- func (o *GetOrdersResponse) SetHasMore(v bool)
- func (o *GetOrdersResponse) SetNextPageUrl(v string)
- func (o *GetOrdersResponse) SetNextPageUrlNil()
- func (o *GetOrdersResponse) SetObject(v string)
- func (o *GetOrdersResponse) SetPreviousPageUrl(v string)
- func (o *GetOrdersResponse) SetPreviousPageUrlNil()
- func (o GetOrdersResponse) ToMap() (map[string]interface{}, error)
- func (o *GetOrdersResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetOrdersResponse) UnsetNextPageUrl()
- func (o *GetOrdersResponse) UnsetPreviousPageUrl()
- type GetPaymentMethodResponse
- func (o *GetPaymentMethodResponse) GetData() []GetCustomerPaymentMethodDataResponse
- func (o *GetPaymentMethodResponse) GetDataOk() ([]GetCustomerPaymentMethodDataResponse, bool)
- func (o *GetPaymentMethodResponse) GetHasMore() bool
- func (o *GetPaymentMethodResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetPaymentMethodResponse) GetNextPageUrl() string
- func (o *GetPaymentMethodResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetPaymentMethodResponse) GetObject() string
- func (o *GetPaymentMethodResponse) GetObjectOk() (*string, bool)
- func (o *GetPaymentMethodResponse) GetPreviousPageUrl() string
- func (o *GetPaymentMethodResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetPaymentMethodResponse) HasData() bool
- func (o *GetPaymentMethodResponse) HasNextPageUrl() bool
- func (o *GetPaymentMethodResponse) HasPreviousPageUrl() bool
- func (o GetPaymentMethodResponse) MarshalJSON() ([]byte, error)
- func (o *GetPaymentMethodResponse) SetData(v []GetCustomerPaymentMethodDataResponse)
- func (o *GetPaymentMethodResponse) SetHasMore(v bool)
- func (o *GetPaymentMethodResponse) SetNextPageUrl(v string)
- func (o *GetPaymentMethodResponse) SetNextPageUrlNil()
- func (o *GetPaymentMethodResponse) SetObject(v string)
- func (o *GetPaymentMethodResponse) SetPreviousPageUrl(v string)
- func (o *GetPaymentMethodResponse) SetPreviousPageUrlNil()
- func (o GetPaymentMethodResponse) ToMap() (map[string]interface{}, error)
- func (o *GetPaymentMethodResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetPaymentMethodResponse) UnsetNextPageUrl()
- func (o *GetPaymentMethodResponse) UnsetPreviousPageUrl()
- type GetTransactionsResponse
- func (o *GetTransactionsResponse) GetData() []TransactionResponse
- func (o *GetTransactionsResponse) GetDataOk() ([]TransactionResponse, bool)
- func (o *GetTransactionsResponse) GetHasMore() bool
- func (o *GetTransactionsResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetTransactionsResponse) GetNextPageUrl() string
- func (o *GetTransactionsResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetTransactionsResponse) GetObject() string
- func (o *GetTransactionsResponse) GetObjectOk() (*string, bool)
- func (o *GetTransactionsResponse) GetPreviousPageUrl() string
- func (o *GetTransactionsResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetTransactionsResponse) HasData() bool
- func (o *GetTransactionsResponse) HasNextPageUrl() bool
- func (o *GetTransactionsResponse) HasPreviousPageUrl() bool
- func (o GetTransactionsResponse) MarshalJSON() ([]byte, error)
- func (o *GetTransactionsResponse) SetData(v []TransactionResponse)
- func (o *GetTransactionsResponse) SetHasMore(v bool)
- func (o *GetTransactionsResponse) SetNextPageUrl(v string)
- func (o *GetTransactionsResponse) SetNextPageUrlNil()
- func (o *GetTransactionsResponse) SetObject(v string)
- func (o *GetTransactionsResponse) SetPreviousPageUrl(v string)
- func (o *GetTransactionsResponse) SetPreviousPageUrlNil()
- func (o GetTransactionsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetTransactionsResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetTransactionsResponse) UnsetNextPageUrl()
- func (o *GetTransactionsResponse) UnsetPreviousPageUrl()
- type GetTransfersResponse
- func (o *GetTransfersResponse) GetData() []TransfersResponse
- func (o *GetTransfersResponse) GetDataOk() ([]TransfersResponse, bool)
- func (o *GetTransfersResponse) GetHasMore() bool
- func (o *GetTransfersResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetTransfersResponse) GetNextPageUrl() string
- func (o *GetTransfersResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetTransfersResponse) GetObject() string
- func (o *GetTransfersResponse) GetObjectOk() (*string, bool)
- func (o *GetTransfersResponse) GetPreviousPageUrl() string
- func (o *GetTransfersResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetTransfersResponse) HasData() bool
- func (o *GetTransfersResponse) HasNextPageUrl() bool
- func (o *GetTransfersResponse) HasPreviousPageUrl() bool
- func (o GetTransfersResponse) MarshalJSON() ([]byte, error)
- func (o *GetTransfersResponse) SetData(v []TransfersResponse)
- func (o *GetTransfersResponse) SetHasMore(v bool)
- func (o *GetTransfersResponse) SetNextPageUrl(v string)
- func (o *GetTransfersResponse) SetNextPageUrlNil()
- func (o *GetTransfersResponse) SetObject(v string)
- func (o *GetTransfersResponse) SetPreviousPageUrl(v string)
- func (o *GetTransfersResponse) SetPreviousPageUrlNil()
- func (o GetTransfersResponse) ToMap() (map[string]interface{}, error)
- func (o *GetTransfersResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetTransfersResponse) UnsetNextPageUrl()
- func (o *GetTransfersResponse) UnsetPreviousPageUrl()
- type GetWebhookKeysResponse
- func (o *GetWebhookKeysResponse) GetData() []WebhookKeyResponse
- func (o *GetWebhookKeysResponse) GetDataOk() ([]WebhookKeyResponse, bool)
- func (o *GetWebhookKeysResponse) GetHasMore() bool
- func (o *GetWebhookKeysResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetWebhookKeysResponse) GetNextPageUrl() string
- func (o *GetWebhookKeysResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetWebhookKeysResponse) GetObject() string
- func (o *GetWebhookKeysResponse) GetObjectOk() (*string, bool)
- func (o *GetWebhookKeysResponse) GetPreviousPageUrl() string
- func (o *GetWebhookKeysResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetWebhookKeysResponse) HasData() bool
- func (o *GetWebhookKeysResponse) HasNextPageUrl() bool
- func (o *GetWebhookKeysResponse) HasPreviousPageUrl() bool
- func (o GetWebhookKeysResponse) MarshalJSON() ([]byte, error)
- func (o *GetWebhookKeysResponse) SetData(v []WebhookKeyResponse)
- func (o *GetWebhookKeysResponse) SetHasMore(v bool)
- func (o *GetWebhookKeysResponse) SetNextPageUrl(v string)
- func (o *GetWebhookKeysResponse) SetNextPageUrlNil()
- func (o *GetWebhookKeysResponse) SetObject(v string)
- func (o *GetWebhookKeysResponse) SetPreviousPageUrl(v string)
- func (o *GetWebhookKeysResponse) SetPreviousPageUrlNil()
- func (o GetWebhookKeysResponse) ToMap() (map[string]interface{}, error)
- func (o *GetWebhookKeysResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetWebhookKeysResponse) UnsetNextPageUrl()
- func (o *GetWebhookKeysResponse) UnsetPreviousPageUrl()
- type GetWebhooksResponse
- func (o *GetWebhooksResponse) GetData() []WebhookResponse
- func (o *GetWebhooksResponse) GetDataOk() ([]WebhookResponse, bool)
- func (o *GetWebhooksResponse) GetHasMore() bool
- func (o *GetWebhooksResponse) GetHasMoreOk() (*bool, bool)
- func (o *GetWebhooksResponse) GetNextPageUrl() string
- func (o *GetWebhooksResponse) GetNextPageUrlOk() (*string, bool)
- func (o *GetWebhooksResponse) GetObject() string
- func (o *GetWebhooksResponse) GetObjectOk() (*string, bool)
- func (o *GetWebhooksResponse) GetPreviousPageUrl() string
- func (o *GetWebhooksResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *GetWebhooksResponse) HasData() bool
- func (o *GetWebhooksResponse) HasNextPageUrl() bool
- func (o *GetWebhooksResponse) HasPreviousPageUrl() bool
- func (o GetWebhooksResponse) MarshalJSON() ([]byte, error)
- func (o *GetWebhooksResponse) SetData(v []WebhookResponse)
- func (o *GetWebhooksResponse) SetHasMore(v bool)
- func (o *GetWebhooksResponse) SetNextPageUrl(v string)
- func (o *GetWebhooksResponse) SetNextPageUrlNil()
- func (o *GetWebhooksResponse) SetObject(v string)
- func (o *GetWebhooksResponse) SetPreviousPageUrl(v string)
- func (o *GetWebhooksResponse) SetPreviousPageUrlNil()
- func (o GetWebhooksResponse) ToMap() (map[string]interface{}, error)
- func (o *GetWebhooksResponse) UnmarshalJSON(data []byte) (err error)
- func (o *GetWebhooksResponse) UnsetNextPageUrl()
- func (o *GetWebhooksResponse) UnsetPreviousPageUrl()
- type LogResponse
- func (o *LogResponse) GetCreatedAt() int64
- func (o *LogResponse) GetCreatedAtOk() (*int64, bool)
- func (o *LogResponse) GetId() string
- func (o *LogResponse) GetIdOk() (*string, bool)
- func (o *LogResponse) GetIpAddress() string
- func (o *LogResponse) GetIpAddressOk() (*string, bool)
- func (o *LogResponse) GetLivemode() bool
- func (o *LogResponse) GetLivemodeOk() (*bool, bool)
- func (o *LogResponse) GetLoggableId() string
- func (o *LogResponse) GetLoggableIdOk() (*string, bool)
- func (o *LogResponse) GetLoggableType() string
- func (o *LogResponse) GetLoggableTypeOk() (*string, bool)
- func (o *LogResponse) GetMethod() string
- func (o *LogResponse) GetMethodOk() (*string, bool)
- func (o *LogResponse) GetOauthTokenId() string
- func (o *LogResponse) GetOauthTokenIdOk() (*string, bool)
- func (o *LogResponse) GetQueryString() map[string]interface{}
- func (o *LogResponse) GetQueryStringOk() (map[string]interface{}, bool)
- func (o *LogResponse) GetRelated() string
- func (o *LogResponse) GetRelatedOk() (*string, bool)
- func (o *LogResponse) GetRequestBody() map[string]interface{}
- func (o *LogResponse) GetRequestBodyOk() (map[string]interface{}, bool)
- func (o *LogResponse) GetRequestHeaders() map[string]string
- func (o *LogResponse) GetRequestHeadersOk() (*map[string]string, bool)
- func (o *LogResponse) GetResponseBody() map[string]interface{}
- func (o *LogResponse) GetResponseBodyOk() (map[string]interface{}, bool)
- func (o *LogResponse) GetResponseHeaders() map[string]string
- func (o *LogResponse) GetResponseHeadersOk() (*map[string]string, bool)
- func (o *LogResponse) GetSearchableTags() []string
- func (o *LogResponse) GetSearchableTagsOk() ([]string, bool)
- func (o *LogResponse) GetStatus() string
- func (o *LogResponse) GetStatusOk() (*string, bool)
- func (o *LogResponse) GetUpdatedAt() string
- func (o *LogResponse) GetUpdatedAtOk() (*string, bool)
- func (o *LogResponse) GetUrl() string
- func (o *LogResponse) GetUrlOk() (*string, bool)
- func (o *LogResponse) GetUserAccountId() string
- func (o *LogResponse) GetUserAccountIdOk() (*string, bool)
- func (o *LogResponse) GetVersion() string
- func (o *LogResponse) GetVersionOk() (*string, bool)
- func (o *LogResponse) HasIpAddress() bool
- func (o *LogResponse) HasLoggableId() bool
- func (o *LogResponse) HasLoggableType() bool
- func (o *LogResponse) HasMethod() bool
- func (o *LogResponse) HasOauthTokenId() bool
- func (o *LogResponse) HasQueryString() bool
- func (o *LogResponse) HasRelated() bool
- func (o *LogResponse) HasRequestBody() bool
- func (o *LogResponse) HasRequestHeaders() bool
- func (o *LogResponse) HasResponseBody() bool
- func (o *LogResponse) HasResponseHeaders() bool
- func (o *LogResponse) HasSearchableTags() bool
- func (o *LogResponse) HasStatus() bool
- func (o *LogResponse) HasUpdatedAt() bool
- func (o *LogResponse) HasUrl() bool
- func (o *LogResponse) HasUserAccountId() bool
- func (o *LogResponse) HasVersion() bool
- func (o LogResponse) MarshalJSON() ([]byte, error)
- func (o *LogResponse) SetCreatedAt(v int64)
- func (o *LogResponse) SetId(v string)
- func (o *LogResponse) SetIpAddress(v string)
- func (o *LogResponse) SetLivemode(v bool)
- func (o *LogResponse) SetLoggableId(v string)
- func (o *LogResponse) SetLoggableIdNil()
- func (o *LogResponse) SetLoggableType(v string)
- func (o *LogResponse) SetLoggableTypeNil()
- func (o *LogResponse) SetMethod(v string)
- func (o *LogResponse) SetOauthTokenId(v string)
- func (o *LogResponse) SetOauthTokenIdNil()
- func (o *LogResponse) SetQueryString(v map[string]interface{})
- func (o *LogResponse) SetRelated(v string)
- func (o *LogResponse) SetRequestBody(v map[string]interface{})
- func (o *LogResponse) SetRequestHeaders(v map[string]string)
- func (o *LogResponse) SetResponseBody(v map[string]interface{})
- func (o *LogResponse) SetResponseHeaders(v map[string]string)
- func (o *LogResponse) SetSearchableTags(v []string)
- func (o *LogResponse) SetStatus(v string)
- func (o *LogResponse) SetUpdatedAt(v string)
- func (o *LogResponse) SetUrl(v string)
- func (o *LogResponse) SetUserAccountId(v string)
- func (o *LogResponse) SetVersion(v string)
- func (o LogResponse) ToMap() (map[string]interface{}, error)
- func (o *LogResponse) UnmarshalJSON(data []byte) (err error)
- func (o *LogResponse) UnsetLoggableId()
- func (o *LogResponse) UnsetLoggableType()
- func (o *LogResponse) UnsetOauthTokenId()
- type LogsAPI
- type LogsAPIService
- func (a *LogsAPIService) GetLogById(ctx context.Context, id string) ApiGetLogByIdRequest
- func (a *LogsAPIService) GetLogByIdExecute(r ApiGetLogByIdRequest) (*LogResponse, *http.Response, error)
- func (a *LogsAPIService) GetLogs(ctx context.Context) ApiGetLogsRequest
- func (a *LogsAPIService) GetLogsExecute(r ApiGetLogsRequest) (*LogsResponse, *http.Response, error)
- type LogsResponse
- func (o *LogsResponse) GetData() []LogsResponseData
- func (o *LogsResponse) GetDataOk() ([]LogsResponseData, bool)
- func (o *LogsResponse) GetHasMore() bool
- func (o *LogsResponse) GetHasMoreOk() (*bool, bool)
- func (o *LogsResponse) GetNextPageUrl() string
- func (o *LogsResponse) GetNextPageUrlOk() (*string, bool)
- func (o *LogsResponse) GetObject() string
- func (o *LogsResponse) GetObjectOk() (*string, bool)
- func (o *LogsResponse) GetPreviousPageUrl() string
- func (o *LogsResponse) GetPreviousPageUrlOk() (*string, bool)
- func (o *LogsResponse) HasData() bool
- func (o *LogsResponse) HasHasMore() bool
- func (o *LogsResponse) HasNextPageUrl() bool
- func (o *LogsResponse) HasObject() bool
- func (o *LogsResponse) HasPreviousPageUrl() bool
- func (o LogsResponse) MarshalJSON() ([]byte, error)
- func (o *LogsResponse) SetData(v []LogsResponseData)
- func (o *LogsResponse) SetHasMore(v bool)
- func (o *LogsResponse) SetNextPageUrl(v string)
- func (o *LogsResponse) SetNextPageUrlNil()
- func (o *LogsResponse) SetObject(v string)
- func (o *LogsResponse) SetPreviousPageUrl(v string)
- func (o *LogsResponse) SetPreviousPageUrlNil()
- func (o LogsResponse) ToMap() (map[string]interface{}, error)
- func (o *LogsResponse) UnmarshalJSON(data []byte) (err error)
- func (o *LogsResponse) UnsetNextPageUrl()
- func (o *LogsResponse) UnsetPreviousPageUrl()
- type LogsResponseData
- func (o *LogsResponseData) GetCreatedAt() int64
- func (o *LogsResponseData) GetCreatedAtOk() (*int64, bool)
- func (o *LogsResponseData) GetId() string
- func (o *LogsResponseData) GetIdOk() (*string, bool)
- func (o *LogsResponseData) GetIpAddress() string
- func (o *LogsResponseData) GetIpAddressOk() (*string, bool)
- func (o *LogsResponseData) GetLivemode() bool
- func (o *LogsResponseData) GetLivemodeOk() (*bool, bool)
- func (o *LogsResponseData) GetLoggableId() string
- func (o *LogsResponseData) GetLoggableIdOk() (*string, bool)
- func (o *LogsResponseData) GetLoggableType() string
- func (o *LogsResponseData) GetLoggableTypeOk() (*string, bool)
- func (o *LogsResponseData) GetMethod() string
- func (o *LogsResponseData) GetMethodOk() (*string, bool)
- func (o *LogsResponseData) GetOauthTokenId() string
- func (o *LogsResponseData) GetOauthTokenIdOk() (*string, bool)
- func (o *LogsResponseData) GetQueryString() map[string]interface{}
- func (o *LogsResponseData) GetQueryStringOk() (map[string]interface{}, bool)
- func (o *LogsResponseData) GetRelated() string
- func (o *LogsResponseData) GetRelatedOk() (*string, bool)
- func (o *LogsResponseData) GetRequestBody() map[string]interface{}
- func (o *LogsResponseData) GetRequestBodyOk() (map[string]interface{}, bool)
- func (o *LogsResponseData) GetRequestHeaders() map[string]string
- func (o *LogsResponseData) GetRequestHeadersOk() (*map[string]string, bool)
- func (o *LogsResponseData) GetResponseBody() map[string]interface{}
- func (o *LogsResponseData) GetResponseBodyOk() (map[string]interface{}, bool)
- func (o *LogsResponseData) GetResponseHeaders() map[string]string
- func (o *LogsResponseData) GetResponseHeadersOk() (*map[string]string, bool)
- func (o *LogsResponseData) GetSearchableTags() []string
- func (o *LogsResponseData) GetSearchableTagsOk() ([]string, bool)
- func (o *LogsResponseData) GetStatus() string
- func (o *LogsResponseData) GetStatusOk() (*string, bool)
- func (o *LogsResponseData) GetUpdatedAt() string
- func (o *LogsResponseData) GetUpdatedAtOk() (*string, bool)
- func (o *LogsResponseData) GetUrl() string
- func (o *LogsResponseData) GetUrlOk() (*string, bool)
- func (o *LogsResponseData) GetUserAccountId() string
- func (o *LogsResponseData) GetUserAccountIdOk() (*string, bool)
- func (o *LogsResponseData) GetVersion() string
- func (o *LogsResponseData) GetVersionOk() (*string, bool)
- func (o *LogsResponseData) HasCreatedAt() bool
- func (o *LogsResponseData) HasId() bool
- func (o *LogsResponseData) HasIpAddress() bool
- func (o *LogsResponseData) HasLivemode() bool
- func (o *LogsResponseData) HasLoggableId() bool
- func (o *LogsResponseData) HasLoggableType() bool
- func (o *LogsResponseData) HasMethod() bool
- func (o *LogsResponseData) HasOauthTokenId() bool
- func (o *LogsResponseData) HasQueryString() bool
- func (o *LogsResponseData) HasRelated() bool
- func (o *LogsResponseData) HasRequestBody() bool
- func (o *LogsResponseData) HasRequestHeaders() bool
- func (o *LogsResponseData) HasResponseBody() bool
- func (o *LogsResponseData) HasResponseHeaders() bool
- func (o *LogsResponseData) HasSearchableTags() bool
- func (o *LogsResponseData) HasStatus() bool
- func (o *LogsResponseData) HasUpdatedAt() bool
- func (o *LogsResponseData) HasUrl() bool
- func (o *LogsResponseData) HasUserAccountId() bool
- func (o *LogsResponseData) HasVersion() bool
- func (o LogsResponseData) MarshalJSON() ([]byte, error)
- func (o *LogsResponseData) SetCreatedAt(v int64)
- func (o *LogsResponseData) SetId(v string)
- func (o *LogsResponseData) SetIpAddress(v string)
- func (o *LogsResponseData) SetLivemode(v bool)
- func (o *LogsResponseData) SetLoggableId(v string)
- func (o *LogsResponseData) SetLoggableIdNil()
- func (o *LogsResponseData) SetLoggableType(v string)
- func (o *LogsResponseData) SetLoggableTypeNil()
- func (o *LogsResponseData) SetMethod(v string)
- func (o *LogsResponseData) SetOauthTokenId(v string)
- func (o *LogsResponseData) SetOauthTokenIdNil()
- func (o *LogsResponseData) SetQueryString(v map[string]interface{})
- func (o *LogsResponseData) SetRelated(v string)
- func (o *LogsResponseData) SetRequestBody(v map[string]interface{})
- func (o *LogsResponseData) SetRequestHeaders(v map[string]string)
- func (o *LogsResponseData) SetResponseBody(v map[string]interface{})
- func (o *LogsResponseData) SetResponseHeaders(v map[string]string)
- func (o *LogsResponseData) SetSearchableTags(v []string)
- func (o *LogsResponseData) SetStatus(v string)
- func (o *LogsResponseData) SetUpdatedAt(v string)
- func (o *LogsResponseData) SetUrl(v string)
- func (o *LogsResponseData) SetUserAccountId(v string)
- func (o *LogsResponseData) SetVersion(v string)
- func (o LogsResponseData) ToMap() (map[string]interface{}, error)
- func (o *LogsResponseData) UnmarshalJSON(data []byte) (err error)
- func (o *LogsResponseData) UnsetLoggableId()
- func (o *LogsResponseData) UnsetLoggableType()
- func (o *LogsResponseData) UnsetOauthTokenId()
- type MappedNullable
- type ModelError
- func (o *ModelError) GetDetails() []DetailsError
- func (o *ModelError) GetDetailsOk() ([]DetailsError, bool)
- func (o *ModelError) GetLogId() string
- func (o *ModelError) GetLogIdOk() (*string, bool)
- func (o *ModelError) GetObject() string
- func (o *ModelError) GetObjectOk() (*string, bool)
- func (o *ModelError) GetType() string
- func (o *ModelError) GetTypeOk() (*string, bool)
- func (o *ModelError) HasDetails() bool
- func (o *ModelError) HasLogId() bool
- func (o *ModelError) HasObject() bool
- func (o *ModelError) HasType() bool
- func (o ModelError) MarshalJSON() ([]byte, error)
- func (o *ModelError) SetDetails(v []DetailsError)
- func (o *ModelError) SetLogId(v string)
- func (o *ModelError) SetLogIdNil()
- func (o *ModelError) SetObject(v string)
- func (o *ModelError) SetType(v string)
- func (o ModelError) ToMap() (map[string]interface{}, error)
- func (o *ModelError) UnmarshalJSON(data []byte) (err error)
- func (o *ModelError) UnsetLogId()
- type NullableApiKeyCreateResponse
- func (v NullableApiKeyCreateResponse) Get() *ApiKeyCreateResponse
- func (v NullableApiKeyCreateResponse) IsSet() bool
- func (v NullableApiKeyCreateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableApiKeyCreateResponse) Set(val *ApiKeyCreateResponse)
- func (v *NullableApiKeyCreateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableApiKeyCreateResponse) Unset()
- type NullableApiKeyRequest
- func (v NullableApiKeyRequest) Get() *ApiKeyRequest
- func (v NullableApiKeyRequest) IsSet() bool
- func (v NullableApiKeyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableApiKeyRequest) Set(val *ApiKeyRequest)
- func (v *NullableApiKeyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableApiKeyRequest) Unset()
- type NullableApiKeyResponse
- func (v NullableApiKeyResponse) Get() *ApiKeyResponse
- func (v NullableApiKeyResponse) IsSet() bool
- func (v NullableApiKeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableApiKeyResponse) Set(val *ApiKeyResponse)
- func (v *NullableApiKeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableApiKeyResponse) Unset()
- type NullableApiKeyResponseOnDelete
- func (v NullableApiKeyResponseOnDelete) Get() *ApiKeyResponseOnDelete
- func (v NullableApiKeyResponseOnDelete) IsSet() bool
- func (v NullableApiKeyResponseOnDelete) MarshalJSON() ([]byte, error)
- func (v *NullableApiKeyResponseOnDelete) Set(val *ApiKeyResponseOnDelete)
- func (v *NullableApiKeyResponseOnDelete) UnmarshalJSON(src []byte) error
- func (v *NullableApiKeyResponseOnDelete) Unset()
- type NullableApiKeyUpdateRequest
- func (v NullableApiKeyUpdateRequest) Get() *ApiKeyUpdateRequest
- func (v NullableApiKeyUpdateRequest) IsSet() bool
- func (v NullableApiKeyUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableApiKeyUpdateRequest) Set(val *ApiKeyUpdateRequest)
- func (v *NullableApiKeyUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableApiKeyUpdateRequest) Unset()
- type NullableBalanceCommonField
- func (v NullableBalanceCommonField) Get() *BalanceCommonField
- func (v NullableBalanceCommonField) IsSet() bool
- func (v NullableBalanceCommonField) MarshalJSON() ([]byte, error)
- func (v *NullableBalanceCommonField) Set(val *BalanceCommonField)
- func (v *NullableBalanceCommonField) UnmarshalJSON(src []byte) error
- func (v *NullableBalanceCommonField) Unset()
- type NullableBalanceResponse
- func (v NullableBalanceResponse) Get() *BalanceResponse
- func (v NullableBalanceResponse) IsSet() bool
- func (v NullableBalanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBalanceResponse) Set(val *BalanceResponse)
- func (v *NullableBalanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBalanceResponse) Unset()
- type NullableBool
- type NullableChargeOrderResponse
- func (v NullableChargeOrderResponse) Get() *ChargeOrderResponse
- func (v NullableChargeOrderResponse) IsSet() bool
- func (v NullableChargeOrderResponse) MarshalJSON() ([]byte, error)
- func (v *NullableChargeOrderResponse) Set(val *ChargeOrderResponse)
- func (v *NullableChargeOrderResponse) UnmarshalJSON(src []byte) error
- func (v *NullableChargeOrderResponse) Unset()
- type NullableChargeOrderResponsePaymentMethod
- func (v NullableChargeOrderResponsePaymentMethod) Get() *ChargeOrderResponsePaymentMethod
- func (v NullableChargeOrderResponsePaymentMethod) IsSet() bool
- func (v NullableChargeOrderResponsePaymentMethod) MarshalJSON() ([]byte, error)
- func (v *NullableChargeOrderResponsePaymentMethod) Set(val *ChargeOrderResponsePaymentMethod)
- func (v *NullableChargeOrderResponsePaymentMethod) UnmarshalJSON(src []byte) error
- func (v *NullableChargeOrderResponsePaymentMethod) Unset()
- type NullableChargeRequest
- func (v NullableChargeRequest) Get() *ChargeRequest
- func (v NullableChargeRequest) IsSet() bool
- func (v NullableChargeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChargeRequest) Set(val *ChargeRequest)
- func (v *NullableChargeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChargeRequest) Unset()
- type NullableChargeRequestPaymentMethod
- func (v NullableChargeRequestPaymentMethod) Get() *ChargeRequestPaymentMethod
- func (v NullableChargeRequestPaymentMethod) IsSet() bool
- func (v NullableChargeRequestPaymentMethod) MarshalJSON() ([]byte, error)
- func (v *NullableChargeRequestPaymentMethod) Set(val *ChargeRequestPaymentMethod)
- func (v *NullableChargeRequestPaymentMethod) UnmarshalJSON(src []byte) error
- func (v *NullableChargeRequestPaymentMethod) Unset()
- type NullableChargeResponse
- func (v NullableChargeResponse) Get() *ChargeResponse
- func (v NullableChargeResponse) IsSet() bool
- func (v NullableChargeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableChargeResponse) Set(val *ChargeResponse)
- func (v *NullableChargeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableChargeResponse) Unset()
- type NullableChargeResponseChannel
- func (v NullableChargeResponseChannel) Get() *ChargeResponseChannel
- func (v NullableChargeResponseChannel) IsSet() bool
- func (v NullableChargeResponseChannel) MarshalJSON() ([]byte, error)
- func (v *NullableChargeResponseChannel) Set(val *ChargeResponseChannel)
- func (v *NullableChargeResponseChannel) UnmarshalJSON(src []byte) error
- func (v *NullableChargeResponseChannel) Unset()
- type NullableChargeResponsePaymentMethod
- func (v NullableChargeResponsePaymentMethod) Get() *ChargeResponsePaymentMethod
- func (v NullableChargeResponsePaymentMethod) IsSet() bool
- func (v NullableChargeResponsePaymentMethod) MarshalJSON() ([]byte, error)
- func (v *NullableChargeResponsePaymentMethod) Set(val *ChargeResponsePaymentMethod)
- func (v *NullableChargeResponsePaymentMethod) UnmarshalJSON(src []byte) error
- func (v *NullableChargeResponsePaymentMethod) Unset()
- type NullableChargeResponseRefunds
- func (v NullableChargeResponseRefunds) Get() *ChargeResponseRefunds
- func (v NullableChargeResponseRefunds) IsSet() bool
- func (v NullableChargeResponseRefunds) MarshalJSON() ([]byte, error)
- func (v *NullableChargeResponseRefunds) Set(val *ChargeResponseRefunds)
- func (v *NullableChargeResponseRefunds) UnmarshalJSON(src []byte) error
- func (v *NullableChargeResponseRefunds) Unset()
- type NullableChargeResponseRefundsData
- func (v NullableChargeResponseRefundsData) Get() *ChargeResponseRefundsData
- func (v NullableChargeResponseRefundsData) IsSet() bool
- func (v NullableChargeResponseRefundsData) MarshalJSON() ([]byte, error)
- func (v *NullableChargeResponseRefundsData) Set(val *ChargeResponseRefundsData)
- func (v *NullableChargeResponseRefundsData) UnmarshalJSON(src []byte) error
- func (v *NullableChargeResponseRefundsData) Unset()
- type NullableChargeUpdateRequest
- func (v NullableChargeUpdateRequest) Get() *ChargeUpdateRequest
- func (v NullableChargeUpdateRequest) IsSet() bool
- func (v NullableChargeUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChargeUpdateRequest) Set(val *ChargeUpdateRequest)
- func (v *NullableChargeUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChargeUpdateRequest) Unset()
- type NullableChargesDataResponse
- func (v NullableChargesDataResponse) Get() *ChargesDataResponse
- func (v NullableChargesDataResponse) IsSet() bool
- func (v NullableChargesDataResponse) MarshalJSON() ([]byte, error)
- func (v *NullableChargesDataResponse) Set(val *ChargesDataResponse)
- func (v *NullableChargesDataResponse) UnmarshalJSON(src []byte) error
- func (v *NullableChargesDataResponse) Unset()
- type NullableCheckout
- type NullableCheckoutOrderTemplate
- func (v NullableCheckoutOrderTemplate) Get() *CheckoutOrderTemplate
- func (v NullableCheckoutOrderTemplate) IsSet() bool
- func (v NullableCheckoutOrderTemplate) MarshalJSON() ([]byte, error)
- func (v *NullableCheckoutOrderTemplate) Set(val *CheckoutOrderTemplate)
- func (v *NullableCheckoutOrderTemplate) UnmarshalJSON(src []byte) error
- func (v *NullableCheckoutOrderTemplate) Unset()
- type NullableCheckoutOrderTemplateCustomerInfo
- func (v NullableCheckoutOrderTemplateCustomerInfo) Get() *CheckoutOrderTemplateCustomerInfo
- func (v NullableCheckoutOrderTemplateCustomerInfo) IsSet() bool
- func (v NullableCheckoutOrderTemplateCustomerInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCheckoutOrderTemplateCustomerInfo) Set(val *CheckoutOrderTemplateCustomerInfo)
- func (v *NullableCheckoutOrderTemplateCustomerInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCheckoutOrderTemplateCustomerInfo) Unset()
- type NullableCheckoutRequest
- func (v NullableCheckoutRequest) Get() *CheckoutRequest
- func (v NullableCheckoutRequest) IsSet() bool
- func (v NullableCheckoutRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCheckoutRequest) Set(val *CheckoutRequest)
- func (v *NullableCheckoutRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCheckoutRequest) Unset()
- type NullableCheckoutResponse
- func (v NullableCheckoutResponse) Get() *CheckoutResponse
- func (v NullableCheckoutResponse) IsSet() bool
- func (v NullableCheckoutResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCheckoutResponse) Set(val *CheckoutResponse)
- func (v *NullableCheckoutResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCheckoutResponse) Unset()
- type NullableCheckoutsResponse
- func (v NullableCheckoutsResponse) Get() *CheckoutsResponse
- func (v NullableCheckoutsResponse) IsSet() bool
- func (v NullableCheckoutsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCheckoutsResponse) Set(val *CheckoutsResponse)
- func (v *NullableCheckoutsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCheckoutsResponse) Unset()
- type NullableCompanyFiscalInfoAddressResponse
- func (v NullableCompanyFiscalInfoAddressResponse) Get() *CompanyFiscalInfoAddressResponse
- func (v NullableCompanyFiscalInfoAddressResponse) IsSet() bool
- func (v NullableCompanyFiscalInfoAddressResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCompanyFiscalInfoAddressResponse) Set(val *CompanyFiscalInfoAddressResponse)
- func (v *NullableCompanyFiscalInfoAddressResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCompanyFiscalInfoAddressResponse) Unset()
- type NullableCompanyFiscalInfoResponse
- func (v NullableCompanyFiscalInfoResponse) Get() *CompanyFiscalInfoResponse
- func (v NullableCompanyFiscalInfoResponse) IsSet() bool
- func (v NullableCompanyFiscalInfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCompanyFiscalInfoResponse) Set(val *CompanyFiscalInfoResponse)
- func (v *NullableCompanyFiscalInfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCompanyFiscalInfoResponse) Unset()
- type NullableCompanyPayoutDestinationResponse
- func (v NullableCompanyPayoutDestinationResponse) Get() *CompanyPayoutDestinationResponse
- func (v NullableCompanyPayoutDestinationResponse) IsSet() bool
- func (v NullableCompanyPayoutDestinationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCompanyPayoutDestinationResponse) Set(val *CompanyPayoutDestinationResponse)
- func (v *NullableCompanyPayoutDestinationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCompanyPayoutDestinationResponse) Unset()
- type NullableCompanyResponse
- func (v NullableCompanyResponse) Get() *CompanyResponse
- func (v NullableCompanyResponse) IsSet() bool
- func (v NullableCompanyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCompanyResponse) Set(val *CompanyResponse)
- func (v *NullableCompanyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCompanyResponse) Unset()
- type NullableCreateCustomerFiscalEntitiesResponse
- func (v NullableCreateCustomerFiscalEntitiesResponse) Get() *CreateCustomerFiscalEntitiesResponse
- func (v NullableCreateCustomerFiscalEntitiesResponse) IsSet() bool
- func (v NullableCreateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCustomerFiscalEntitiesResponse) Set(val *CreateCustomerFiscalEntitiesResponse)
- func (v *NullableCreateCustomerFiscalEntitiesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCustomerFiscalEntitiesResponse) Unset()
- type NullableCreateCustomerPaymentMethodsRequest
- func (v NullableCreateCustomerPaymentMethodsRequest) Get() *CreateCustomerPaymentMethodsRequest
- func (v NullableCreateCustomerPaymentMethodsRequest) IsSet() bool
- func (v NullableCreateCustomerPaymentMethodsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCustomerPaymentMethodsRequest) Set(val *CreateCustomerPaymentMethodsRequest)
- func (v *NullableCreateCustomerPaymentMethodsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCustomerPaymentMethodsRequest) Unset()
- type NullableCreateCustomerPaymentMethodsResponse
- func (v NullableCreateCustomerPaymentMethodsResponse) Get() *CreateCustomerPaymentMethodsResponse
- func (v NullableCreateCustomerPaymentMethodsResponse) IsSet() bool
- func (v NullableCreateCustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCustomerPaymentMethodsResponse) Set(val *CreateCustomerPaymentMethodsResponse)
- func (v *NullableCreateCustomerPaymentMethodsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCustomerPaymentMethodsResponse) Unset()
- type NullableCustomer
- type NullableCustomerAddress
- func (v NullableCustomerAddress) Get() *CustomerAddress
- func (v NullableCustomerAddress) IsSet() bool
- func (v NullableCustomerAddress) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerAddress) Set(val *CustomerAddress)
- func (v *NullableCustomerAddress) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerAddress) Unset()
- type NullableCustomerAntifraudInfo
- func (v NullableCustomerAntifraudInfo) Get() *CustomerAntifraudInfo
- func (v NullableCustomerAntifraudInfo) IsSet() bool
- func (v NullableCustomerAntifraudInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerAntifraudInfo) Set(val *CustomerAntifraudInfo)
- func (v *NullableCustomerAntifraudInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerAntifraudInfo) Unset()
- type NullableCustomerAntifraudInfoResponse
- func (v NullableCustomerAntifraudInfoResponse) Get() *CustomerAntifraudInfoResponse
- func (v NullableCustomerAntifraudInfoResponse) IsSet() bool
- func (v NullableCustomerAntifraudInfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerAntifraudInfoResponse) Set(val *CustomerAntifraudInfoResponse)
- func (v *NullableCustomerAntifraudInfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerAntifraudInfoResponse) Unset()
- type NullableCustomerFiscalEntitiesDataResponse
- func (v NullableCustomerFiscalEntitiesDataResponse) Get() *CustomerFiscalEntitiesDataResponse
- func (v NullableCustomerFiscalEntitiesDataResponse) IsSet() bool
- func (v NullableCustomerFiscalEntitiesDataResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerFiscalEntitiesDataResponse) Set(val *CustomerFiscalEntitiesDataResponse)
- func (v *NullableCustomerFiscalEntitiesDataResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerFiscalEntitiesDataResponse) Unset()
- type NullableCustomerFiscalEntitiesRequest
- func (v NullableCustomerFiscalEntitiesRequest) Get() *CustomerFiscalEntitiesRequest
- func (v NullableCustomerFiscalEntitiesRequest) IsSet() bool
- func (v NullableCustomerFiscalEntitiesRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerFiscalEntitiesRequest) Set(val *CustomerFiscalEntitiesRequest)
- func (v *NullableCustomerFiscalEntitiesRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerFiscalEntitiesRequest) Unset()
- type NullableCustomerFiscalEntitiesResponse
- func (v NullableCustomerFiscalEntitiesResponse) Get() *CustomerFiscalEntitiesResponse
- func (v NullableCustomerFiscalEntitiesResponse) IsSet() bool
- func (v NullableCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerFiscalEntitiesResponse) Set(val *CustomerFiscalEntitiesResponse)
- func (v *NullableCustomerFiscalEntitiesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerFiscalEntitiesResponse) Unset()
- type NullableCustomerInfo
- func (v NullableCustomerInfo) Get() *CustomerInfo
- func (v NullableCustomerInfo) IsSet() bool
- func (v NullableCustomerInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerInfo) Set(val *CustomerInfo)
- func (v *NullableCustomerInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerInfo) Unset()
- type NullableCustomerInfoJustCustomerId
- func (v NullableCustomerInfoJustCustomerId) Get() *CustomerInfoJustCustomerId
- func (v NullableCustomerInfoJustCustomerId) IsSet() bool
- func (v NullableCustomerInfoJustCustomerId) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerInfoJustCustomerId) Set(val *CustomerInfoJustCustomerId)
- func (v *NullableCustomerInfoJustCustomerId) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerInfoJustCustomerId) Unset()
- type NullableCustomerInfoJustCustomerIdResponse
- func (v NullableCustomerInfoJustCustomerIdResponse) Get() *CustomerInfoJustCustomerIdResponse
- func (v NullableCustomerInfoJustCustomerIdResponse) IsSet() bool
- func (v NullableCustomerInfoJustCustomerIdResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerInfoJustCustomerIdResponse) Set(val *CustomerInfoJustCustomerIdResponse)
- func (v *NullableCustomerInfoJustCustomerIdResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerInfoJustCustomerIdResponse) Unset()
- type NullableCustomerPaymentMethodRequest
- func (v NullableCustomerPaymentMethodRequest) Get() *CustomerPaymentMethodRequest
- func (v NullableCustomerPaymentMethodRequest) IsSet() bool
- func (v NullableCustomerPaymentMethodRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerPaymentMethodRequest) Set(val *CustomerPaymentMethodRequest)
- func (v *NullableCustomerPaymentMethodRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerPaymentMethodRequest) Unset()
- type NullableCustomerPaymentMethodsData
- func (v NullableCustomerPaymentMethodsData) Get() *CustomerPaymentMethodsData
- func (v NullableCustomerPaymentMethodsData) IsSet() bool
- func (v NullableCustomerPaymentMethodsData) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerPaymentMethodsData) Set(val *CustomerPaymentMethodsData)
- func (v *NullableCustomerPaymentMethodsData) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerPaymentMethodsData) Unset()
- type NullableCustomerPaymentMethodsRequest
- func (v NullableCustomerPaymentMethodsRequest) Get() *CustomerPaymentMethodsRequest
- func (v NullableCustomerPaymentMethodsRequest) IsSet() bool
- func (v NullableCustomerPaymentMethodsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerPaymentMethodsRequest) Set(val *CustomerPaymentMethodsRequest)
- func (v *NullableCustomerPaymentMethodsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerPaymentMethodsRequest) Unset()
- type NullableCustomerPaymentMethodsResponse
- func (v NullableCustomerPaymentMethodsResponse) Get() *CustomerPaymentMethodsResponse
- func (v NullableCustomerPaymentMethodsResponse) IsSet() bool
- func (v NullableCustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerPaymentMethodsResponse) Set(val *CustomerPaymentMethodsResponse)
- func (v *NullableCustomerPaymentMethodsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerPaymentMethodsResponse) Unset()
- type NullableCustomerResponse
- func (v NullableCustomerResponse) Get() *CustomerResponse
- func (v NullableCustomerResponse) IsSet() bool
- func (v NullableCustomerResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerResponse) Set(val *CustomerResponse)
- func (v *NullableCustomerResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerResponse) Unset()
- type NullableCustomerResponseShippingContacts
- func (v NullableCustomerResponseShippingContacts) Get() *CustomerResponseShippingContacts
- func (v NullableCustomerResponseShippingContacts) IsSet() bool
- func (v NullableCustomerResponseShippingContacts) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerResponseShippingContacts) Set(val *CustomerResponseShippingContacts)
- func (v *NullableCustomerResponseShippingContacts) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerResponseShippingContacts) Unset()
- type NullableCustomerShippingContacts
- func (v NullableCustomerShippingContacts) Get() *CustomerShippingContacts
- func (v NullableCustomerShippingContacts) IsSet() bool
- func (v NullableCustomerShippingContacts) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerShippingContacts) Set(val *CustomerShippingContacts)
- func (v *NullableCustomerShippingContacts) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerShippingContacts) Unset()
- type NullableCustomerShippingContactsAddress
- func (v NullableCustomerShippingContactsAddress) Get() *CustomerShippingContactsAddress
- func (v NullableCustomerShippingContactsAddress) IsSet() bool
- func (v NullableCustomerShippingContactsAddress) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerShippingContactsAddress) Set(val *CustomerShippingContactsAddress)
- func (v *NullableCustomerShippingContactsAddress) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerShippingContactsAddress) Unset()
- type NullableCustomerShippingContactsDataResponse
- func (v NullableCustomerShippingContactsDataResponse) Get() *CustomerShippingContactsDataResponse
- func (v NullableCustomerShippingContactsDataResponse) IsSet() bool
- func (v NullableCustomerShippingContactsDataResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerShippingContactsDataResponse) Set(val *CustomerShippingContactsDataResponse)
- func (v *NullableCustomerShippingContactsDataResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerShippingContactsDataResponse) Unset()
- type NullableCustomerShippingContactsResponse
- func (v NullableCustomerShippingContactsResponse) Get() *CustomerShippingContactsResponse
- func (v NullableCustomerShippingContactsResponse) IsSet() bool
- func (v NullableCustomerShippingContactsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerShippingContactsResponse) Set(val *CustomerShippingContactsResponse)
- func (v *NullableCustomerShippingContactsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerShippingContactsResponse) Unset()
- type NullableCustomerShippingContactsResponseAddress
- func (v NullableCustomerShippingContactsResponseAddress) Get() *CustomerShippingContactsResponseAddress
- func (v NullableCustomerShippingContactsResponseAddress) IsSet() bool
- func (v NullableCustomerShippingContactsResponseAddress) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerShippingContactsResponseAddress) Set(val *CustomerShippingContactsResponseAddress)
- func (v *NullableCustomerShippingContactsResponseAddress) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerShippingContactsResponseAddress) Unset()
- type NullableCustomerUpdateFiscalEntitiesRequest
- func (v NullableCustomerUpdateFiscalEntitiesRequest) Get() *CustomerUpdateFiscalEntitiesRequest
- func (v NullableCustomerUpdateFiscalEntitiesRequest) IsSet() bool
- func (v NullableCustomerUpdateFiscalEntitiesRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerUpdateFiscalEntitiesRequest) Set(val *CustomerUpdateFiscalEntitiesRequest)
- func (v *NullableCustomerUpdateFiscalEntitiesRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerUpdateFiscalEntitiesRequest) Unset()
- type NullableCustomerUpdateShippingContacts
- func (v NullableCustomerUpdateShippingContacts) Get() *CustomerUpdateShippingContacts
- func (v NullableCustomerUpdateShippingContacts) IsSet() bool
- func (v NullableCustomerUpdateShippingContacts) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerUpdateShippingContacts) Set(val *CustomerUpdateShippingContacts)
- func (v *NullableCustomerUpdateShippingContacts) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerUpdateShippingContacts) Unset()
- type NullableCustomersResponse
- func (v NullableCustomersResponse) Get() *CustomersResponse
- func (v NullableCustomersResponse) IsSet() bool
- func (v NullableCustomersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCustomersResponse) Set(val *CustomersResponse)
- func (v *NullableCustomersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCustomersResponse) Unset()
- type NullableDeleteApiKeysResponse
- func (v NullableDeleteApiKeysResponse) Get() *DeleteApiKeysResponse
- func (v NullableDeleteApiKeysResponse) IsSet() bool
- func (v NullableDeleteApiKeysResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteApiKeysResponse) Set(val *DeleteApiKeysResponse)
- func (v *NullableDeleteApiKeysResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteApiKeysResponse) Unset()
- type NullableDetails
- type NullableDetailsError
- func (v NullableDetailsError) Get() *DetailsError
- func (v NullableDetailsError) IsSet() bool
- func (v NullableDetailsError) MarshalJSON() ([]byte, error)
- func (v *NullableDetailsError) Set(val *DetailsError)
- func (v *NullableDetailsError) UnmarshalJSON(src []byte) error
- func (v *NullableDetailsError) Unset()
- type NullableDiscountLinesDataResponse
- func (v NullableDiscountLinesDataResponse) Get() *DiscountLinesDataResponse
- func (v NullableDiscountLinesDataResponse) IsSet() bool
- func (v NullableDiscountLinesDataResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDiscountLinesDataResponse) Set(val *DiscountLinesDataResponse)
- func (v *NullableDiscountLinesDataResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDiscountLinesDataResponse) Unset()
- type NullableDiscountLinesResponse
- func (v NullableDiscountLinesResponse) Get() *DiscountLinesResponse
- func (v NullableDiscountLinesResponse) IsSet() bool
- func (v NullableDiscountLinesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDiscountLinesResponse) Set(val *DiscountLinesResponse)
- func (v *NullableDiscountLinesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDiscountLinesResponse) Unset()
- type NullableEmailCheckoutRequest
- func (v NullableEmailCheckoutRequest) Get() *EmailCheckoutRequest
- func (v NullableEmailCheckoutRequest) IsSet() bool
- func (v NullableEmailCheckoutRequest) MarshalJSON() ([]byte, error)
- func (v *NullableEmailCheckoutRequest) Set(val *EmailCheckoutRequest)
- func (v *NullableEmailCheckoutRequest) UnmarshalJSON(src []byte) error
- func (v *NullableEmailCheckoutRequest) Unset()
- type NullableEventResponse
- func (v NullableEventResponse) Get() *EventResponse
- func (v NullableEventResponse) IsSet() bool
- func (v NullableEventResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEventResponse) Set(val *EventResponse)
- func (v *NullableEventResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEventResponse) Unset()
- type NullableEventsResendResponse
- func (v NullableEventsResendResponse) Get() *EventsResendResponse
- func (v NullableEventsResendResponse) IsSet() bool
- func (v NullableEventsResendResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEventsResendResponse) Set(val *EventsResendResponse)
- func (v *NullableEventsResendResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEventsResendResponse) Unset()
- type NullableFiscalEntityAddress
- func (v NullableFiscalEntityAddress) Get() *FiscalEntityAddress
- func (v NullableFiscalEntityAddress) IsSet() bool
- func (v NullableFiscalEntityAddress) MarshalJSON() ([]byte, error)
- func (v *NullableFiscalEntityAddress) Set(val *FiscalEntityAddress)
- func (v *NullableFiscalEntityAddress) UnmarshalJSON(src []byte) error
- func (v *NullableFiscalEntityAddress) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetApiKeysResponse
- func (v NullableGetApiKeysResponse) Get() *GetApiKeysResponse
- func (v NullableGetApiKeysResponse) IsSet() bool
- func (v NullableGetApiKeysResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetApiKeysResponse) Set(val *GetApiKeysResponse)
- func (v *NullableGetApiKeysResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetApiKeysResponse) Unset()
- type NullableGetChargesResponse
- func (v NullableGetChargesResponse) Get() *GetChargesResponse
- func (v NullableGetChargesResponse) IsSet() bool
- func (v NullableGetChargesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetChargesResponse) Set(val *GetChargesResponse)
- func (v *NullableGetChargesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetChargesResponse) Unset()
- type NullableGetCompaniesResponse
- func (v NullableGetCompaniesResponse) Get() *GetCompaniesResponse
- func (v NullableGetCompaniesResponse) IsSet() bool
- func (v NullableGetCompaniesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCompaniesResponse) Set(val *GetCompaniesResponse)
- func (v *NullableGetCompaniesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCompaniesResponse) Unset()
- type NullableGetCustomerPaymentMethodDataResponse
- func (v NullableGetCustomerPaymentMethodDataResponse) Get() *GetCustomerPaymentMethodDataResponse
- func (v NullableGetCustomerPaymentMethodDataResponse) IsSet() bool
- func (v NullableGetCustomerPaymentMethodDataResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCustomerPaymentMethodDataResponse) Set(val *GetCustomerPaymentMethodDataResponse)
- func (v *NullableGetCustomerPaymentMethodDataResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCustomerPaymentMethodDataResponse) Unset()
- type NullableGetEventsResponse
- func (v NullableGetEventsResponse) Get() *GetEventsResponse
- func (v NullableGetEventsResponse) IsSet() bool
- func (v NullableGetEventsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetEventsResponse) Set(val *GetEventsResponse)
- func (v *NullableGetEventsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetEventsResponse) Unset()
- type NullableGetOrderDiscountLinesResponse
- func (v NullableGetOrderDiscountLinesResponse) Get() *GetOrderDiscountLinesResponse
- func (v NullableGetOrderDiscountLinesResponse) IsSet() bool
- func (v NullableGetOrderDiscountLinesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetOrderDiscountLinesResponse) Set(val *GetOrderDiscountLinesResponse)
- func (v *NullableGetOrderDiscountLinesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetOrderDiscountLinesResponse) Unset()
- type NullableGetOrdersResponse
- func (v NullableGetOrdersResponse) Get() *GetOrdersResponse
- func (v NullableGetOrdersResponse) IsSet() bool
- func (v NullableGetOrdersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetOrdersResponse) Set(val *GetOrdersResponse)
- func (v *NullableGetOrdersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetOrdersResponse) Unset()
- type NullableGetPaymentMethodResponse
- func (v NullableGetPaymentMethodResponse) Get() *GetPaymentMethodResponse
- func (v NullableGetPaymentMethodResponse) IsSet() bool
- func (v NullableGetPaymentMethodResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetPaymentMethodResponse) Set(val *GetPaymentMethodResponse)
- func (v *NullableGetPaymentMethodResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetPaymentMethodResponse) Unset()
- type NullableGetTransactionsResponse
- func (v NullableGetTransactionsResponse) Get() *GetTransactionsResponse
- func (v NullableGetTransactionsResponse) IsSet() bool
- func (v NullableGetTransactionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetTransactionsResponse) Set(val *GetTransactionsResponse)
- func (v *NullableGetTransactionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetTransactionsResponse) Unset()
- type NullableGetTransfersResponse
- func (v NullableGetTransfersResponse) Get() *GetTransfersResponse
- func (v NullableGetTransfersResponse) IsSet() bool
- func (v NullableGetTransfersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetTransfersResponse) Set(val *GetTransfersResponse)
- func (v *NullableGetTransfersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetTransfersResponse) Unset()
- type NullableGetWebhookKeysResponse
- func (v NullableGetWebhookKeysResponse) Get() *GetWebhookKeysResponse
- func (v NullableGetWebhookKeysResponse) IsSet() bool
- func (v NullableGetWebhookKeysResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetWebhookKeysResponse) Set(val *GetWebhookKeysResponse)
- func (v *NullableGetWebhookKeysResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetWebhookKeysResponse) Unset()
- type NullableGetWebhooksResponse
- func (v NullableGetWebhooksResponse) Get() *GetWebhooksResponse
- func (v NullableGetWebhooksResponse) IsSet() bool
- func (v NullableGetWebhooksResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetWebhooksResponse) Set(val *GetWebhooksResponse)
- func (v *NullableGetWebhooksResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetWebhooksResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLogResponse
- func (v NullableLogResponse) Get() *LogResponse
- func (v NullableLogResponse) IsSet() bool
- func (v NullableLogResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLogResponse) Set(val *LogResponse)
- func (v *NullableLogResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLogResponse) Unset()
- type NullableLogsResponse
- func (v NullableLogsResponse) Get() *LogsResponse
- func (v NullableLogsResponse) IsSet() bool
- func (v NullableLogsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLogsResponse) Set(val *LogsResponse)
- func (v *NullableLogsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLogsResponse) Unset()
- type NullableLogsResponseData
- func (v NullableLogsResponseData) Get() *LogsResponseData
- func (v NullableLogsResponseData) IsSet() bool
- func (v NullableLogsResponseData) MarshalJSON() ([]byte, error)
- func (v *NullableLogsResponseData) Set(val *LogsResponseData)
- func (v *NullableLogsResponseData) UnmarshalJSON(src []byte) error
- func (v *NullableLogsResponseData) Unset()
- type NullableModelError
- type NullableOrderCaptureRequest
- func (v NullableOrderCaptureRequest) Get() *OrderCaptureRequest
- func (v NullableOrderCaptureRequest) IsSet() bool
- func (v NullableOrderCaptureRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderCaptureRequest) Set(val *OrderCaptureRequest)
- func (v *NullableOrderCaptureRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderCaptureRequest) Unset()
- type NullableOrderCustomerInfoResponse
- func (v NullableOrderCustomerInfoResponse) Get() *OrderCustomerInfoResponse
- func (v NullableOrderCustomerInfoResponse) IsSet() bool
- func (v NullableOrderCustomerInfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOrderCustomerInfoResponse) Set(val *OrderCustomerInfoResponse)
- func (v *NullableOrderCustomerInfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOrderCustomerInfoResponse) Unset()
- type NullableOrderDiscountLinesRequest
- func (v NullableOrderDiscountLinesRequest) Get() *OrderDiscountLinesRequest
- func (v NullableOrderDiscountLinesRequest) IsSet() bool
- func (v NullableOrderDiscountLinesRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderDiscountLinesRequest) Set(val *OrderDiscountLinesRequest)
- func (v *NullableOrderDiscountLinesRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderDiscountLinesRequest) Unset()
- type NullableOrderFiscalEntityAddressResponse
- func (v NullableOrderFiscalEntityAddressResponse) Get() *OrderFiscalEntityAddressResponse
- func (v NullableOrderFiscalEntityAddressResponse) IsSet() bool
- func (v NullableOrderFiscalEntityAddressResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOrderFiscalEntityAddressResponse) Set(val *OrderFiscalEntityAddressResponse)
- func (v *NullableOrderFiscalEntityAddressResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOrderFiscalEntityAddressResponse) Unset()
- type NullableOrderFiscalEntityRequest
- func (v NullableOrderFiscalEntityRequest) Get() *OrderFiscalEntityRequest
- func (v NullableOrderFiscalEntityRequest) IsSet() bool
- func (v NullableOrderFiscalEntityRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderFiscalEntityRequest) Set(val *OrderFiscalEntityRequest)
- func (v *NullableOrderFiscalEntityRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderFiscalEntityRequest) Unset()
- type NullableOrderFiscalEntityResponse
- func (v NullableOrderFiscalEntityResponse) Get() *OrderFiscalEntityResponse
- func (v NullableOrderFiscalEntityResponse) IsSet() bool
- func (v NullableOrderFiscalEntityResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOrderFiscalEntityResponse) Set(val *OrderFiscalEntityResponse)
- func (v *NullableOrderFiscalEntityResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOrderFiscalEntityResponse) Unset()
- type NullableOrderNextActionResponse
- func (v NullableOrderNextActionResponse) Get() *OrderNextActionResponse
- func (v NullableOrderNextActionResponse) IsSet() bool
- func (v NullableOrderNextActionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOrderNextActionResponse) Set(val *OrderNextActionResponse)
- func (v *NullableOrderNextActionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOrderNextActionResponse) Unset()
- type NullableOrderNextActionResponseRedirectToUrl
- func (v NullableOrderNextActionResponseRedirectToUrl) Get() *OrderNextActionResponseRedirectToUrl
- func (v NullableOrderNextActionResponseRedirectToUrl) IsSet() bool
- func (v NullableOrderNextActionResponseRedirectToUrl) MarshalJSON() ([]byte, error)
- func (v *NullableOrderNextActionResponseRedirectToUrl) Set(val *OrderNextActionResponseRedirectToUrl)
- func (v *NullableOrderNextActionResponseRedirectToUrl) UnmarshalJSON(src []byte) error
- func (v *NullableOrderNextActionResponseRedirectToUrl) Unset()
- type NullableOrderRefundRequest
- func (v NullableOrderRefundRequest) Get() *OrderRefundRequest
- func (v NullableOrderRefundRequest) IsSet() bool
- func (v NullableOrderRefundRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderRefundRequest) Set(val *OrderRefundRequest)
- func (v *NullableOrderRefundRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderRefundRequest) Unset()
- type NullableOrderRequest
- func (v NullableOrderRequest) Get() *OrderRequest
- func (v NullableOrderRequest) IsSet() bool
- func (v NullableOrderRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderRequest) Set(val *OrderRequest)
- func (v *NullableOrderRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderRequest) Unset()
- type NullableOrderRequestCustomerInfo
- func (v NullableOrderRequestCustomerInfo) Get() *OrderRequestCustomerInfo
- func (v NullableOrderRequestCustomerInfo) IsSet() bool
- func (v NullableOrderRequestCustomerInfo) MarshalJSON() ([]byte, error)
- func (v *NullableOrderRequestCustomerInfo) Set(val *OrderRequestCustomerInfo)
- func (v *NullableOrderRequestCustomerInfo) UnmarshalJSON(src []byte) error
- func (v *NullableOrderRequestCustomerInfo) Unset()
- type NullableOrderResponse
- func (v NullableOrderResponse) Get() *OrderResponse
- func (v NullableOrderResponse) IsSet() bool
- func (v NullableOrderResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOrderResponse) Set(val *OrderResponse)
- func (v *NullableOrderResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOrderResponse) Unset()
- type NullableOrderResponseCharges
- func (v NullableOrderResponseCharges) Get() *OrderResponseCharges
- func (v NullableOrderResponseCharges) IsSet() bool
- func (v NullableOrderResponseCharges) MarshalJSON() ([]byte, error)
- func (v *NullableOrderResponseCharges) Set(val *OrderResponseCharges)
- func (v *NullableOrderResponseCharges) UnmarshalJSON(src []byte) error
- func (v *NullableOrderResponseCharges) Unset()
- type NullableOrderResponseCheckout
- func (v NullableOrderResponseCheckout) Get() *OrderResponseCheckout
- func (v NullableOrderResponseCheckout) IsSet() bool
- func (v NullableOrderResponseCheckout) MarshalJSON() ([]byte, error)
- func (v *NullableOrderResponseCheckout) Set(val *OrderResponseCheckout)
- func (v *NullableOrderResponseCheckout) UnmarshalJSON(src []byte) error
- func (v *NullableOrderResponseCheckout) Unset()
- type NullableOrderResponseCustomerInfo
- func (v NullableOrderResponseCustomerInfo) Get() *OrderResponseCustomerInfo
- func (v NullableOrderResponseCustomerInfo) IsSet() bool
- func (v NullableOrderResponseCustomerInfo) MarshalJSON() ([]byte, error)
- func (v *NullableOrderResponseCustomerInfo) Set(val *OrderResponseCustomerInfo)
- func (v *NullableOrderResponseCustomerInfo) UnmarshalJSON(src []byte) error
- func (v *NullableOrderResponseCustomerInfo) Unset()
- type NullableOrderResponseDiscountLines
- func (v NullableOrderResponseDiscountLines) Get() *OrderResponseDiscountLines
- func (v NullableOrderResponseDiscountLines) IsSet() bool
- func (v NullableOrderResponseDiscountLines) MarshalJSON() ([]byte, error)
- func (v *NullableOrderResponseDiscountLines) Set(val *OrderResponseDiscountLines)
- func (v *NullableOrderResponseDiscountLines) UnmarshalJSON(src []byte) error
- func (v *NullableOrderResponseDiscountLines) Unset()
- type NullableOrderResponseProducts
- func (v NullableOrderResponseProducts) Get() *OrderResponseProducts
- func (v NullableOrderResponseProducts) IsSet() bool
- func (v NullableOrderResponseProducts) MarshalJSON() ([]byte, error)
- func (v *NullableOrderResponseProducts) Set(val *OrderResponseProducts)
- func (v *NullableOrderResponseProducts) UnmarshalJSON(src []byte) error
- func (v *NullableOrderResponseProducts) Unset()
- type NullableOrderResponseShippingContact
- func (v NullableOrderResponseShippingContact) Get() *OrderResponseShippingContact
- func (v NullableOrderResponseShippingContact) IsSet() bool
- func (v NullableOrderResponseShippingContact) MarshalJSON() ([]byte, error)
- func (v *NullableOrderResponseShippingContact) Set(val *OrderResponseShippingContact)
- func (v *NullableOrderResponseShippingContact) UnmarshalJSON(src []byte) error
- func (v *NullableOrderResponseShippingContact) Unset()
- type NullableOrderTaxRequest
- func (v NullableOrderTaxRequest) Get() *OrderTaxRequest
- func (v NullableOrderTaxRequest) IsSet() bool
- func (v NullableOrderTaxRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderTaxRequest) Set(val *OrderTaxRequest)
- func (v *NullableOrderTaxRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderTaxRequest) Unset()
- type NullableOrderUpdateFiscalEntityRequest
- func (v NullableOrderUpdateFiscalEntityRequest) Get() *OrderUpdateFiscalEntityRequest
- func (v NullableOrderUpdateFiscalEntityRequest) IsSet() bool
- func (v NullableOrderUpdateFiscalEntityRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderUpdateFiscalEntityRequest) Set(val *OrderUpdateFiscalEntityRequest)
- func (v *NullableOrderUpdateFiscalEntityRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderUpdateFiscalEntityRequest) Unset()
- type NullableOrderUpdateRequest
- func (v NullableOrderUpdateRequest) Get() *OrderUpdateRequest
- func (v NullableOrderUpdateRequest) IsSet() bool
- func (v NullableOrderUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderUpdateRequest) Set(val *OrderUpdateRequest)
- func (v *NullableOrderUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderUpdateRequest) Unset()
- type NullableOrderUpdateRequestCustomerInfo
- func (v NullableOrderUpdateRequestCustomerInfo) Get() *OrderUpdateRequestCustomerInfo
- func (v NullableOrderUpdateRequestCustomerInfo) IsSet() bool
- func (v NullableOrderUpdateRequestCustomerInfo) MarshalJSON() ([]byte, error)
- func (v *NullableOrderUpdateRequestCustomerInfo) Set(val *OrderUpdateRequestCustomerInfo)
- func (v *NullableOrderUpdateRequestCustomerInfo) UnmarshalJSON(src []byte) error
- func (v *NullableOrderUpdateRequestCustomerInfo) Unset()
- type NullableOrdersResponse
- func (v NullableOrdersResponse) Get() *OrdersResponse
- func (v NullableOrdersResponse) IsSet() bool
- func (v NullableOrdersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOrdersResponse) Set(val *OrdersResponse)
- func (v *NullableOrdersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOrdersResponse) Unset()
- type NullablePage
- type NullablePagination
- type NullablePaymentMethod
- func (v NullablePaymentMethod) Get() *PaymentMethod
- func (v NullablePaymentMethod) IsSet() bool
- func (v NullablePaymentMethod) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethod) Set(val *PaymentMethod)
- func (v *NullablePaymentMethod) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethod) Unset()
- type NullablePaymentMethodCash
- func (v NullablePaymentMethodCash) Get() *PaymentMethodCash
- func (v NullablePaymentMethodCash) IsSet() bool
- func (v NullablePaymentMethodCash) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethodCash) Set(val *PaymentMethodCash)
- func (v *NullablePaymentMethodCash) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethodCash) Unset()
- type NullablePaymentMethodCashRequest
- func (v NullablePaymentMethodCashRequest) Get() *PaymentMethodCashRequest
- func (v NullablePaymentMethodCashRequest) IsSet() bool
- func (v NullablePaymentMethodCashRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethodCashRequest) Set(val *PaymentMethodCashRequest)
- func (v *NullablePaymentMethodCashRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethodCashRequest) Unset()
- type NullablePaymentMethodCashResponse
- func (v NullablePaymentMethodCashResponse) Get() *PaymentMethodCashResponse
- func (v NullablePaymentMethodCashResponse) IsSet() bool
- func (v NullablePaymentMethodCashResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethodCashResponse) Set(val *PaymentMethodCashResponse)
- func (v *NullablePaymentMethodCashResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethodCashResponse) Unset()
- type NullablePaymentMethodResponse
- func (v NullablePaymentMethodResponse) Get() *PaymentMethodResponse
- func (v NullablePaymentMethodResponse) IsSet() bool
- func (v NullablePaymentMethodResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethodResponse) Set(val *PaymentMethodResponse)
- func (v *NullablePaymentMethodResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethodResponse) Unset()
- type NullableProduct
- type NullableProductDataResponse
- func (v NullableProductDataResponse) Get() *ProductDataResponse
- func (v NullableProductDataResponse) IsSet() bool
- func (v NullableProductDataResponse) MarshalJSON() ([]byte, error)
- func (v *NullableProductDataResponse) Set(val *ProductDataResponse)
- func (v *NullableProductDataResponse) UnmarshalJSON(src []byte) error
- func (v *NullableProductDataResponse) Unset()
- type NullableProductOrderResponse
- func (v NullableProductOrderResponse) Get() *ProductOrderResponse
- func (v NullableProductOrderResponse) IsSet() bool
- func (v NullableProductOrderResponse) MarshalJSON() ([]byte, error)
- func (v *NullableProductOrderResponse) Set(val *ProductOrderResponse)
- func (v *NullableProductOrderResponse) UnmarshalJSON(src []byte) error
- func (v *NullableProductOrderResponse) Unset()
- type NullableShippingOrderResponse
- func (v NullableShippingOrderResponse) Get() *ShippingOrderResponse
- func (v NullableShippingOrderResponse) IsSet() bool
- func (v NullableShippingOrderResponse) MarshalJSON() ([]byte, error)
- func (v *NullableShippingOrderResponse) Set(val *ShippingOrderResponse)
- func (v *NullableShippingOrderResponse) UnmarshalJSON(src []byte) error
- func (v *NullableShippingOrderResponse) Unset()
- type NullableShippingRequest
- func (v NullableShippingRequest) Get() *ShippingRequest
- func (v NullableShippingRequest) IsSet() bool
- func (v NullableShippingRequest) MarshalJSON() ([]byte, error)
- func (v *NullableShippingRequest) Set(val *ShippingRequest)
- func (v *NullableShippingRequest) UnmarshalJSON(src []byte) error
- func (v *NullableShippingRequest) Unset()
- type NullableSmsCheckoutRequest
- func (v NullableSmsCheckoutRequest) Get() *SmsCheckoutRequest
- func (v NullableSmsCheckoutRequest) IsSet() bool
- func (v NullableSmsCheckoutRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSmsCheckoutRequest) Set(val *SmsCheckoutRequest)
- func (v *NullableSmsCheckoutRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSmsCheckoutRequest) Unset()
- type NullableString
- type NullableTime
- type NullableTransactionResponse
- func (v NullableTransactionResponse) Get() *TransactionResponse
- func (v NullableTransactionResponse) IsSet() bool
- func (v NullableTransactionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionResponse) Set(val *TransactionResponse)
- func (v *NullableTransactionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionResponse) Unset()
- type NullableTransferDestinationResponse
- func (v NullableTransferDestinationResponse) Get() *TransferDestinationResponse
- func (v NullableTransferDestinationResponse) IsSet() bool
- func (v NullableTransferDestinationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransferDestinationResponse) Set(val *TransferDestinationResponse)
- func (v *NullableTransferDestinationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransferDestinationResponse) Unset()
- type NullableTransferMethodResponse
- func (v NullableTransferMethodResponse) Get() *TransferMethodResponse
- func (v NullableTransferMethodResponse) IsSet() bool
- func (v NullableTransferMethodResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransferMethodResponse) Set(val *TransferMethodResponse)
- func (v *NullableTransferMethodResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransferMethodResponse) Unset()
- type NullableTransferResponse
- func (v NullableTransferResponse) Get() *TransferResponse
- func (v NullableTransferResponse) IsSet() bool
- func (v NullableTransferResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransferResponse) Set(val *TransferResponse)
- func (v *NullableTransferResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransferResponse) Unset()
- type NullableTransfersResponse
- func (v NullableTransfersResponse) Get() *TransfersResponse
- func (v NullableTransfersResponse) IsSet() bool
- func (v NullableTransfersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransfersResponse) Set(val *TransfersResponse)
- func (v *NullableTransfersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransfersResponse) Unset()
- type NullableUpdateCustomer
- func (v NullableUpdateCustomer) Get() *UpdateCustomer
- func (v NullableUpdateCustomer) IsSet() bool
- func (v NullableUpdateCustomer) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCustomer) Set(val *UpdateCustomer)
- func (v *NullableUpdateCustomer) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCustomer) Unset()
- type NullableUpdateCustomerAntifraudInfo
- func (v NullableUpdateCustomerAntifraudInfo) Get() *UpdateCustomerAntifraudInfo
- func (v NullableUpdateCustomerAntifraudInfo) IsSet() bool
- func (v NullableUpdateCustomerAntifraudInfo) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCustomerAntifraudInfo) Set(val *UpdateCustomerAntifraudInfo)
- func (v *NullableUpdateCustomerAntifraudInfo) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCustomerAntifraudInfo) Unset()
- type NullableUpdateCustomerFiscalEntitiesResponse
- func (v NullableUpdateCustomerFiscalEntitiesResponse) Get() *UpdateCustomerFiscalEntitiesResponse
- func (v NullableUpdateCustomerFiscalEntitiesResponse) IsSet() bool
- func (v NullableUpdateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCustomerFiscalEntitiesResponse) Set(val *UpdateCustomerFiscalEntitiesResponse)
- func (v *NullableUpdateCustomerFiscalEntitiesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCustomerFiscalEntitiesResponse) Unset()
- type NullableUpdateCustomerPaymentMethodsResponse
- func (v NullableUpdateCustomerPaymentMethodsResponse) Get() *UpdateCustomerPaymentMethodsResponse
- func (v NullableUpdateCustomerPaymentMethodsResponse) IsSet() bool
- func (v NullableUpdateCustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCustomerPaymentMethodsResponse) Set(val *UpdateCustomerPaymentMethodsResponse)
- func (v *NullableUpdateCustomerPaymentMethodsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCustomerPaymentMethodsResponse) Unset()
- type NullableUpdateOrderDiscountLinesRequest
- func (v NullableUpdateOrderDiscountLinesRequest) Get() *UpdateOrderDiscountLinesRequest
- func (v NullableUpdateOrderDiscountLinesRequest) IsSet() bool
- func (v NullableUpdateOrderDiscountLinesRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateOrderDiscountLinesRequest) Set(val *UpdateOrderDiscountLinesRequest)
- func (v *NullableUpdateOrderDiscountLinesRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateOrderDiscountLinesRequest) Unset()
- type NullableUpdateOrderTaxRequest
- func (v NullableUpdateOrderTaxRequest) Get() *UpdateOrderTaxRequest
- func (v NullableUpdateOrderTaxRequest) IsSet() bool
- func (v NullableUpdateOrderTaxRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateOrderTaxRequest) Set(val *UpdateOrderTaxRequest)
- func (v *NullableUpdateOrderTaxRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateOrderTaxRequest) Unset()
- type NullableUpdateOrderTaxResponse
- func (v NullableUpdateOrderTaxResponse) Get() *UpdateOrderTaxResponse
- func (v NullableUpdateOrderTaxResponse) IsSet() bool
- func (v NullableUpdateOrderTaxResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateOrderTaxResponse) Set(val *UpdateOrderTaxResponse)
- func (v *NullableUpdateOrderTaxResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateOrderTaxResponse) Unset()
- type NullableUpdatePaymentMethods
- func (v NullableUpdatePaymentMethods) Get() *UpdatePaymentMethods
- func (v NullableUpdatePaymentMethods) IsSet() bool
- func (v NullableUpdatePaymentMethods) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatePaymentMethods) Set(val *UpdatePaymentMethods)
- func (v *NullableUpdatePaymentMethods) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatePaymentMethods) Unset()
- type NullableUpdateProduct
- func (v NullableUpdateProduct) Get() *UpdateProduct
- func (v NullableUpdateProduct) IsSet() bool
- func (v NullableUpdateProduct) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateProduct) Set(val *UpdateProduct)
- func (v *NullableUpdateProduct) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateProduct) Unset()
- type NullableWebhookKeyCreateResponse
- func (v NullableWebhookKeyCreateResponse) Get() *WebhookKeyCreateResponse
- func (v NullableWebhookKeyCreateResponse) IsSet() bool
- func (v NullableWebhookKeyCreateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookKeyCreateResponse) Set(val *WebhookKeyCreateResponse)
- func (v *NullableWebhookKeyCreateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookKeyCreateResponse) Unset()
- type NullableWebhookKeyDeleteResponse
- func (v NullableWebhookKeyDeleteResponse) Get() *WebhookKeyDeleteResponse
- func (v NullableWebhookKeyDeleteResponse) IsSet() bool
- func (v NullableWebhookKeyDeleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookKeyDeleteResponse) Set(val *WebhookKeyDeleteResponse)
- func (v *NullableWebhookKeyDeleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookKeyDeleteResponse) Unset()
- type NullableWebhookKeyRequest
- func (v NullableWebhookKeyRequest) Get() *WebhookKeyRequest
- func (v NullableWebhookKeyRequest) IsSet() bool
- func (v NullableWebhookKeyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookKeyRequest) Set(val *WebhookKeyRequest)
- func (v *NullableWebhookKeyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookKeyRequest) Unset()
- type NullableWebhookKeyResponse
- func (v NullableWebhookKeyResponse) Get() *WebhookKeyResponse
- func (v NullableWebhookKeyResponse) IsSet() bool
- func (v NullableWebhookKeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookKeyResponse) Set(val *WebhookKeyResponse)
- func (v *NullableWebhookKeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookKeyResponse) Unset()
- type NullableWebhookKeyUpdateRequest
- func (v NullableWebhookKeyUpdateRequest) Get() *WebhookKeyUpdateRequest
- func (v NullableWebhookKeyUpdateRequest) IsSet() bool
- func (v NullableWebhookKeyUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookKeyUpdateRequest) Set(val *WebhookKeyUpdateRequest)
- func (v *NullableWebhookKeyUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookKeyUpdateRequest) Unset()
- type NullableWebhookLog
- type NullableWebhookRequest
- func (v NullableWebhookRequest) Get() *WebhookRequest
- func (v NullableWebhookRequest) IsSet() bool
- func (v NullableWebhookRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookRequest) Set(val *WebhookRequest)
- func (v *NullableWebhookRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookRequest) Unset()
- type NullableWebhookResponse
- func (v NullableWebhookResponse) Get() *WebhookResponse
- func (v NullableWebhookResponse) IsSet() bool
- func (v NullableWebhookResponse) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookResponse) Set(val *WebhookResponse)
- func (v *NullableWebhookResponse) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookResponse) Unset()
- type NullableWebhookUpdateRequest
- func (v NullableWebhookUpdateRequest) Get() *WebhookUpdateRequest
- func (v NullableWebhookUpdateRequest) IsSet() bool
- func (v NullableWebhookUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookUpdateRequest) Set(val *WebhookUpdateRequest)
- func (v *NullableWebhookUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookUpdateRequest) Unset()
- type OrderCaptureRequest
- func (o *OrderCaptureRequest) GetAmount() int64
- func (o *OrderCaptureRequest) GetAmountOk() (*int64, bool)
- func (o OrderCaptureRequest) MarshalJSON() ([]byte, error)
- func (o *OrderCaptureRequest) SetAmount(v int64)
- func (o OrderCaptureRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderCaptureRequest) UnmarshalJSON(data []byte) (err error)
- type OrderCustomerInfoResponse
- func (o *OrderCustomerInfoResponse) GetCorporate() bool
- func (o *OrderCustomerInfoResponse) GetCorporateOk() (*bool, bool)
- func (o *OrderCustomerInfoResponse) GetCustomerCustomReference() string
- func (o *OrderCustomerInfoResponse) GetCustomerCustomReferenceOk() (*string, bool)
- func (o *OrderCustomerInfoResponse) GetEmail() string
- func (o *OrderCustomerInfoResponse) GetEmailOk() (*string, bool)
- func (o *OrderCustomerInfoResponse) GetName() string
- func (o *OrderCustomerInfoResponse) GetNameOk() (*string, bool)
- func (o *OrderCustomerInfoResponse) GetObject() string
- func (o *OrderCustomerInfoResponse) GetObjectOk() (*string, bool)
- func (o *OrderCustomerInfoResponse) GetPhone() string
- func (o *OrderCustomerInfoResponse) GetPhoneOk() (*string, bool)
- func (o *OrderCustomerInfoResponse) HasCorporate() bool
- func (o *OrderCustomerInfoResponse) HasCustomerCustomReference() bool
- func (o *OrderCustomerInfoResponse) HasEmail() bool
- func (o *OrderCustomerInfoResponse) HasName() bool
- func (o *OrderCustomerInfoResponse) HasObject() bool
- func (o *OrderCustomerInfoResponse) HasPhone() bool
- func (o OrderCustomerInfoResponse) MarshalJSON() ([]byte, error)
- func (o *OrderCustomerInfoResponse) SetCorporate(v bool)
- func (o *OrderCustomerInfoResponse) SetCustomerCustomReference(v string)
- func (o *OrderCustomerInfoResponse) SetCustomerCustomReferenceNil()
- func (o *OrderCustomerInfoResponse) SetEmail(v string)
- func (o *OrderCustomerInfoResponse) SetName(v string)
- func (o *OrderCustomerInfoResponse) SetObject(v string)
- func (o *OrderCustomerInfoResponse) SetPhone(v string)
- func (o OrderCustomerInfoResponse) ToMap() (map[string]interface{}, error)
- func (o *OrderCustomerInfoResponse) UnmarshalJSON(data []byte) (err error)
- func (o *OrderCustomerInfoResponse) UnsetCustomerCustomReference()
- type OrderDiscountLinesRequest
- func (o *OrderDiscountLinesRequest) GetAmount() int64
- func (o *OrderDiscountLinesRequest) GetAmountOk() (*int64, bool)
- func (o *OrderDiscountLinesRequest) GetCode() string
- func (o *OrderDiscountLinesRequest) GetCodeOk() (*string, bool)
- func (o *OrderDiscountLinesRequest) GetType() string
- func (o *OrderDiscountLinesRequest) GetTypeOk() (*string, bool)
- func (o OrderDiscountLinesRequest) MarshalJSON() ([]byte, error)
- func (o *OrderDiscountLinesRequest) SetAmount(v int64)
- func (o *OrderDiscountLinesRequest) SetCode(v string)
- func (o *OrderDiscountLinesRequest) SetType(v string)
- func (o OrderDiscountLinesRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderDiscountLinesRequest) UnmarshalJSON(data []byte) (err error)
- type OrderFiscalEntityAddressResponse
- func (o *OrderFiscalEntityAddressResponse) GetCity() string
- func (o *OrderFiscalEntityAddressResponse) GetCityOk() (*string, bool)
- func (o *OrderFiscalEntityAddressResponse) GetCountry() string
- func (o *OrderFiscalEntityAddressResponse) GetCountryOk() (*string, bool)
- func (o *OrderFiscalEntityAddressResponse) GetExternalNumber() string
- func (o *OrderFiscalEntityAddressResponse) GetExternalNumberOk() (*string, bool)
- func (o *OrderFiscalEntityAddressResponse) GetObject() string
- func (o *OrderFiscalEntityAddressResponse) GetObjectOk() (*string, bool)
- func (o *OrderFiscalEntityAddressResponse) GetPostalCode() string
- func (o *OrderFiscalEntityAddressResponse) GetPostalCodeOk() (*string, bool)
- func (o *OrderFiscalEntityAddressResponse) GetState() string
- func (o *OrderFiscalEntityAddressResponse) GetStateOk() (*string, bool)
- func (o *OrderFiscalEntityAddressResponse) GetStreet1() string
- func (o *OrderFiscalEntityAddressResponse) GetStreet1Ok() (*string, bool)
- func (o *OrderFiscalEntityAddressResponse) GetStreet2() string
- func (o *OrderFiscalEntityAddressResponse) GetStreet2Ok() (*string, bool)
- func (o *OrderFiscalEntityAddressResponse) HasObject() bool
- func (o *OrderFiscalEntityAddressResponse) HasState() bool
- func (o *OrderFiscalEntityAddressResponse) HasStreet2() bool
- func (o OrderFiscalEntityAddressResponse) MarshalJSON() ([]byte, error)
- func (o *OrderFiscalEntityAddressResponse) SetCity(v string)
- func (o *OrderFiscalEntityAddressResponse) SetCountry(v string)
- func (o *OrderFiscalEntityAddressResponse) SetExternalNumber(v string)
- func (o *OrderFiscalEntityAddressResponse) SetObject(v string)
- func (o *OrderFiscalEntityAddressResponse) SetPostalCode(v string)
- func (o *OrderFiscalEntityAddressResponse) SetState(v string)
- func (o *OrderFiscalEntityAddressResponse) SetStreet1(v string)
- func (o *OrderFiscalEntityAddressResponse) SetStreet2(v string)
- func (o *OrderFiscalEntityAddressResponse) SetStreet2Nil()
- func (o OrderFiscalEntityAddressResponse) ToMap() (map[string]interface{}, error)
- func (o *OrderFiscalEntityAddressResponse) UnmarshalJSON(data []byte) (err error)
- func (o *OrderFiscalEntityAddressResponse) UnsetStreet2()
- type OrderFiscalEntityRequest
- func (o *OrderFiscalEntityRequest) GetAddress() FiscalEntityAddress
- func (o *OrderFiscalEntityRequest) GetAddressOk() (*FiscalEntityAddress, bool)
- func (o *OrderFiscalEntityRequest) GetEmail() string
- func (o *OrderFiscalEntityRequest) GetEmailOk() (*string, bool)
- func (o *OrderFiscalEntityRequest) GetMetadata() map[string]interface{}
- func (o *OrderFiscalEntityRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *OrderFiscalEntityRequest) GetName() string
- func (o *OrderFiscalEntityRequest) GetNameOk() (*string, bool)
- func (o *OrderFiscalEntityRequest) GetPhone() string
- func (o *OrderFiscalEntityRequest) GetPhoneOk() (*string, bool)
- func (o *OrderFiscalEntityRequest) GetTaxId() string
- func (o *OrderFiscalEntityRequest) GetTaxIdOk() (*string, bool)
- func (o *OrderFiscalEntityRequest) HasEmail() bool
- func (o *OrderFiscalEntityRequest) HasMetadata() bool
- func (o *OrderFiscalEntityRequest) HasName() bool
- func (o *OrderFiscalEntityRequest) HasPhone() bool
- func (o *OrderFiscalEntityRequest) HasTaxId() bool
- func (o OrderFiscalEntityRequest) MarshalJSON() ([]byte, error)
- func (o *OrderFiscalEntityRequest) SetAddress(v FiscalEntityAddress)
- func (o *OrderFiscalEntityRequest) SetEmail(v string)
- func (o *OrderFiscalEntityRequest) SetMetadata(v map[string]interface{})
- func (o *OrderFiscalEntityRequest) SetName(v string)
- func (o *OrderFiscalEntityRequest) SetNameNil()
- func (o *OrderFiscalEntityRequest) SetPhone(v string)
- func (o *OrderFiscalEntityRequest) SetTaxId(v string)
- func (o *OrderFiscalEntityRequest) SetTaxIdNil()
- func (o OrderFiscalEntityRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderFiscalEntityRequest) UnmarshalJSON(data []byte) (err error)
- func (o *OrderFiscalEntityRequest) UnsetName()
- func (o *OrderFiscalEntityRequest) UnsetTaxId()
- type OrderFiscalEntityResponse
- func (o *OrderFiscalEntityResponse) GetAddress() OrderFiscalEntityAddressResponse
- func (o *OrderFiscalEntityResponse) GetAddressOk() (*OrderFiscalEntityAddressResponse, bool)
- func (o *OrderFiscalEntityResponse) GetCreatedAt() int64
- func (o *OrderFiscalEntityResponse) GetCreatedAtOk() (*int64, bool)
- func (o *OrderFiscalEntityResponse) GetEmail() string
- func (o *OrderFiscalEntityResponse) GetEmailOk() (*string, bool)
- func (o *OrderFiscalEntityResponse) GetId() string
- func (o *OrderFiscalEntityResponse) GetIdOk() (*string, bool)
- func (o *OrderFiscalEntityResponse) GetMetadata() map[string]interface{}
- func (o *OrderFiscalEntityResponse) GetMetadataOk() (map[string]interface{}, bool)
- func (o *OrderFiscalEntityResponse) GetName() string
- func (o *OrderFiscalEntityResponse) GetNameOk() (*string, bool)
- func (o *OrderFiscalEntityResponse) GetObject() string
- func (o *OrderFiscalEntityResponse) GetObjectOk() (*string, bool)
- func (o *OrderFiscalEntityResponse) GetPhone() string
- func (o *OrderFiscalEntityResponse) GetPhoneOk() (*string, bool)
- func (o *OrderFiscalEntityResponse) GetTaxId() string
- func (o *OrderFiscalEntityResponse) GetTaxIdOk() (*string, bool)
- func (o *OrderFiscalEntityResponse) HasEmail() bool
- func (o *OrderFiscalEntityResponse) HasMetadata() bool
- func (o *OrderFiscalEntityResponse) HasName() bool
- func (o *OrderFiscalEntityResponse) HasPhone() bool
- func (o *OrderFiscalEntityResponse) HasTaxId() bool
- func (o OrderFiscalEntityResponse) MarshalJSON() ([]byte, error)
- func (o *OrderFiscalEntityResponse) SetAddress(v OrderFiscalEntityAddressResponse)
- func (o *OrderFiscalEntityResponse) SetCreatedAt(v int64)
- func (o *OrderFiscalEntityResponse) SetEmail(v string)
- func (o *OrderFiscalEntityResponse) SetEmailNil()
- func (o *OrderFiscalEntityResponse) SetId(v string)
- func (o *OrderFiscalEntityResponse) SetMetadata(v map[string]interface{})
- func (o *OrderFiscalEntityResponse) SetName(v string)
- func (o *OrderFiscalEntityResponse) SetNameNil()
- func (o *OrderFiscalEntityResponse) SetObject(v string)
- func (o *OrderFiscalEntityResponse) SetPhone(v string)
- func (o *OrderFiscalEntityResponse) SetPhoneNil()
- func (o *OrderFiscalEntityResponse) SetTaxId(v string)
- func (o *OrderFiscalEntityResponse) SetTaxIdNil()
- func (o OrderFiscalEntityResponse) ToMap() (map[string]interface{}, error)
- func (o *OrderFiscalEntityResponse) UnmarshalJSON(data []byte) (err error)
- func (o *OrderFiscalEntityResponse) UnsetEmail()
- func (o *OrderFiscalEntityResponse) UnsetName()
- func (o *OrderFiscalEntityResponse) UnsetPhone()
- func (o *OrderFiscalEntityResponse) UnsetTaxId()
- type OrderNextActionResponse
- func (o *OrderNextActionResponse) GetRedirectToUrl() OrderNextActionResponseRedirectToUrl
- func (o *OrderNextActionResponse) GetRedirectToUrlOk() (*OrderNextActionResponseRedirectToUrl, bool)
- func (o *OrderNextActionResponse) GetType() string
- func (o *OrderNextActionResponse) GetTypeOk() (*string, bool)
- func (o *OrderNextActionResponse) HasRedirectToUrl() bool
- func (o *OrderNextActionResponse) HasType() bool
- func (o OrderNextActionResponse) MarshalJSON() ([]byte, error)
- func (o *OrderNextActionResponse) SetRedirectToUrl(v OrderNextActionResponseRedirectToUrl)
- func (o *OrderNextActionResponse) SetType(v string)
- func (o OrderNextActionResponse) ToMap() (map[string]interface{}, error)
- func (o *OrderNextActionResponse) UnmarshalJSON(data []byte) (err error)
- type OrderNextActionResponseRedirectToUrl
- func (o *OrderNextActionResponseRedirectToUrl) GetReturnUrl() string
- func (o *OrderNextActionResponseRedirectToUrl) GetReturnUrlOk() (*string, bool)
- func (o *OrderNextActionResponseRedirectToUrl) GetUrl() string
- func (o *OrderNextActionResponseRedirectToUrl) GetUrlOk() (*string, bool)
- func (o *OrderNextActionResponseRedirectToUrl) HasReturnUrl() bool
- func (o *OrderNextActionResponseRedirectToUrl) HasUrl() bool
- func (o OrderNextActionResponseRedirectToUrl) MarshalJSON() ([]byte, error)
- func (o *OrderNextActionResponseRedirectToUrl) SetReturnUrl(v string)
- func (o *OrderNextActionResponseRedirectToUrl) SetUrl(v string)
- func (o OrderNextActionResponseRedirectToUrl) ToMap() (map[string]interface{}, error)
- func (o *OrderNextActionResponseRedirectToUrl) UnmarshalJSON(data []byte) (err error)
- type OrderRefundRequest
- func (o *OrderRefundRequest) GetAmount() int32
- func (o *OrderRefundRequest) GetAmountOk() (*int32, bool)
- func (o *OrderRefundRequest) GetExpiresAt() int64
- func (o *OrderRefundRequest) GetExpiresAtOk() (*int64, bool)
- func (o *OrderRefundRequest) GetReason() string
- func (o *OrderRefundRequest) GetReasonOk() (*string, bool)
- func (o *OrderRefundRequest) HasExpiresAt() bool
- func (o OrderRefundRequest) MarshalJSON() ([]byte, error)
- func (o *OrderRefundRequest) SetAmount(v int32)
- func (o *OrderRefundRequest) SetExpiresAt(v int64)
- func (o *OrderRefundRequest) SetExpiresAtNil()
- func (o *OrderRefundRequest) SetReason(v string)
- func (o OrderRefundRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderRefundRequest) UnmarshalJSON(data []byte) (err error)
- func (o *OrderRefundRequest) UnsetExpiresAt()
- type OrderRequest
- func (o *OrderRequest) GetCharges() []ChargeRequest
- func (o *OrderRequest) GetChargesOk() ([]ChargeRequest, bool)
- func (o *OrderRequest) GetCheckout() CheckoutRequest
- func (o *OrderRequest) GetCheckoutOk() (*CheckoutRequest, bool)
- func (o *OrderRequest) GetCurrency() string
- func (o *OrderRequest) GetCurrencyOk() (*string, bool)
- func (o *OrderRequest) GetCustomerInfo() OrderRequestCustomerInfo
- func (o *OrderRequest) GetCustomerInfoOk() (*OrderRequestCustomerInfo, bool)
- func (o *OrderRequest) GetDiscountLines() []OrderDiscountLinesRequest
- func (o *OrderRequest) GetDiscountLinesOk() ([]OrderDiscountLinesRequest, bool)
- func (o *OrderRequest) GetFiscalEntity() OrderFiscalEntityRequest
- func (o *OrderRequest) GetFiscalEntityOk() (*OrderFiscalEntityRequest, bool)
- func (o *OrderRequest) GetLineItems() []Product
- func (o *OrderRequest) GetLineItemsOk() ([]Product, bool)
- func (o *OrderRequest) GetMetadata() map[string]interface{}
- func (o *OrderRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *OrderRequest) GetNeedsShippingContact() bool
- func (o *OrderRequest) GetNeedsShippingContactOk() (*bool, bool)
- func (o *OrderRequest) GetProcessingMode() string
- func (o *OrderRequest) GetProcessingModeOk() (*string, bool)
- func (o *OrderRequest) GetReturnUrl() string
- func (o *OrderRequest) GetReturnUrlOk() (*string, bool)
- func (o *OrderRequest) GetShippingContact() CustomerShippingContacts
- func (o *OrderRequest) GetShippingContactOk() (*CustomerShippingContacts, bool)
- func (o *OrderRequest) GetShippingLines() []ShippingRequest
- func (o *OrderRequest) GetShippingLinesOk() ([]ShippingRequest, bool)
- func (o *OrderRequest) GetTaxLines() []OrderTaxRequest
- func (o *OrderRequest) GetTaxLinesOk() ([]OrderTaxRequest, bool)
- func (o *OrderRequest) HasCharges() bool
- func (o *OrderRequest) HasCheckout() bool
- func (o *OrderRequest) HasDiscountLines() bool
- func (o *OrderRequest) HasFiscalEntity() bool
- func (o *OrderRequest) HasMetadata() bool
- func (o *OrderRequest) HasNeedsShippingContact() bool
- func (o *OrderRequest) HasProcessingMode() bool
- func (o *OrderRequest) HasReturnUrl() bool
- func (o *OrderRequest) HasShippingContact() bool
- func (o *OrderRequest) HasShippingLines() bool
- func (o *OrderRequest) HasTaxLines() bool
- func (o OrderRequest) MarshalJSON() ([]byte, error)
- func (o *OrderRequest) SetCharges(v []ChargeRequest)
- func (o *OrderRequest) SetCheckout(v CheckoutRequest)
- func (o *OrderRequest) SetCurrency(v string)
- func (o *OrderRequest) SetCustomerInfo(v OrderRequestCustomerInfo)
- func (o *OrderRequest) SetDiscountLines(v []OrderDiscountLinesRequest)
- func (o *OrderRequest) SetFiscalEntity(v OrderFiscalEntityRequest)
- func (o *OrderRequest) SetLineItems(v []Product)
- func (o *OrderRequest) SetMetadata(v map[string]interface{})
- func (o *OrderRequest) SetNeedsShippingContact(v bool)
- func (o *OrderRequest) SetProcessingMode(v string)
- func (o *OrderRequest) SetReturnUrl(v string)
- func (o *OrderRequest) SetShippingContact(v CustomerShippingContacts)
- func (o *OrderRequest) SetShippingLines(v []ShippingRequest)
- func (o *OrderRequest) SetTaxLines(v []OrderTaxRequest)
- func (o OrderRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderRequest) UnmarshalJSON(data []byte) (err error)
- type OrderRequestCustomerInfo
- type OrderResponse
- func (o *OrderResponse) GetAmount() int32
- func (o *OrderResponse) GetAmountOk() (*int32, bool)
- func (o *OrderResponse) GetAmountRefunded() int32
- func (o *OrderResponse) GetAmountRefundedOk() (*int32, bool)
- func (o *OrderResponse) GetChannel() ChargeResponseChannel
- func (o *OrderResponse) GetChannelOk() (*ChargeResponseChannel, bool)
- func (o *OrderResponse) GetCharges() OrderResponseCharges
- func (o *OrderResponse) GetChargesOk() (*OrderResponseCharges, bool)
- func (o *OrderResponse) GetCheckout() OrderResponseCheckout
- func (o *OrderResponse) GetCheckoutOk() (*OrderResponseCheckout, bool)
- func (o *OrderResponse) GetCreatedAt() int64
- func (o *OrderResponse) GetCreatedAtOk() (*int64, bool)
- func (o *OrderResponse) GetCurrency() string
- func (o *OrderResponse) GetCurrencyOk() (*string, bool)
- func (o *OrderResponse) GetCustomerInfo() OrderResponseCustomerInfo
- func (o *OrderResponse) GetCustomerInfoOk() (*OrderResponseCustomerInfo, bool)
- func (o *OrderResponse) GetDiscountLines() OrderResponseDiscountLines
- func (o *OrderResponse) GetDiscountLinesOk() (*OrderResponseDiscountLines, bool)
- func (o *OrderResponse) GetFiscalEntity() OrderFiscalEntityResponse
- func (o *OrderResponse) GetFiscalEntityOk() (*OrderFiscalEntityResponse, bool)
- func (o *OrderResponse) GetId() string
- func (o *OrderResponse) GetIdOk() (*string, bool)
- func (o *OrderResponse) GetIsRefundable() bool
- func (o *OrderResponse) GetIsRefundableOk() (*bool, bool)
- func (o *OrderResponse) GetLineItems() OrderResponseProducts
- func (o *OrderResponse) GetLineItemsOk() (*OrderResponseProducts, bool)
- func (o *OrderResponse) GetLivemode() bool
- func (o *OrderResponse) GetLivemodeOk() (*bool, bool)
- func (o *OrderResponse) GetMetadata() map[string]interface{}
- func (o *OrderResponse) GetMetadataOk() (map[string]interface{}, bool)
- func (o *OrderResponse) GetNextAction() OrderNextActionResponse
- func (o *OrderResponse) GetNextActionOk() (*OrderNextActionResponse, bool)
- func (o *OrderResponse) GetObject() string
- func (o *OrderResponse) GetObjectOk() (*string, bool)
- func (o *OrderResponse) GetPaymentStatus() string
- func (o *OrderResponse) GetPaymentStatusOk() (*string, bool)
- func (o *OrderResponse) GetProcessingMode() string
- func (o *OrderResponse) GetProcessingModeOk() (*string, bool)
- func (o *OrderResponse) GetShippingContact() OrderResponseShippingContact
- func (o *OrderResponse) GetShippingContactOk() (*OrderResponseShippingContact, bool)
- func (o *OrderResponse) GetUpdatedAt() int64
- func (o *OrderResponse) GetUpdatedAtOk() (*int64, bool)
- func (o *OrderResponse) HasAmount() bool
- func (o *OrderResponse) HasAmountRefunded() bool
- func (o *OrderResponse) HasChannel() bool
- func (o *OrderResponse) HasCharges() bool
- func (o *OrderResponse) HasCheckout() bool
- func (o *OrderResponse) HasCreatedAt() bool
- func (o *OrderResponse) HasCurrency() bool
- func (o *OrderResponse) HasCustomerInfo() bool
- func (o *OrderResponse) HasDiscountLines() bool
- func (o *OrderResponse) HasFiscalEntity() bool
- func (o *OrderResponse) HasId() bool
- func (o *OrderResponse) HasIsRefundable() bool
- func (o *OrderResponse) HasLineItems() bool
- func (o *OrderResponse) HasLivemode() bool
- func (o *OrderResponse) HasMetadata() bool
- func (o *OrderResponse) HasNextAction() bool
- func (o *OrderResponse) HasObject() bool
- func (o *OrderResponse) HasPaymentStatus() bool
- func (o *OrderResponse) HasProcessingMode() bool
- func (o *OrderResponse) HasShippingContact() bool
- func (o *OrderResponse) HasUpdatedAt() bool
- func (o OrderResponse) MarshalJSON() ([]byte, error)
- func (o *OrderResponse) SetAmount(v int32)
- func (o *OrderResponse) SetAmountRefunded(v int32)
- func (o *OrderResponse) SetChannel(v ChargeResponseChannel)
- func (o *OrderResponse) SetCharges(v OrderResponseCharges)
- func (o *OrderResponse) SetCheckout(v OrderResponseCheckout)
- func (o *OrderResponse) SetCreatedAt(v int64)
- func (o *OrderResponse) SetCurrency(v string)
- func (o *OrderResponse) SetCustomerInfo(v OrderResponseCustomerInfo)
- func (o *OrderResponse) SetDiscountLines(v OrderResponseDiscountLines)
- func (o *OrderResponse) SetFiscalEntity(v OrderFiscalEntityResponse)
- func (o *OrderResponse) SetFiscalEntityNil()
- func (o *OrderResponse) SetId(v string)
- func (o *OrderResponse) SetIsRefundable(v bool)
- func (o *OrderResponse) SetLineItems(v OrderResponseProducts)
- func (o *OrderResponse) SetLivemode(v bool)
- func (o *OrderResponse) SetMetadata(v map[string]interface{})
- func (o *OrderResponse) SetNextAction(v OrderNextActionResponse)
- func (o *OrderResponse) SetObject(v string)
- func (o *OrderResponse) SetPaymentStatus(v string)
- func (o *OrderResponse) SetProcessingMode(v string)
- func (o *OrderResponse) SetShippingContact(v OrderResponseShippingContact)
- func (o *OrderResponse) SetUpdatedAt(v int64)
- func (o OrderResponse) ToMap() (map[string]interface{}, error)
- func (o *OrderResponse) UnmarshalJSON(data []byte) (err error)
- func (o *OrderResponse) UnsetFiscalEntity()
- type OrderResponseCharges
- func (o *OrderResponseCharges) GetData() []ChargesDataResponse
- func (o *OrderResponseCharges) GetDataOk() ([]ChargesDataResponse, bool)
- func (o *OrderResponseCharges) GetHasMore() bool
- func (o *OrderResponseCharges) GetHasMoreOk() (*bool, bool)
- func (o *OrderResponseCharges) GetObject() string
- func (o *OrderResponseCharges) GetObjectOk() (*string, bool)
- func (o *OrderResponseCharges) HasData() bool
- func (o OrderResponseCharges) MarshalJSON() ([]byte, error)
- func (o *OrderResponseCharges) SetData(v []ChargesDataResponse)
- func (o *OrderResponseCharges) SetHasMore(v bool)
- func (o *OrderResponseCharges) SetObject(v string)
- func (o OrderResponseCharges) ToMap() (map[string]interface{}, error)
- func (o *OrderResponseCharges) UnmarshalJSON(data []byte) (err error)
- type OrderResponseCheckout
- func (o *OrderResponseCheckout) GetAllowedPaymentMethods() []string
- func (o *OrderResponseCheckout) GetAllowedPaymentMethodsOk() ([]string, bool)
- func (o *OrderResponseCheckout) GetCanNotExpire() bool
- func (o *OrderResponseCheckout) GetCanNotExpireOk() (*bool, bool)
- func (o *OrderResponseCheckout) GetEmailsSent() int32
- func (o *OrderResponseCheckout) GetEmailsSentOk() (*int32, bool)
- func (o *OrderResponseCheckout) GetExpiresAt() int64
- func (o *OrderResponseCheckout) GetExpiresAtOk() (*int64, bool)
- func (o *OrderResponseCheckout) GetFailureUrl() string
- func (o *OrderResponseCheckout) GetFailureUrlOk() (*string, bool)
- func (o *OrderResponseCheckout) GetId() string
- func (o *OrderResponseCheckout) GetIdOk() (*string, bool)
- func (o *OrderResponseCheckout) GetIsRedirectOnFailure() bool
- func (o *OrderResponseCheckout) GetIsRedirectOnFailureOk() (*bool, bool)
- func (o *OrderResponseCheckout) GetLivemode() bool
- func (o *OrderResponseCheckout) GetLivemodeOk() (*bool, bool)
- func (o *OrderResponseCheckout) GetMetadata() map[string]interface{}
- func (o *OrderResponseCheckout) GetMetadataOk() (map[string]interface{}, bool)
- func (o *OrderResponseCheckout) GetName() string
- func (o *OrderResponseCheckout) GetNameOk() (*string, bool)
- func (o *OrderResponseCheckout) GetNeedsShippingContact() bool
- func (o *OrderResponseCheckout) GetNeedsShippingContactOk() (*bool, bool)
- func (o *OrderResponseCheckout) GetObject() string
- func (o *OrderResponseCheckout) GetObjectOk() (*string, bool)
- func (o *OrderResponseCheckout) GetOnDemandEnabled() bool
- func (o *OrderResponseCheckout) GetOnDemandEnabledOk() (*bool, bool)
- func (o *OrderResponseCheckout) GetRecurrent() bool
- func (o *OrderResponseCheckout) GetRecurrentOk() (*bool, bool)
- func (o *OrderResponseCheckout) GetSlug() string
- func (o *OrderResponseCheckout) GetSlugOk() (*string, bool)
- func (o *OrderResponseCheckout) GetSmsSent() int32
- func (o *OrderResponseCheckout) GetSmsSentOk() (*int32, bool)
- func (o *OrderResponseCheckout) GetStartsAt() int32
- func (o *OrderResponseCheckout) GetStartsAtOk() (*int32, bool)
- func (o *OrderResponseCheckout) GetStatus() string
- func (o *OrderResponseCheckout) GetStatusOk() (*string, bool)
- func (o *OrderResponseCheckout) GetSuccessUrl() string
- func (o *OrderResponseCheckout) GetSuccessUrlOk() (*string, bool)
- func (o *OrderResponseCheckout) GetType() string
- func (o *OrderResponseCheckout) GetTypeOk() (*string, bool)
- func (o *OrderResponseCheckout) GetUrl() string
- func (o *OrderResponseCheckout) GetUrlOk() (*string, bool)
- func (o *OrderResponseCheckout) HasAllowedPaymentMethods() bool
- func (o *OrderResponseCheckout) HasCanNotExpire() bool
- func (o *OrderResponseCheckout) HasEmailsSent() bool
- func (o *OrderResponseCheckout) HasExpiresAt() bool
- func (o *OrderResponseCheckout) HasFailureUrl() bool
- func (o *OrderResponseCheckout) HasId() bool
- func (o *OrderResponseCheckout) HasIsRedirectOnFailure() bool
- func (o *OrderResponseCheckout) HasLivemode() bool
- func (o *OrderResponseCheckout) HasMetadata() bool
- func (o *OrderResponseCheckout) HasName() bool
- func (o *OrderResponseCheckout) HasNeedsShippingContact() bool
- func (o *OrderResponseCheckout) HasObject() bool
- func (o *OrderResponseCheckout) HasOnDemandEnabled() bool
- func (o *OrderResponseCheckout) HasRecurrent() bool
- func (o *OrderResponseCheckout) HasSlug() bool
- func (o *OrderResponseCheckout) HasSmsSent() bool
- func (o *OrderResponseCheckout) HasStartsAt() bool
- func (o *OrderResponseCheckout) HasStatus() bool
- func (o *OrderResponseCheckout) HasSuccessUrl() bool
- func (o *OrderResponseCheckout) HasType() bool
- func (o *OrderResponseCheckout) HasUrl() bool
- func (o OrderResponseCheckout) MarshalJSON() ([]byte, error)
- func (o *OrderResponseCheckout) SetAllowedPaymentMethods(v []string)
- func (o *OrderResponseCheckout) SetCanNotExpire(v bool)
- func (o *OrderResponseCheckout) SetEmailsSent(v int32)
- func (o *OrderResponseCheckout) SetExpiresAt(v int64)
- func (o *OrderResponseCheckout) SetFailureUrl(v string)
- func (o *OrderResponseCheckout) SetId(v string)
- func (o *OrderResponseCheckout) SetIsRedirectOnFailure(v bool)
- func (o *OrderResponseCheckout) SetLivemode(v bool)
- func (o *OrderResponseCheckout) SetMetadata(v map[string]interface{})
- func (o *OrderResponseCheckout) SetName(v string)
- func (o *OrderResponseCheckout) SetNeedsShippingContact(v bool)
- func (o *OrderResponseCheckout) SetObject(v string)
- func (o *OrderResponseCheckout) SetOnDemandEnabled(v bool)
- func (o *OrderResponseCheckout) SetOnDemandEnabledNil()
- func (o *OrderResponseCheckout) SetRecurrent(v bool)
- func (o *OrderResponseCheckout) SetSlug(v string)
- func (o *OrderResponseCheckout) SetSmsSent(v int32)
- func (o *OrderResponseCheckout) SetStartsAt(v int32)
- func (o *OrderResponseCheckout) SetStatus(v string)
- func (o *OrderResponseCheckout) SetSuccessUrl(v string)
- func (o *OrderResponseCheckout) SetType(v string)
- func (o *OrderResponseCheckout) SetUrl(v string)
- func (o OrderResponseCheckout) ToMap() (map[string]interface{}, error)
- func (o *OrderResponseCheckout) UnmarshalJSON(data []byte) (err error)
- func (o *OrderResponseCheckout) UnsetOnDemandEnabled()
- type OrderResponseCustomerInfo
- func (o *OrderResponseCustomerInfo) GetCorporate() bool
- func (o *OrderResponseCustomerInfo) GetCorporateOk() (*bool, bool)
- func (o *OrderResponseCustomerInfo) GetCustomerCustomReference() string
- func (o *OrderResponseCustomerInfo) GetCustomerCustomReferenceOk() (*string, bool)
- func (o *OrderResponseCustomerInfo) GetCustomerId() string
- func (o *OrderResponseCustomerInfo) GetCustomerIdOk() (*string, bool)
- func (o *OrderResponseCustomerInfo) GetEmail() string
- func (o *OrderResponseCustomerInfo) GetEmailOk() (*string, bool)
- func (o *OrderResponseCustomerInfo) GetName() string
- func (o *OrderResponseCustomerInfo) GetNameOk() (*string, bool)
- func (o *OrderResponseCustomerInfo) GetObject() string
- func (o *OrderResponseCustomerInfo) GetObjectOk() (*string, bool)
- func (o *OrderResponseCustomerInfo) GetPhone() string
- func (o *OrderResponseCustomerInfo) GetPhoneOk() (*string, bool)
- func (o *OrderResponseCustomerInfo) HasCorporate() bool
- func (o *OrderResponseCustomerInfo) HasCustomerCustomReference() bool
- func (o *OrderResponseCustomerInfo) HasCustomerId() bool
- func (o *OrderResponseCustomerInfo) HasEmail() bool
- func (o *OrderResponseCustomerInfo) HasName() bool
- func (o *OrderResponseCustomerInfo) HasObject() bool
- func (o *OrderResponseCustomerInfo) HasPhone() bool
- func (o OrderResponseCustomerInfo) MarshalJSON() ([]byte, error)
- func (o *OrderResponseCustomerInfo) SetCorporate(v bool)
- func (o *OrderResponseCustomerInfo) SetCustomerCustomReference(v string)
- func (o *OrderResponseCustomerInfo) SetCustomerCustomReferenceNil()
- func (o *OrderResponseCustomerInfo) SetCustomerId(v string)
- func (o *OrderResponseCustomerInfo) SetEmail(v string)
- func (o *OrderResponseCustomerInfo) SetName(v string)
- func (o *OrderResponseCustomerInfo) SetObject(v string)
- func (o *OrderResponseCustomerInfo) SetPhone(v string)
- func (o OrderResponseCustomerInfo) ToMap() (map[string]interface{}, error)
- func (o *OrderResponseCustomerInfo) UnmarshalJSON(data []byte) (err error)
- func (o *OrderResponseCustomerInfo) UnsetCustomerCustomReference()
- type OrderResponseDiscountLines
- func (o *OrderResponseDiscountLines) GetData() []DiscountLinesDataResponse
- func (o *OrderResponseDiscountLines) GetDataOk() ([]DiscountLinesDataResponse, bool)
- func (o *OrderResponseDiscountLines) GetHasMore() bool
- func (o *OrderResponseDiscountLines) GetHasMoreOk() (*bool, bool)
- func (o *OrderResponseDiscountLines) GetObject() string
- func (o *OrderResponseDiscountLines) GetObjectOk() (*string, bool)
- func (o *OrderResponseDiscountLines) HasData() bool
- func (o OrderResponseDiscountLines) MarshalJSON() ([]byte, error)
- func (o *OrderResponseDiscountLines) SetData(v []DiscountLinesDataResponse)
- func (o *OrderResponseDiscountLines) SetHasMore(v bool)
- func (o *OrderResponseDiscountLines) SetObject(v string)
- func (o OrderResponseDiscountLines) ToMap() (map[string]interface{}, error)
- func (o *OrderResponseDiscountLines) UnmarshalJSON(data []byte) (err error)
- type OrderResponseProducts
- func (o *OrderResponseProducts) GetData() []ProductDataResponse
- func (o *OrderResponseProducts) GetDataOk() ([]ProductDataResponse, bool)
- func (o *OrderResponseProducts) GetHasMore() bool
- func (o *OrderResponseProducts) GetHasMoreOk() (*bool, bool)
- func (o *OrderResponseProducts) GetNextPageUrl() string
- func (o *OrderResponseProducts) GetNextPageUrlOk() (*string, bool)
- func (o *OrderResponseProducts) GetObject() string
- func (o *OrderResponseProducts) GetObjectOk() (*string, bool)
- func (o *OrderResponseProducts) GetPreviousPageUrl() string
- func (o *OrderResponseProducts) GetPreviousPageUrlOk() (*string, bool)
- func (o *OrderResponseProducts) HasData() bool
- func (o *OrderResponseProducts) HasNextPageUrl() bool
- func (o *OrderResponseProducts) HasPreviousPageUrl() bool
- func (o OrderResponseProducts) MarshalJSON() ([]byte, error)
- func (o *OrderResponseProducts) SetData(v []ProductDataResponse)
- func (o *OrderResponseProducts) SetHasMore(v bool)
- func (o *OrderResponseProducts) SetNextPageUrl(v string)
- func (o *OrderResponseProducts) SetNextPageUrlNil()
- func (o *OrderResponseProducts) SetObject(v string)
- func (o *OrderResponseProducts) SetPreviousPageUrl(v string)
- func (o *OrderResponseProducts) SetPreviousPageUrlNil()
- func (o OrderResponseProducts) ToMap() (map[string]interface{}, error)
- func (o *OrderResponseProducts) UnmarshalJSON(data []byte) (err error)
- func (o *OrderResponseProducts) UnsetNextPageUrl()
- func (o *OrderResponseProducts) UnsetPreviousPageUrl()
- type OrderResponseShippingContact
- func (o *OrderResponseShippingContact) GetAddress() CustomerShippingContactsResponseAddress
- func (o *OrderResponseShippingContact) GetAddressOk() (*CustomerShippingContactsResponseAddress, bool)
- func (o *OrderResponseShippingContact) GetBetweenStreets() string
- func (o *OrderResponseShippingContact) GetBetweenStreetsOk() (*string, bool)
- func (o *OrderResponseShippingContact) GetCreatedAt() int64
- func (o *OrderResponseShippingContact) GetCreatedAtOk() (*int64, bool)
- func (o *OrderResponseShippingContact) GetDefault() bool
- func (o *OrderResponseShippingContact) GetDefaultOk() (*bool, bool)
- func (o *OrderResponseShippingContact) GetDeleted() bool
- func (o *OrderResponseShippingContact) GetDeletedOk() (*bool, bool)
- func (o *OrderResponseShippingContact) GetId() string
- func (o *OrderResponseShippingContact) GetIdOk() (*string, bool)
- func (o *OrderResponseShippingContact) GetMetadata() map[string]interface{}
- func (o *OrderResponseShippingContact) GetMetadataOk() (map[string]interface{}, bool)
- func (o *OrderResponseShippingContact) GetObject() string
- func (o *OrderResponseShippingContact) GetObjectOk() (*string, bool)
- func (o *OrderResponseShippingContact) GetParentId() string
- func (o *OrderResponseShippingContact) GetParentIdOk() (*string, bool)
- func (o *OrderResponseShippingContact) GetPhone() string
- func (o *OrderResponseShippingContact) GetPhoneOk() (*string, bool)
- func (o *OrderResponseShippingContact) GetReceiver() string
- func (o *OrderResponseShippingContact) GetReceiverOk() (*string, bool)
- func (o *OrderResponseShippingContact) HasAddress() bool
- func (o *OrderResponseShippingContact) HasBetweenStreets() bool
- func (o *OrderResponseShippingContact) HasCreatedAt() bool
- func (o *OrderResponseShippingContact) HasDefault() bool
- func (o *OrderResponseShippingContact) HasDeleted() bool
- func (o *OrderResponseShippingContact) HasId() bool
- func (o *OrderResponseShippingContact) HasMetadata() bool
- func (o *OrderResponseShippingContact) HasObject() bool
- func (o *OrderResponseShippingContact) HasParentId() bool
- func (o *OrderResponseShippingContact) HasPhone() bool
- func (o *OrderResponseShippingContact) HasReceiver() bool
- func (o OrderResponseShippingContact) MarshalJSON() ([]byte, error)
- func (o *OrderResponseShippingContact) SetAddress(v CustomerShippingContactsResponseAddress)
- func (o *OrderResponseShippingContact) SetBetweenStreets(v string)
- func (o *OrderResponseShippingContact) SetBetweenStreetsNil()
- func (o *OrderResponseShippingContact) SetCreatedAt(v int64)
- func (o *OrderResponseShippingContact) SetDefault(v bool)
- func (o *OrderResponseShippingContact) SetDeleted(v bool)
- func (o *OrderResponseShippingContact) SetId(v string)
- func (o *OrderResponseShippingContact) SetMetadata(v map[string]interface{})
- func (o *OrderResponseShippingContact) SetObject(v string)
- func (o *OrderResponseShippingContact) SetParentId(v string)
- func (o *OrderResponseShippingContact) SetPhone(v string)
- func (o *OrderResponseShippingContact) SetReceiver(v string)
- func (o OrderResponseShippingContact) ToMap() (map[string]interface{}, error)
- func (o *OrderResponseShippingContact) UnmarshalJSON(data []byte) (err error)
- func (o *OrderResponseShippingContact) UnsetBetweenStreets()
- type OrderTaxRequest
- func (o *OrderTaxRequest) GetAmount() int64
- func (o *OrderTaxRequest) GetAmountOk() (*int64, bool)
- func (o *OrderTaxRequest) GetDescription() string
- func (o *OrderTaxRequest) GetDescriptionOk() (*string, bool)
- func (o *OrderTaxRequest) GetMetadata() map[string]interface{}
- func (o *OrderTaxRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *OrderTaxRequest) HasMetadata() bool
- func (o OrderTaxRequest) MarshalJSON() ([]byte, error)
- func (o *OrderTaxRequest) SetAmount(v int64)
- func (o *OrderTaxRequest) SetDescription(v string)
- func (o *OrderTaxRequest) SetMetadata(v map[string]interface{})
- func (o OrderTaxRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderTaxRequest) UnmarshalJSON(data []byte) (err error)
- type OrderUpdateFiscalEntityRequest
- func (o *OrderUpdateFiscalEntityRequest) GetAddress() FiscalEntityAddress
- func (o *OrderUpdateFiscalEntityRequest) GetAddressOk() (*FiscalEntityAddress, bool)
- func (o *OrderUpdateFiscalEntityRequest) GetEmail() string
- func (o *OrderUpdateFiscalEntityRequest) GetEmailOk() (*string, bool)
- func (o *OrderUpdateFiscalEntityRequest) GetMetadata() map[string]interface{}
- func (o *OrderUpdateFiscalEntityRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *OrderUpdateFiscalEntityRequest) GetName() string
- func (o *OrderUpdateFiscalEntityRequest) GetNameOk() (*string, bool)
- func (o *OrderUpdateFiscalEntityRequest) GetPhone() string
- func (o *OrderUpdateFiscalEntityRequest) GetPhoneOk() (*string, bool)
- func (o *OrderUpdateFiscalEntityRequest) GetTaxId() string
- func (o *OrderUpdateFiscalEntityRequest) GetTaxIdOk() (*string, bool)
- func (o *OrderUpdateFiscalEntityRequest) HasEmail() bool
- func (o *OrderUpdateFiscalEntityRequest) HasMetadata() bool
- func (o *OrderUpdateFiscalEntityRequest) HasName() bool
- func (o *OrderUpdateFiscalEntityRequest) HasPhone() bool
- func (o *OrderUpdateFiscalEntityRequest) HasTaxId() bool
- func (o OrderUpdateFiscalEntityRequest) MarshalJSON() ([]byte, error)
- func (o *OrderUpdateFiscalEntityRequest) SetAddress(v FiscalEntityAddress)
- func (o *OrderUpdateFiscalEntityRequest) SetEmail(v string)
- func (o *OrderUpdateFiscalEntityRequest) SetMetadata(v map[string]interface{})
- func (o *OrderUpdateFiscalEntityRequest) SetName(v string)
- func (o *OrderUpdateFiscalEntityRequest) SetNameNil()
- func (o *OrderUpdateFiscalEntityRequest) SetPhone(v string)
- func (o *OrderUpdateFiscalEntityRequest) SetTaxId(v string)
- func (o *OrderUpdateFiscalEntityRequest) SetTaxIdNil()
- func (o OrderUpdateFiscalEntityRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderUpdateFiscalEntityRequest) UnmarshalJSON(data []byte) (err error)
- func (o *OrderUpdateFiscalEntityRequest) UnsetName()
- func (o *OrderUpdateFiscalEntityRequest) UnsetTaxId()
- type OrderUpdateRequest
- func (o *OrderUpdateRequest) GetCharges() []ChargeRequest
- func (o *OrderUpdateRequest) GetChargesOk() ([]ChargeRequest, bool)
- func (o *OrderUpdateRequest) GetCheckout() CheckoutRequest
- func (o *OrderUpdateRequest) GetCheckoutOk() (*CheckoutRequest, bool)
- func (o *OrderUpdateRequest) GetCurrency() string
- func (o *OrderUpdateRequest) GetCurrencyOk() (*string, bool)
- func (o *OrderUpdateRequest) GetCustomerInfo() OrderUpdateRequestCustomerInfo
- func (o *OrderUpdateRequest) GetCustomerInfoOk() (*OrderUpdateRequestCustomerInfo, bool)
- func (o *OrderUpdateRequest) GetDiscountLines() []OrderDiscountLinesRequest
- func (o *OrderUpdateRequest) GetDiscountLinesOk() ([]OrderDiscountLinesRequest, bool)
- func (o *OrderUpdateRequest) GetFiscalEntity() OrderUpdateFiscalEntityRequest
- func (o *OrderUpdateRequest) GetFiscalEntityOk() (*OrderUpdateFiscalEntityRequest, bool)
- func (o *OrderUpdateRequest) GetLineItems() []Product
- func (o *OrderUpdateRequest) GetLineItemsOk() ([]Product, bool)
- func (o *OrderUpdateRequest) GetMetadata() map[string]string
- func (o *OrderUpdateRequest) GetMetadataOk() (*map[string]string, bool)
- func (o *OrderUpdateRequest) GetPreAuthorize() bool
- func (o *OrderUpdateRequest) GetPreAuthorizeOk() (*bool, bool)
- func (o *OrderUpdateRequest) GetShippingContact() CustomerShippingContacts
- func (o *OrderUpdateRequest) GetShippingContactOk() (*CustomerShippingContacts, bool)
- func (o *OrderUpdateRequest) GetShippingLines() []ShippingRequest
- func (o *OrderUpdateRequest) GetShippingLinesOk() ([]ShippingRequest, bool)
- func (o *OrderUpdateRequest) GetTaxLines() []OrderTaxRequest
- func (o *OrderUpdateRequest) GetTaxLinesOk() ([]OrderTaxRequest, bool)
- func (o *OrderUpdateRequest) HasCharges() bool
- func (o *OrderUpdateRequest) HasCheckout() bool
- func (o *OrderUpdateRequest) HasCurrency() bool
- func (o *OrderUpdateRequest) HasCustomerInfo() bool
- func (o *OrderUpdateRequest) HasDiscountLines() bool
- func (o *OrderUpdateRequest) HasFiscalEntity() bool
- func (o *OrderUpdateRequest) HasLineItems() bool
- func (o *OrderUpdateRequest) HasMetadata() bool
- func (o *OrderUpdateRequest) HasPreAuthorize() bool
- func (o *OrderUpdateRequest) HasShippingContact() bool
- func (o *OrderUpdateRequest) HasShippingLines() bool
- func (o *OrderUpdateRequest) HasTaxLines() bool
- func (o OrderUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *OrderUpdateRequest) SetCharges(v []ChargeRequest)
- func (o *OrderUpdateRequest) SetCheckout(v CheckoutRequest)
- func (o *OrderUpdateRequest) SetCurrency(v string)
- func (o *OrderUpdateRequest) SetCustomerInfo(v OrderUpdateRequestCustomerInfo)
- func (o *OrderUpdateRequest) SetDiscountLines(v []OrderDiscountLinesRequest)
- func (o *OrderUpdateRequest) SetFiscalEntity(v OrderUpdateFiscalEntityRequest)
- func (o *OrderUpdateRequest) SetLineItems(v []Product)
- func (o *OrderUpdateRequest) SetMetadata(v map[string]string)
- func (o *OrderUpdateRequest) SetPreAuthorize(v bool)
- func (o *OrderUpdateRequest) SetShippingContact(v CustomerShippingContacts)
- func (o *OrderUpdateRequest) SetShippingLines(v []ShippingRequest)
- func (o *OrderUpdateRequest) SetTaxLines(v []OrderTaxRequest)
- func (o OrderUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type OrderUpdateRequestCustomerInfo
- type OrdersAPI
- type OrdersAPIService
- func (a *OrdersAPIService) CancelOrder(ctx context.Context, id string) ApiCancelOrderRequest
- func (a *OrdersAPIService) CancelOrderExecute(r ApiCancelOrderRequest) (*OrderResponse, *http.Response, error)
- func (a *OrdersAPIService) CreateOrder(ctx context.Context) ApiCreateOrderRequest
- func (a *OrdersAPIService) CreateOrderExecute(r ApiCreateOrderRequest) (*OrderResponse, *http.Response, error)
- func (a *OrdersAPIService) GetOrderById(ctx context.Context, id string) ApiGetOrderByIdRequest
- func (a *OrdersAPIService) GetOrderByIdExecute(r ApiGetOrderByIdRequest) (*OrderResponse, *http.Response, error)
- func (a *OrdersAPIService) GetOrders(ctx context.Context) ApiGetOrdersRequest
- func (a *OrdersAPIService) GetOrdersExecute(r ApiGetOrdersRequest) (*GetOrdersResponse, *http.Response, error)
- func (a *OrdersAPIService) OrderCancelRefund(ctx context.Context, id string, refundId string) ApiOrderCancelRefundRequest
- func (a *OrdersAPIService) OrderCancelRefundExecute(r ApiOrderCancelRefundRequest) (*OrderResponse, *http.Response, error)
- func (a *OrdersAPIService) OrderRefund(ctx context.Context, id string) ApiOrderRefundRequest
- func (a *OrdersAPIService) OrderRefundExecute(r ApiOrderRefundRequest) (*OrderResponse, *http.Response, error)
- func (a *OrdersAPIService) OrdersCreateCapture(ctx context.Context, id string) ApiOrdersCreateCaptureRequest
- func (a *OrdersAPIService) OrdersCreateCaptureExecute(r ApiOrdersCreateCaptureRequest) (*OrderResponse, *http.Response, error)
- func (a *OrdersAPIService) UpdateOrder(ctx context.Context, id string) ApiUpdateOrderRequest
- func (a *OrdersAPIService) UpdateOrderExecute(r ApiUpdateOrderRequest) (*OrderResponse, *http.Response, error)
- type OrdersResponse
- func (o *OrdersResponse) GetData() []OrderResponse
- func (o *OrdersResponse) GetDataOk() ([]OrderResponse, bool)
- func (o OrdersResponse) MarshalJSON() ([]byte, error)
- func (o *OrdersResponse) SetData(v []OrderResponse)
- func (o OrdersResponse) ToMap() (map[string]interface{}, error)
- func (o *OrdersResponse) UnmarshalJSON(data []byte) (err error)
- type Page
- func (o *Page) GetNextPageUrl() string
- func (o *Page) GetNextPageUrlOk() (*string, bool)
- func (o *Page) GetPreviousPageUrl() string
- func (o *Page) GetPreviousPageUrlOk() (*string, bool)
- func (o *Page) HasNextPageUrl() bool
- func (o *Page) HasPreviousPageUrl() bool
- func (o Page) MarshalJSON() ([]byte, error)
- func (o *Page) SetNextPageUrl(v string)
- func (o *Page) SetNextPageUrlNil()
- func (o *Page) SetPreviousPageUrl(v string)
- func (o *Page) SetPreviousPageUrlNil()
- func (o Page) ToMap() (map[string]interface{}, error)
- func (o *Page) UnmarshalJSON(data []byte) (err error)
- func (o *Page) UnsetNextPageUrl()
- func (o *Page) UnsetPreviousPageUrl()
- type Pagination
- func (o *Pagination) GetHasMore() bool
- func (o *Pagination) GetHasMoreOk() (*bool, bool)
- func (o *Pagination) GetObject() string
- func (o *Pagination) GetObjectOk() (*string, bool)
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetHasMore(v bool)
- func (o *Pagination) SetObject(v string)
- func (o Pagination) ToMap() (map[string]interface{}, error)
- func (o *Pagination) UnmarshalJSON(data []byte) (err error)
- type PaymentLinkAPI
- type PaymentLinkAPIService
- func (a *PaymentLinkAPIService) CancelCheckout(ctx context.Context, id string) ApiCancelCheckoutRequest
- func (a *PaymentLinkAPIService) CancelCheckoutExecute(r ApiCancelCheckoutRequest) (*CheckoutResponse, *http.Response, error)
- func (a *PaymentLinkAPIService) CreateCheckout(ctx context.Context) ApiCreateCheckoutRequest
- func (a *PaymentLinkAPIService) CreateCheckoutExecute(r ApiCreateCheckoutRequest) (*CheckoutResponse, *http.Response, error)
- func (a *PaymentLinkAPIService) EmailCheckout(ctx context.Context, id string) ApiEmailCheckoutRequest
- func (a *PaymentLinkAPIService) EmailCheckoutExecute(r ApiEmailCheckoutRequest) (*CheckoutResponse, *http.Response, error)
- func (a *PaymentLinkAPIService) GetCheckout(ctx context.Context, id string) ApiGetCheckoutRequest
- func (a *PaymentLinkAPIService) GetCheckoutExecute(r ApiGetCheckoutRequest) (*CheckoutResponse, *http.Response, error)
- func (a *PaymentLinkAPIService) GetCheckouts(ctx context.Context) ApiGetCheckoutsRequest
- func (a *PaymentLinkAPIService) GetCheckoutsExecute(r ApiGetCheckoutsRequest) (*CheckoutsResponse, *http.Response, error)
- func (a *PaymentLinkAPIService) SmsCheckout(ctx context.Context, id string) ApiSmsCheckoutRequest
- func (a *PaymentLinkAPIService) SmsCheckoutExecute(r ApiSmsCheckoutRequest) (*CheckoutResponse, *http.Response, error)
- type PaymentMethod
- func (o *PaymentMethod) GetObject() string
- func (o *PaymentMethod) GetObjectOk() (*string, bool)
- func (o *PaymentMethod) GetType() string
- func (o *PaymentMethod) GetTypeOk() (*string, bool)
- func (o *PaymentMethod) HasType() bool
- func (o PaymentMethod) MarshalJSON() ([]byte, error)
- func (o *PaymentMethod) SetObject(v string)
- func (o *PaymentMethod) SetType(v string)
- func (o PaymentMethod) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethod) UnmarshalJSON(data []byte) (err error)
- type PaymentMethodCash
- func (o *PaymentMethodCash) GetAuthCode() int32
- func (o *PaymentMethodCash) GetAuthCodeOk() (*int32, bool)
- func (o *PaymentMethodCash) GetBarcodeUrl() string
- func (o *PaymentMethodCash) GetBarcodeUrlOk() (*string, bool)
- func (o *PaymentMethodCash) GetCashierId() string
- func (o *PaymentMethodCash) GetCashierIdOk() (*string, bool)
- func (o *PaymentMethodCash) GetExpiresAt() int64
- func (o *PaymentMethodCash) GetExpiresAtOk() (*int64, bool)
- func (o *PaymentMethodCash) GetObject() string
- func (o *PaymentMethodCash) GetObjectOk() (*string, bool)
- func (o *PaymentMethodCash) GetReference() string
- func (o *PaymentMethodCash) GetReferenceOk() (*string, bool)
- func (o *PaymentMethodCash) GetServiceName() string
- func (o *PaymentMethodCash) GetServiceNameOk() (*string, bool)
- func (o *PaymentMethodCash) GetStore() string
- func (o *PaymentMethodCash) GetStoreName() string
- func (o *PaymentMethodCash) GetStoreNameOk() (*string, bool)
- func (o *PaymentMethodCash) GetStoreOk() (*string, bool)
- func (o *PaymentMethodCash) GetType() string
- func (o *PaymentMethodCash) GetTypeOk() (*string, bool)
- func (o *PaymentMethodCash) HasAuthCode() bool
- func (o *PaymentMethodCash) HasBarcodeUrl() bool
- func (o *PaymentMethodCash) HasCashierId() bool
- func (o *PaymentMethodCash) HasExpiresAt() bool
- func (o *PaymentMethodCash) HasReference() bool
- func (o *PaymentMethodCash) HasServiceName() bool
- func (o *PaymentMethodCash) HasStore() bool
- func (o *PaymentMethodCash) HasStoreName() bool
- func (o *PaymentMethodCash) HasType() bool
- func (o PaymentMethodCash) MarshalJSON() ([]byte, error)
- func (o *PaymentMethodCash) SetAuthCode(v int32)
- func (o *PaymentMethodCash) SetAuthCodeNil()
- func (o *PaymentMethodCash) SetBarcodeUrl(v string)
- func (o *PaymentMethodCash) SetCashierId(v string)
- func (o *PaymentMethodCash) SetCashierIdNil()
- func (o *PaymentMethodCash) SetExpiresAt(v int64)
- func (o *PaymentMethodCash) SetObject(v string)
- func (o *PaymentMethodCash) SetReference(v string)
- func (o *PaymentMethodCash) SetServiceName(v string)
- func (o *PaymentMethodCash) SetStore(v string)
- func (o *PaymentMethodCash) SetStoreName(v string)
- func (o *PaymentMethodCash) SetStoreNil()
- func (o *PaymentMethodCash) SetType(v string)
- func (o PaymentMethodCash) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethodCash) UnmarshalJSON(data []byte) (err error)
- func (o *PaymentMethodCash) UnsetAuthCode()
- func (o *PaymentMethodCash) UnsetCashierId()
- func (o *PaymentMethodCash) UnsetStore()
- type PaymentMethodCashRequest
- func (o *PaymentMethodCashRequest) GetExpiresAt() int64
- func (o *PaymentMethodCashRequest) GetExpiresAtOk() (*int64, bool)
- func (o *PaymentMethodCashRequest) GetType() string
- func (o *PaymentMethodCashRequest) GetTypeOk() (*string, bool)
- func (o *PaymentMethodCashRequest) HasExpiresAt() bool
- func (o PaymentMethodCashRequest) MarshalJSON() ([]byte, error)
- func (o *PaymentMethodCashRequest) SetExpiresAt(v int64)
- func (o *PaymentMethodCashRequest) SetType(v string)
- func (o PaymentMethodCashRequest) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethodCashRequest) UnmarshalJSON(data []byte) (err error)
- type PaymentMethodCashResponse
- func (o *PaymentMethodCashResponse) GetBarcode() string
- func (o *PaymentMethodCashResponse) GetBarcodeOk() (*string, bool)
- func (o *PaymentMethodCashResponse) GetBarcodeUrl() string
- func (o *PaymentMethodCashResponse) GetBarcodeUrlOk() (*string, bool)
- func (o *PaymentMethodCashResponse) GetCreatedAt() int64
- func (o *PaymentMethodCashResponse) GetCreatedAtOk() (*int64, bool)
- func (o *PaymentMethodCashResponse) GetExpiresAt() int64
- func (o *PaymentMethodCashResponse) GetExpiresAtOk() (*int64, bool)
- func (o *PaymentMethodCashResponse) GetId() string
- func (o *PaymentMethodCashResponse) GetIdOk() (*string, bool)
- func (o *PaymentMethodCashResponse) GetObject() string
- func (o *PaymentMethodCashResponse) GetObjectOk() (*string, bool)
- func (o *PaymentMethodCashResponse) GetParentId() string
- func (o *PaymentMethodCashResponse) GetParentIdOk() (*string, bool)
- func (o *PaymentMethodCashResponse) GetProvider() string
- func (o *PaymentMethodCashResponse) GetProviderOk() (*string, bool)
- func (o *PaymentMethodCashResponse) GetReference() string
- func (o *PaymentMethodCashResponse) GetReferenceOk() (*string, bool)
- func (o *PaymentMethodCashResponse) GetType() string
- func (o *PaymentMethodCashResponse) GetTypeOk() (*string, bool)
- func (o *PaymentMethodCashResponse) HasBarcode() bool
- func (o *PaymentMethodCashResponse) HasBarcodeUrl() bool
- func (o *PaymentMethodCashResponse) HasExpiresAt() bool
- func (o *PaymentMethodCashResponse) HasParentId() bool
- func (o *PaymentMethodCashResponse) HasProvider() bool
- func (o *PaymentMethodCashResponse) HasReference() bool
- func (o PaymentMethodCashResponse) MarshalJSON() ([]byte, error)
- func (o *PaymentMethodCashResponse) SetBarcode(v string)
- func (o *PaymentMethodCashResponse) SetBarcodeUrl(v string)
- func (o *PaymentMethodCashResponse) SetCreatedAt(v int64)
- func (o *PaymentMethodCashResponse) SetExpiresAt(v int64)
- func (o *PaymentMethodCashResponse) SetId(v string)
- func (o *PaymentMethodCashResponse) SetObject(v string)
- func (o *PaymentMethodCashResponse) SetParentId(v string)
- func (o *PaymentMethodCashResponse) SetProvider(v string)
- func (o *PaymentMethodCashResponse) SetReference(v string)
- func (o *PaymentMethodCashResponse) SetType(v string)
- func (o PaymentMethodCashResponse) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethodCashResponse) UnmarshalJSON(data []byte) (err error)
- type PaymentMethodResponse
- func (o *PaymentMethodResponse) GetCreatedAt() int64
- func (o *PaymentMethodResponse) GetCreatedAtOk() (*int64, bool)
- func (o *PaymentMethodResponse) GetId() string
- func (o *PaymentMethodResponse) GetIdOk() (*string, bool)
- func (o *PaymentMethodResponse) GetObject() string
- func (o *PaymentMethodResponse) GetObjectOk() (*string, bool)
- func (o *PaymentMethodResponse) GetParentId() string
- func (o *PaymentMethodResponse) GetParentIdOk() (*string, bool)
- func (o *PaymentMethodResponse) GetType() string
- func (o *PaymentMethodResponse) GetTypeOk() (*string, bool)
- func (o *PaymentMethodResponse) HasParentId() bool
- func (o PaymentMethodResponse) MarshalJSON() ([]byte, error)
- func (o *PaymentMethodResponse) SetCreatedAt(v int64)
- func (o *PaymentMethodResponse) SetId(v string)
- func (o *PaymentMethodResponse) SetObject(v string)
- func (o *PaymentMethodResponse) SetParentId(v string)
- func (o *PaymentMethodResponse) SetType(v string)
- func (o PaymentMethodResponse) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethodResponse) UnmarshalJSON(data []byte) (err error)
- type PaymentMethodsAPI
- type PaymentMethodsAPIService
- func (a *PaymentMethodsAPIService) CreateCustomerPaymentMethods(ctx context.Context, id string) ApiCreateCustomerPaymentMethodsRequest
- func (a *PaymentMethodsAPIService) CreateCustomerPaymentMethodsExecute(r ApiCreateCustomerPaymentMethodsRequest) (*CreateCustomerPaymentMethodsResponse, *http.Response, error)
- func (a *PaymentMethodsAPIService) DeleteCustomerPaymentMethods(ctx context.Context, id string, paymentMethodId string) ApiDeleteCustomerPaymentMethodsRequest
- func (a *PaymentMethodsAPIService) DeleteCustomerPaymentMethodsExecute(r ApiDeleteCustomerPaymentMethodsRequest) (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
- func (a *PaymentMethodsAPIService) GetCustomerPaymentMethods(ctx context.Context, id string) ApiGetCustomerPaymentMethodsRequest
- func (a *PaymentMethodsAPIService) GetCustomerPaymentMethodsExecute(r ApiGetCustomerPaymentMethodsRequest) (*GetPaymentMethodResponse, *http.Response, error)
- func (a *PaymentMethodsAPIService) UpdateCustomerPaymentMethods(ctx context.Context, id string, paymentMethodId string) ApiUpdateCustomerPaymentMethodsRequest
- func (a *PaymentMethodsAPIService) UpdateCustomerPaymentMethodsExecute(r ApiUpdateCustomerPaymentMethodsRequest) (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
- type Product
- func (o *Product) GetAntifraudInfo() map[string]interface{}
- func (o *Product) GetAntifraudInfoOk() (map[string]interface{}, bool)
- func (o *Product) GetBrand() string
- func (o *Product) GetBrandOk() (*string, bool)
- func (o *Product) GetDescription() string
- func (o *Product) GetDescriptionOk() (*string, bool)
- func (o *Product) GetMetadata() map[string]string
- func (o *Product) GetMetadataOk() (*map[string]string, bool)
- func (o *Product) GetName() string
- func (o *Product) GetNameOk() (*string, bool)
- func (o *Product) GetQuantity() int32
- func (o *Product) GetQuantityOk() (*int32, bool)
- func (o *Product) GetSku() string
- func (o *Product) GetSkuOk() (*string, bool)
- func (o *Product) GetTags() []string
- func (o *Product) GetTagsOk() ([]string, bool)
- func (o *Product) GetUnitPrice() int32
- func (o *Product) GetUnitPriceOk() (*int32, bool)
- func (o *Product) HasAntifraudInfo() bool
- func (o *Product) HasBrand() bool
- func (o *Product) HasDescription() bool
- func (o *Product) HasMetadata() bool
- func (o *Product) HasSku() bool
- func (o *Product) HasTags() bool
- func (o Product) MarshalJSON() ([]byte, error)
- func (o *Product) SetAntifraudInfo(v map[string]interface{})
- func (o *Product) SetBrand(v string)
- func (o *Product) SetDescription(v string)
- func (o *Product) SetMetadata(v map[string]string)
- func (o *Product) SetName(v string)
- func (o *Product) SetQuantity(v int32)
- func (o *Product) SetSku(v string)
- func (o *Product) SetTags(v []string)
- func (o *Product) SetUnitPrice(v int32)
- func (o Product) ToMap() (map[string]interface{}, error)
- func (o *Product) UnmarshalJSON(data []byte) (err error)
- type ProductDataResponse
- func (o *ProductDataResponse) GetAntifraudInfo() map[string]interface{}
- func (o *ProductDataResponse) GetAntifraudInfoOk() (map[string]interface{}, bool)
- func (o *ProductDataResponse) GetBrand() string
- func (o *ProductDataResponse) GetBrandOk() (*string, bool)
- func (o *ProductDataResponse) GetDescription() string
- func (o *ProductDataResponse) GetDescriptionOk() (*string, bool)
- func (o *ProductDataResponse) GetId() string
- func (o *ProductDataResponse) GetIdOk() (*string, bool)
- func (o *ProductDataResponse) GetMetadata() map[string]string
- func (o *ProductDataResponse) GetMetadataOk() (*map[string]string, bool)
- func (o *ProductDataResponse) GetName() string
- func (o *ProductDataResponse) GetNameOk() (*string, bool)
- func (o *ProductDataResponse) GetObject() string
- func (o *ProductDataResponse) GetObjectOk() (*string, bool)
- func (o *ProductDataResponse) GetParentId() string
- func (o *ProductDataResponse) GetParentIdOk() (*string, bool)
- func (o *ProductDataResponse) GetQuantity() int32
- func (o *ProductDataResponse) GetQuantityOk() (*int32, bool)
- func (o *ProductDataResponse) GetSku() string
- func (o *ProductDataResponse) GetSkuOk() (*string, bool)
- func (o *ProductDataResponse) GetTags() []string
- func (o *ProductDataResponse) GetTagsOk() ([]string, bool)
- func (o *ProductDataResponse) GetUnitPrice() int32
- func (o *ProductDataResponse) GetUnitPriceOk() (*int32, bool)
- func (o *ProductDataResponse) HasAntifraudInfo() bool
- func (o *ProductDataResponse) HasBrand() bool
- func (o *ProductDataResponse) HasDescription() bool
- func (o *ProductDataResponse) HasId() bool
- func (o *ProductDataResponse) HasMetadata() bool
- func (o *ProductDataResponse) HasObject() bool
- func (o *ProductDataResponse) HasParentId() bool
- func (o *ProductDataResponse) HasSku() bool
- func (o *ProductDataResponse) HasTags() bool
- func (o ProductDataResponse) MarshalJSON() ([]byte, error)
- func (o *ProductDataResponse) SetAntifraudInfo(v map[string]interface{})
- func (o *ProductDataResponse) SetBrand(v string)
- func (o *ProductDataResponse) SetDescription(v string)
- func (o *ProductDataResponse) SetId(v string)
- func (o *ProductDataResponse) SetMetadata(v map[string]string)
- func (o *ProductDataResponse) SetName(v string)
- func (o *ProductDataResponse) SetObject(v string)
- func (o *ProductDataResponse) SetParentId(v string)
- func (o *ProductDataResponse) SetQuantity(v int32)
- func (o *ProductDataResponse) SetSku(v string)
- func (o *ProductDataResponse) SetTags(v []string)
- func (o *ProductDataResponse) SetUnitPrice(v int32)
- func (o ProductDataResponse) ToMap() (map[string]interface{}, error)
- func (o *ProductDataResponse) UnmarshalJSON(data []byte) (err error)
- type ProductOrderResponse
- func (o *ProductOrderResponse) GetAntifraudInfo() map[string]interface{}
- func (o *ProductOrderResponse) GetAntifraudInfoOk() (map[string]interface{}, bool)
- func (o *ProductOrderResponse) GetBrand() string
- func (o *ProductOrderResponse) GetBrandOk() (*string, bool)
- func (o *ProductOrderResponse) GetDescription() string
- func (o *ProductOrderResponse) GetDescriptionOk() (*string, bool)
- func (o *ProductOrderResponse) GetId() string
- func (o *ProductOrderResponse) GetIdOk() (*string, bool)
- func (o *ProductOrderResponse) GetMetadata() map[string]string
- func (o *ProductOrderResponse) GetMetadataOk() (*map[string]string, bool)
- func (o *ProductOrderResponse) GetName() string
- func (o *ProductOrderResponse) GetNameOk() (*string, bool)
- func (o *ProductOrderResponse) GetObject() string
- func (o *ProductOrderResponse) GetObjectOk() (*string, bool)
- func (o *ProductOrderResponse) GetParentId() string
- func (o *ProductOrderResponse) GetParentIdOk() (*string, bool)
- func (o *ProductOrderResponse) GetQuantity() int32
- func (o *ProductOrderResponse) GetQuantityOk() (*int32, bool)
- func (o *ProductOrderResponse) GetSku() string
- func (o *ProductOrderResponse) GetSkuOk() (*string, bool)
- func (o *ProductOrderResponse) GetTags() []string
- func (o *ProductOrderResponse) GetTagsOk() ([]string, bool)
- func (o *ProductOrderResponse) GetUnitPrice() int32
- func (o *ProductOrderResponse) GetUnitPriceOk() (*int32, bool)
- func (o *ProductOrderResponse) HasAntifraudInfo() bool
- func (o *ProductOrderResponse) HasBrand() bool
- func (o *ProductOrderResponse) HasDescription() bool
- func (o *ProductOrderResponse) HasId() bool
- func (o *ProductOrderResponse) HasMetadata() bool
- func (o *ProductOrderResponse) HasObject() bool
- func (o *ProductOrderResponse) HasParentId() bool
- func (o *ProductOrderResponse) HasSku() bool
- func (o *ProductOrderResponse) HasTags() bool
- func (o ProductOrderResponse) MarshalJSON() ([]byte, error)
- func (o *ProductOrderResponse) SetAntifraudInfo(v map[string]interface{})
- func (o *ProductOrderResponse) SetBrand(v string)
- func (o *ProductOrderResponse) SetDescription(v string)
- func (o *ProductOrderResponse) SetId(v string)
- func (o *ProductOrderResponse) SetMetadata(v map[string]string)
- func (o *ProductOrderResponse) SetName(v string)
- func (o *ProductOrderResponse) SetObject(v string)
- func (o *ProductOrderResponse) SetParentId(v string)
- func (o *ProductOrderResponse) SetQuantity(v int32)
- func (o *ProductOrderResponse) SetSku(v string)
- func (o *ProductOrderResponse) SetTags(v []string)
- func (o *ProductOrderResponse) SetUnitPrice(v int32)
- func (o ProductOrderResponse) ToMap() (map[string]interface{}, error)
- func (o *ProductOrderResponse) UnmarshalJSON(data []byte) (err error)
- type ProductsAPI
- type ProductsAPIService
- func (a *ProductsAPIService) OrdersCreateProduct(ctx context.Context, id string) ApiOrdersCreateProductRequest
- func (a *ProductsAPIService) OrdersCreateProductExecute(r ApiOrdersCreateProductRequest) (*ProductOrderResponse, *http.Response, error)
- func (a *ProductsAPIService) OrdersDeleteProduct(ctx context.Context, id string, lineItemId string) ApiOrdersDeleteProductRequest
- func (a *ProductsAPIService) OrdersDeleteProductExecute(r ApiOrdersDeleteProductRequest) (*ProductOrderResponse, *http.Response, error)
- func (a *ProductsAPIService) OrdersUpdateProduct(ctx context.Context, id string, lineItemId string) ApiOrdersUpdateProductRequest
- func (a *ProductsAPIService) OrdersUpdateProductExecute(r ApiOrdersUpdateProductRequest) (*ProductOrderResponse, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ShippingContactsAPI
- type ShippingContactsAPIService
- func (a *ShippingContactsAPIService) CreateCustomerShippingContacts(ctx context.Context, id string) ApiCreateCustomerShippingContactsRequest
- func (a *ShippingContactsAPIService) CreateCustomerShippingContactsExecute(r ApiCreateCustomerShippingContactsRequest) (*CustomerShippingContactsResponse, *http.Response, error)
- func (a *ShippingContactsAPIService) DeleteCustomerShippingContacts(ctx context.Context, id string, shippingContactsId string) ApiDeleteCustomerShippingContactsRequest
- func (a *ShippingContactsAPIService) DeleteCustomerShippingContactsExecute(r ApiDeleteCustomerShippingContactsRequest) (*CustomerShippingContactsResponse, *http.Response, error)
- func (a *ShippingContactsAPIService) UpdateCustomerShippingContacts(ctx context.Context, id string, shippingContactsId string) ApiUpdateCustomerShippingContactsRequest
- func (a *ShippingContactsAPIService) UpdateCustomerShippingContactsExecute(r ApiUpdateCustomerShippingContactsRequest) (*CustomerShippingContactsResponse, *http.Response, error)
- type ShippingOrderResponse
- func (o *ShippingOrderResponse) GetAmount() int64
- func (o *ShippingOrderResponse) GetAmountOk() (*int64, bool)
- func (o *ShippingOrderResponse) GetCarrier() string
- func (o *ShippingOrderResponse) GetCarrierOk() (*string, bool)
- func (o *ShippingOrderResponse) GetId() string
- func (o *ShippingOrderResponse) GetIdOk() (*string, bool)
- func (o *ShippingOrderResponse) GetMetadata() map[string]interface{}
- func (o *ShippingOrderResponse) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ShippingOrderResponse) GetMethod() string
- func (o *ShippingOrderResponse) GetMethodOk() (*string, bool)
- func (o *ShippingOrderResponse) GetObject() string
- func (o *ShippingOrderResponse) GetObjectOk() (*string, bool)
- func (o *ShippingOrderResponse) GetParentId() string
- func (o *ShippingOrderResponse) GetParentIdOk() (*string, bool)
- func (o *ShippingOrderResponse) GetTrackingNumber() string
- func (o *ShippingOrderResponse) GetTrackingNumberOk() (*string, bool)
- func (o *ShippingOrderResponse) HasCarrier() bool
- func (o *ShippingOrderResponse) HasId() bool
- func (o *ShippingOrderResponse) HasMetadata() bool
- func (o *ShippingOrderResponse) HasMethod() bool
- func (o *ShippingOrderResponse) HasObject() bool
- func (o *ShippingOrderResponse) HasParentId() bool
- func (o *ShippingOrderResponse) HasTrackingNumber() bool
- func (o ShippingOrderResponse) MarshalJSON() ([]byte, error)
- func (o *ShippingOrderResponse) SetAmount(v int64)
- func (o *ShippingOrderResponse) SetCarrier(v string)
- func (o *ShippingOrderResponse) SetId(v string)
- func (o *ShippingOrderResponse) SetMetadata(v map[string]interface{})
- func (o *ShippingOrderResponse) SetMethod(v string)
- func (o *ShippingOrderResponse) SetObject(v string)
- func (o *ShippingOrderResponse) SetParentId(v string)
- func (o *ShippingOrderResponse) SetTrackingNumber(v string)
- func (o ShippingOrderResponse) ToMap() (map[string]interface{}, error)
- func (o *ShippingOrderResponse) UnmarshalJSON(data []byte) (err error)
- type ShippingRequest
- func (o *ShippingRequest) GetAmount() int64
- func (o *ShippingRequest) GetAmountOk() (*int64, bool)
- func (o *ShippingRequest) GetCarrier() string
- func (o *ShippingRequest) GetCarrierOk() (*string, bool)
- func (o *ShippingRequest) GetMetadata() map[string]interface{}
- func (o *ShippingRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ShippingRequest) GetMethod() string
- func (o *ShippingRequest) GetMethodOk() (*string, bool)
- func (o *ShippingRequest) GetTrackingNumber() string
- func (o *ShippingRequest) GetTrackingNumberOk() (*string, bool)
- func (o *ShippingRequest) HasCarrier() bool
- func (o *ShippingRequest) HasMetadata() bool
- func (o *ShippingRequest) HasMethod() bool
- func (o *ShippingRequest) HasTrackingNumber() bool
- func (o ShippingRequest) MarshalJSON() ([]byte, error)
- func (o *ShippingRequest) SetAmount(v int64)
- func (o *ShippingRequest) SetCarrier(v string)
- func (o *ShippingRequest) SetMetadata(v map[string]interface{})
- func (o *ShippingRequest) SetMethod(v string)
- func (o *ShippingRequest) SetTrackingNumber(v string)
- func (o ShippingRequest) ToMap() (map[string]interface{}, error)
- func (o *ShippingRequest) UnmarshalJSON(data []byte) (err error)
- type ShippingsAPI
- type ShippingsAPIService
- func (a *ShippingsAPIService) OrdersCreateShipping(ctx context.Context, id string) ApiOrdersCreateShippingRequest
- func (a *ShippingsAPIService) OrdersCreateShippingExecute(r ApiOrdersCreateShippingRequest) (*ShippingOrderResponse, *http.Response, error)
- func (a *ShippingsAPIService) OrdersDeleteShipping(ctx context.Context, id string, shippingId string) ApiOrdersDeleteShippingRequest
- func (a *ShippingsAPIService) OrdersDeleteShippingExecute(r ApiOrdersDeleteShippingRequest) (*ShippingOrderResponse, *http.Response, error)
- func (a *ShippingsAPIService) OrdersUpdateShipping(ctx context.Context, id string, shippingId string) ApiOrdersUpdateShippingRequest
- func (a *ShippingsAPIService) OrdersUpdateShippingExecute(r ApiOrdersUpdateShippingRequest) (*ShippingOrderResponse, *http.Response, error)
- type SmsCheckoutRequest
- func (o *SmsCheckoutRequest) GetPhonenumber() string
- func (o *SmsCheckoutRequest) GetPhonenumberOk() (*string, bool)
- func (o SmsCheckoutRequest) MarshalJSON() ([]byte, error)
- func (o *SmsCheckoutRequest) SetPhonenumber(v string)
- func (o SmsCheckoutRequest) ToMap() (map[string]interface{}, error)
- func (o *SmsCheckoutRequest) UnmarshalJSON(data []byte) (err error)
- type TaxesAPI
- type TaxesAPIService
- func (a *TaxesAPIService) OrdersCreateTaxes(ctx context.Context, id string) ApiOrdersCreateTaxesRequest
- func (a *TaxesAPIService) OrdersCreateTaxesExecute(r ApiOrdersCreateTaxesRequest) (*UpdateOrderTaxResponse, *http.Response, error)
- func (a *TaxesAPIService) OrdersDeleteTaxes(ctx context.Context, id string, taxId string) ApiOrdersDeleteTaxesRequest
- func (a *TaxesAPIService) OrdersDeleteTaxesExecute(r ApiOrdersDeleteTaxesRequest) (*UpdateOrderTaxResponse, *http.Response, error)
- func (a *TaxesAPIService) OrdersUpdateTaxes(ctx context.Context, id string, taxId string) ApiOrdersUpdateTaxesRequest
- func (a *TaxesAPIService) OrdersUpdateTaxesExecute(r ApiOrdersUpdateTaxesRequest) (*UpdateOrderTaxResponse, *http.Response, error)
- type TransactionResponse
- func (o *TransactionResponse) GetAmount() int64
- func (o *TransactionResponse) GetAmountOk() (*int64, bool)
- func (o *TransactionResponse) GetCharge() string
- func (o *TransactionResponse) GetChargeOk() (*string, bool)
- func (o *TransactionResponse) GetCreatedAt() int64
- func (o *TransactionResponse) GetCreatedAtOk() (*int64, bool)
- func (o *TransactionResponse) GetCurrency() string
- func (o *TransactionResponse) GetCurrencyOk() (*string, bool)
- func (o *TransactionResponse) GetFee() int64
- func (o *TransactionResponse) GetFeeOk() (*int64, bool)
- func (o *TransactionResponse) GetId() string
- func (o *TransactionResponse) GetIdOk() (*string, bool)
- func (o *TransactionResponse) GetLivemode() bool
- func (o *TransactionResponse) GetLivemodeOk() (*bool, bool)
- func (o *TransactionResponse) GetNet() int64
- func (o *TransactionResponse) GetNetOk() (*int64, bool)
- func (o *TransactionResponse) GetObject() string
- func (o *TransactionResponse) GetObjectOk() (*string, bool)
- func (o *TransactionResponse) GetStatus() string
- func (o *TransactionResponse) GetStatusOk() (*string, bool)
- func (o *TransactionResponse) GetType() string
- func (o *TransactionResponse) GetTypeOk() (*string, bool)
- func (o TransactionResponse) MarshalJSON() ([]byte, error)
- func (o *TransactionResponse) SetAmount(v int64)
- func (o *TransactionResponse) SetCharge(v string)
- func (o *TransactionResponse) SetCreatedAt(v int64)
- func (o *TransactionResponse) SetCurrency(v string)
- func (o *TransactionResponse) SetFee(v int64)
- func (o *TransactionResponse) SetId(v string)
- func (o *TransactionResponse) SetLivemode(v bool)
- func (o *TransactionResponse) SetNet(v int64)
- func (o *TransactionResponse) SetObject(v string)
- func (o *TransactionResponse) SetStatus(v string)
- func (o *TransactionResponse) SetType(v string)
- func (o TransactionResponse) ToMap() (map[string]interface{}, error)
- func (o *TransactionResponse) UnmarshalJSON(data []byte) (err error)
- type TransactionsAPI
- type TransactionsAPIService
- func (a *TransactionsAPIService) GetTransaction(ctx context.Context, id string) ApiGetTransactionRequest
- func (a *TransactionsAPIService) GetTransactionExecute(r ApiGetTransactionRequest) (*TransactionResponse, *http.Response, error)
- func (a *TransactionsAPIService) GetTransactions(ctx context.Context) ApiGetTransactionsRequest
- func (a *TransactionsAPIService) GetTransactionsExecute(r ApiGetTransactionsRequest) (*GetTransactionsResponse, *http.Response, error)
- type TransferDestinationResponse
- func (o *TransferDestinationResponse) GetAccountHolder() string
- func (o *TransferDestinationResponse) GetAccountHolderOk() (*string, bool)
- func (o *TransferDestinationResponse) GetAccountNumber() string
- func (o *TransferDestinationResponse) GetAccountNumberOk() (*string, bool)
- func (o *TransferDestinationResponse) GetBank() string
- func (o *TransferDestinationResponse) GetBankOk() (*string, bool)
- func (o *TransferDestinationResponse) GetCreatedAt() int64
- func (o *TransferDestinationResponse) GetCreatedAtOk() (*int64, bool)
- func (o *TransferDestinationResponse) GetId() string
- func (o *TransferDestinationResponse) GetIdOk() (*string, bool)
- func (o *TransferDestinationResponse) GetObject() string
- func (o *TransferDestinationResponse) GetObjectOk() (*string, bool)
- func (o *TransferDestinationResponse) GetPayeeId() string
- func (o *TransferDestinationResponse) GetPayeeIdOk() (*string, bool)
- func (o *TransferDestinationResponse) GetType() string
- func (o *TransferDestinationResponse) GetTypeOk() (*string, bool)
- func (o *TransferDestinationResponse) HasAccountHolder() bool
- func (o *TransferDestinationResponse) HasAccountNumber() bool
- func (o *TransferDestinationResponse) HasBank() bool
- func (o *TransferDestinationResponse) HasCreatedAt() bool
- func (o *TransferDestinationResponse) HasId() bool
- func (o *TransferDestinationResponse) HasObject() bool
- func (o *TransferDestinationResponse) HasPayeeId() bool
- func (o *TransferDestinationResponse) HasType() bool
- func (o TransferDestinationResponse) MarshalJSON() ([]byte, error)
- func (o *TransferDestinationResponse) SetAccountHolder(v string)
- func (o *TransferDestinationResponse) SetAccountNumber(v string)
- func (o *TransferDestinationResponse) SetBank(v string)
- func (o *TransferDestinationResponse) SetCreatedAt(v int64)
- func (o *TransferDestinationResponse) SetId(v string)
- func (o *TransferDestinationResponse) SetObject(v string)
- func (o *TransferDestinationResponse) SetPayeeId(v string)
- func (o *TransferDestinationResponse) SetType(v string)
- func (o TransferDestinationResponse) ToMap() (map[string]interface{}, error)
- func (o *TransferDestinationResponse) UnmarshalJSON(data []byte) (err error)
- type TransferMethodResponse
- func (o *TransferMethodResponse) GetAccountHolder() string
- func (o *TransferMethodResponse) GetAccountHolderOk() (*string, bool)
- func (o *TransferMethodResponse) GetAccountNumber() string
- func (o *TransferMethodResponse) GetAccountNumberOk() (*string, bool)
- func (o *TransferMethodResponse) GetBank() string
- func (o *TransferMethodResponse) GetBankOk() (*string, bool)
- func (o *TransferMethodResponse) GetCreatedAt() int64
- func (o *TransferMethodResponse) GetCreatedAtOk() (*int64, bool)
- func (o *TransferMethodResponse) GetId() string
- func (o *TransferMethodResponse) GetIdOk() (*string, bool)
- func (o *TransferMethodResponse) GetObject() string
- func (o *TransferMethodResponse) GetObjectOk() (*string, bool)
- func (o *TransferMethodResponse) GetPayeeId() string
- func (o *TransferMethodResponse) GetPayeeIdOk() (*string, bool)
- func (o *TransferMethodResponse) GetType() string
- func (o *TransferMethodResponse) GetTypeOk() (*string, bool)
- func (o *TransferMethodResponse) HasAccountHolder() bool
- func (o *TransferMethodResponse) HasAccountNumber() bool
- func (o *TransferMethodResponse) HasBank() bool
- func (o *TransferMethodResponse) HasCreatedAt() bool
- func (o *TransferMethodResponse) HasId() bool
- func (o *TransferMethodResponse) HasObject() bool
- func (o *TransferMethodResponse) HasPayeeId() bool
- func (o *TransferMethodResponse) HasType() bool
- func (o TransferMethodResponse) MarshalJSON() ([]byte, error)
- func (o *TransferMethodResponse) SetAccountHolder(v string)
- func (o *TransferMethodResponse) SetAccountNumber(v string)
- func (o *TransferMethodResponse) SetBank(v string)
- func (o *TransferMethodResponse) SetCreatedAt(v int64)
- func (o *TransferMethodResponse) SetId(v string)
- func (o *TransferMethodResponse) SetObject(v string)
- func (o *TransferMethodResponse) SetPayeeId(v string)
- func (o *TransferMethodResponse) SetType(v string)
- func (o TransferMethodResponse) ToMap() (map[string]interface{}, error)
- func (o *TransferMethodResponse) UnmarshalJSON(data []byte) (err error)
- type TransferResponse
- func (o *TransferResponse) GetAmount() int64
- func (o *TransferResponse) GetAmountOk() (*int64, bool)
- func (o *TransferResponse) GetCreatedAt() int64
- func (o *TransferResponse) GetCreatedAtOk() (*int64, bool)
- func (o *TransferResponse) GetCurrency() string
- func (o *TransferResponse) GetCurrencyOk() (*string, bool)
- func (o *TransferResponse) GetDestination() TransferDestinationResponse
- func (o *TransferResponse) GetDestinationOk() (*TransferDestinationResponse, bool)
- func (o *TransferResponse) GetId() string
- func (o *TransferResponse) GetIdOk() (*string, bool)
- func (o *TransferResponse) GetLivemode() bool
- func (o *TransferResponse) GetLivemodeOk() (*bool, bool)
- func (o *TransferResponse) GetObject() string
- func (o *TransferResponse) GetObjectOk() (*string, bool)
- func (o *TransferResponse) GetStatementDescription() string
- func (o *TransferResponse) GetStatementDescriptionOk() (*string, bool)
- func (o *TransferResponse) GetStatementReference() string
- func (o *TransferResponse) GetStatementReferenceOk() (*string, bool)
- func (o *TransferResponse) GetStatus() string
- func (o *TransferResponse) GetStatusOk() (*string, bool)
- func (o *TransferResponse) HasAmount() bool
- func (o *TransferResponse) HasCreatedAt() bool
- func (o *TransferResponse) HasCurrency() bool
- func (o *TransferResponse) HasDestination() bool
- func (o *TransferResponse) HasId() bool
- func (o *TransferResponse) HasLivemode() bool
- func (o *TransferResponse) HasObject() bool
- func (o *TransferResponse) HasStatementDescription() bool
- func (o *TransferResponse) HasStatementReference() bool
- func (o *TransferResponse) HasStatus() bool
- func (o TransferResponse) MarshalJSON() ([]byte, error)
- func (o *TransferResponse) SetAmount(v int64)
- func (o *TransferResponse) SetCreatedAt(v int64)
- func (o *TransferResponse) SetCurrency(v string)
- func (o *TransferResponse) SetDestination(v TransferDestinationResponse)
- func (o *TransferResponse) SetId(v string)
- func (o *TransferResponse) SetLivemode(v bool)
- func (o *TransferResponse) SetObject(v string)
- func (o *TransferResponse) SetStatementDescription(v string)
- func (o *TransferResponse) SetStatementReference(v string)
- func (o *TransferResponse) SetStatus(v string)
- func (o TransferResponse) ToMap() (map[string]interface{}, error)
- func (o *TransferResponse) UnmarshalJSON(data []byte) (err error)
- type TransfersAPI
- type TransfersAPIService
- func (a *TransfersAPIService) GetTransfer(ctx context.Context, id string) ApiGetTransferRequest
- func (a *TransfersAPIService) GetTransferExecute(r ApiGetTransferRequest) (*TransferResponse, *http.Response, error)
- func (a *TransfersAPIService) GetTransfers(ctx context.Context) ApiGetTransfersRequest
- func (a *TransfersAPIService) GetTransfersExecute(r ApiGetTransfersRequest) (*GetTransfersResponse, *http.Response, error)
- type TransfersResponse
- func (o *TransfersResponse) GetAmount() int64
- func (o *TransfersResponse) GetAmountOk() (*int64, bool)
- func (o *TransfersResponse) GetCreatedAt() int64
- func (o *TransfersResponse) GetCreatedAtOk() (*int64, bool)
- func (o *TransfersResponse) GetCurrency() string
- func (o *TransfersResponse) GetCurrencyOk() (*string, bool)
- func (o *TransfersResponse) GetId() string
- func (o *TransfersResponse) GetIdOk() (*string, bool)
- func (o *TransfersResponse) GetLivemode() bool
- func (o *TransfersResponse) GetLivemodeOk() (*bool, bool)
- func (o *TransfersResponse) GetMethod() TransferMethodResponse
- func (o *TransfersResponse) GetMethodOk() (*TransferMethodResponse, bool)
- func (o *TransfersResponse) GetObject() string
- func (o *TransfersResponse) GetObjectOk() (*string, bool)
- func (o *TransfersResponse) GetStatementDescription() string
- func (o *TransfersResponse) GetStatementDescriptionOk() (*string, bool)
- func (o *TransfersResponse) GetStatementReference() string
- func (o *TransfersResponse) GetStatementReferenceOk() (*string, bool)
- func (o *TransfersResponse) GetStatus() string
- func (o *TransfersResponse) GetStatusOk() (*string, bool)
- func (o *TransfersResponse) HasAmount() bool
- func (o *TransfersResponse) HasCreatedAt() bool
- func (o *TransfersResponse) HasCurrency() bool
- func (o *TransfersResponse) HasId() bool
- func (o *TransfersResponse) HasLivemode() bool
- func (o *TransfersResponse) HasMethod() bool
- func (o *TransfersResponse) HasObject() bool
- func (o *TransfersResponse) HasStatementDescription() bool
- func (o *TransfersResponse) HasStatementReference() bool
- func (o *TransfersResponse) HasStatus() bool
- func (o TransfersResponse) MarshalJSON() ([]byte, error)
- func (o *TransfersResponse) SetAmount(v int64)
- func (o *TransfersResponse) SetCreatedAt(v int64)
- func (o *TransfersResponse) SetCurrency(v string)
- func (o *TransfersResponse) SetId(v string)
- func (o *TransfersResponse) SetLivemode(v bool)
- func (o *TransfersResponse) SetMethod(v TransferMethodResponse)
- func (o *TransfersResponse) SetObject(v string)
- func (o *TransfersResponse) SetStatementDescription(v string)
- func (o *TransfersResponse) SetStatementReference(v string)
- func (o *TransfersResponse) SetStatus(v string)
- func (o TransfersResponse) ToMap() (map[string]interface{}, error)
- func (o *TransfersResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateCustomer
- func (o *UpdateCustomer) GetAntifraudInfo() UpdateCustomerAntifraudInfo
- func (o *UpdateCustomer) GetAntifraudInfoOk() (*UpdateCustomerAntifraudInfo, bool)
- func (o *UpdateCustomer) GetCorporate() bool
- func (o *UpdateCustomer) GetCorporateOk() (*bool, bool)
- func (o *UpdateCustomer) GetCustomReference() string
- func (o *UpdateCustomer) GetCustomReferenceOk() (*string, bool)
- func (o *UpdateCustomer) GetDefaultPaymentSourceId() string
- func (o *UpdateCustomer) GetDefaultPaymentSourceIdOk() (*string, bool)
- func (o *UpdateCustomer) GetDefaultShippingContactId() string
- func (o *UpdateCustomer) GetDefaultShippingContactIdOk() (*string, bool)
- func (o *UpdateCustomer) GetEmail() string
- func (o *UpdateCustomer) GetEmailOk() (*string, bool)
- func (o *UpdateCustomer) GetFiscalEntities() []CustomerFiscalEntitiesRequest
- func (o *UpdateCustomer) GetFiscalEntitiesOk() ([]CustomerFiscalEntitiesRequest, bool)
- func (o *UpdateCustomer) GetMetadata() map[string]interface{}
- func (o *UpdateCustomer) GetMetadataOk() (map[string]interface{}, bool)
- func (o *UpdateCustomer) GetName() string
- func (o *UpdateCustomer) GetNameOk() (*string, bool)
- func (o *UpdateCustomer) GetPaymentSources() []CustomerPaymentMethodsRequest
- func (o *UpdateCustomer) GetPaymentSourcesOk() ([]CustomerPaymentMethodsRequest, bool)
- func (o *UpdateCustomer) GetPhone() string
- func (o *UpdateCustomer) GetPhoneOk() (*string, bool)
- func (o *UpdateCustomer) GetShippingContacts() []CustomerShippingContacts
- func (o *UpdateCustomer) GetShippingContactsOk() ([]CustomerShippingContacts, bool)
- func (o *UpdateCustomer) HasAntifraudInfo() bool
- func (o *UpdateCustomer) HasCorporate() bool
- func (o *UpdateCustomer) HasCustomReference() bool
- func (o *UpdateCustomer) HasDefaultPaymentSourceId() bool
- func (o *UpdateCustomer) HasDefaultShippingContactId() bool
- func (o *UpdateCustomer) HasEmail() bool
- func (o *UpdateCustomer) HasFiscalEntities() bool
- func (o *UpdateCustomer) HasMetadata() bool
- func (o *UpdateCustomer) HasName() bool
- func (o *UpdateCustomer) HasPaymentSources() bool
- func (o *UpdateCustomer) HasPhone() bool
- func (o *UpdateCustomer) HasShippingContacts() bool
- func (o UpdateCustomer) MarshalJSON() ([]byte, error)
- func (o *UpdateCustomer) SetAntifraudInfo(v UpdateCustomerAntifraudInfo)
- func (o *UpdateCustomer) SetAntifraudInfoNil()
- func (o *UpdateCustomer) SetCorporate(v bool)
- func (o *UpdateCustomer) SetCustomReference(v string)
- func (o *UpdateCustomer) SetDefaultPaymentSourceId(v string)
- func (o *UpdateCustomer) SetDefaultShippingContactId(v string)
- func (o *UpdateCustomer) SetEmail(v string)
- func (o *UpdateCustomer) SetFiscalEntities(v []CustomerFiscalEntitiesRequest)
- func (o *UpdateCustomer) SetMetadata(v map[string]interface{})
- func (o *UpdateCustomer) SetName(v string)
- func (o *UpdateCustomer) SetPaymentSources(v []CustomerPaymentMethodsRequest)
- func (o *UpdateCustomer) SetPhone(v string)
- func (o *UpdateCustomer) SetShippingContacts(v []CustomerShippingContacts)
- func (o UpdateCustomer) ToMap() (map[string]interface{}, error)
- func (o *UpdateCustomer) UnmarshalJSON(data []byte) (err error)
- func (o *UpdateCustomer) UnsetAntifraudInfo()
- type UpdateCustomerAntifraudInfo
- func (o *UpdateCustomerAntifraudInfo) GetAccountCreatedAt() int64
- func (o *UpdateCustomerAntifraudInfo) GetAccountCreatedAtOk() (*int64, bool)
- func (o *UpdateCustomerAntifraudInfo) GetFirstPaidAt() int32
- func (o *UpdateCustomerAntifraudInfo) GetFirstPaidAtOk() (*int32, bool)
- func (o *UpdateCustomerAntifraudInfo) HasAccountCreatedAt() bool
- func (o *UpdateCustomerAntifraudInfo) HasFirstPaidAt() bool
- func (o UpdateCustomerAntifraudInfo) MarshalJSON() ([]byte, error)
- func (o *UpdateCustomerAntifraudInfo) SetAccountCreatedAt(v int64)
- func (o *UpdateCustomerAntifraudInfo) SetFirstPaidAt(v int32)
- func (o UpdateCustomerAntifraudInfo) ToMap() (map[string]interface{}, error)
- func (o *UpdateCustomerAntifraudInfo) UnmarshalJSON(data []byte) (err error)
- type UpdateCustomerFiscalEntitiesResponse
- func (o *UpdateCustomerFiscalEntitiesResponse) GetAddress() CustomerAddress
- func (o *UpdateCustomerFiscalEntitiesResponse) GetAddressOk() (*CustomerAddress, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetCompanyName() string
- func (o *UpdateCustomerFiscalEntitiesResponse) GetCompanyNameOk() (*string, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetCreatedAt() int64
- func (o *UpdateCustomerFiscalEntitiesResponse) GetCreatedAtOk() (*int64, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetDefault() bool
- func (o *UpdateCustomerFiscalEntitiesResponse) GetDefaultOk() (*bool, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetEmail() string
- func (o *UpdateCustomerFiscalEntitiesResponse) GetEmailOk() (*string, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetId() string
- func (o *UpdateCustomerFiscalEntitiesResponse) GetIdOk() (*string, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetMetadata() map[string]map[string]interface{}
- func (o *UpdateCustomerFiscalEntitiesResponse) GetMetadataOk() (map[string]map[string]interface{}, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetObject() string
- func (o *UpdateCustomerFiscalEntitiesResponse) GetObjectOk() (*string, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetParentId() string
- func (o *UpdateCustomerFiscalEntitiesResponse) GetParentIdOk() (*string, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetPhone() string
- func (o *UpdateCustomerFiscalEntitiesResponse) GetPhoneOk() (*string, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) GetTaxId() string
- func (o *UpdateCustomerFiscalEntitiesResponse) GetTaxIdOk() (*string, bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) HasCompanyName() bool
- func (o *UpdateCustomerFiscalEntitiesResponse) HasDefault() bool
- func (o *UpdateCustomerFiscalEntitiesResponse) HasEmail() bool
- func (o *UpdateCustomerFiscalEntitiesResponse) HasMetadata() bool
- func (o *UpdateCustomerFiscalEntitiesResponse) HasParentId() bool
- func (o *UpdateCustomerFiscalEntitiesResponse) HasPhone() bool
- func (o *UpdateCustomerFiscalEntitiesResponse) HasTaxId() bool
- func (o UpdateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetAddress(v CustomerAddress)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetCompanyName(v string)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetCreatedAt(v int64)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetDefault(v bool)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetEmail(v string)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetId(v string)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetMetadata(v map[string]map[string]interface{})
- func (o *UpdateCustomerFiscalEntitiesResponse) SetObject(v string)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetParentId(v string)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetPhone(v string)
- func (o *UpdateCustomerFiscalEntitiesResponse) SetTaxId(v string)
- func (o UpdateCustomerFiscalEntitiesResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateCustomerFiscalEntitiesResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateCustomerPaymentMethodsResponse
- type UpdateOrderDiscountLinesRequest
- func (o *UpdateOrderDiscountLinesRequest) GetAmount() int64
- func (o *UpdateOrderDiscountLinesRequest) GetAmountOk() (*int64, bool)
- func (o *UpdateOrderDiscountLinesRequest) GetCode() string
- func (o *UpdateOrderDiscountLinesRequest) GetCodeOk() (*string, bool)
- func (o *UpdateOrderDiscountLinesRequest) GetType() string
- func (o *UpdateOrderDiscountLinesRequest) GetTypeOk() (*string, bool)
- func (o *UpdateOrderDiscountLinesRequest) HasAmount() bool
- func (o *UpdateOrderDiscountLinesRequest) HasCode() bool
- func (o *UpdateOrderDiscountLinesRequest) HasType() bool
- func (o UpdateOrderDiscountLinesRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateOrderDiscountLinesRequest) SetAmount(v int64)
- func (o *UpdateOrderDiscountLinesRequest) SetCode(v string)
- func (o *UpdateOrderDiscountLinesRequest) SetType(v string)
- func (o UpdateOrderDiscountLinesRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateOrderDiscountLinesRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateOrderTaxRequest
- func (o *UpdateOrderTaxRequest) GetAmount() int64
- func (o *UpdateOrderTaxRequest) GetAmountOk() (*int64, bool)
- func (o *UpdateOrderTaxRequest) GetDescription() string
- func (o *UpdateOrderTaxRequest) GetDescriptionOk() (*string, bool)
- func (o *UpdateOrderTaxRequest) GetMetadata() map[string]map[string]interface{}
- func (o *UpdateOrderTaxRequest) GetMetadataOk() (map[string]map[string]interface{}, bool)
- func (o *UpdateOrderTaxRequest) HasAmount() bool
- func (o *UpdateOrderTaxRequest) HasDescription() bool
- func (o *UpdateOrderTaxRequest) HasMetadata() bool
- func (o UpdateOrderTaxRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateOrderTaxRequest) SetAmount(v int64)
- func (o *UpdateOrderTaxRequest) SetDescription(v string)
- func (o *UpdateOrderTaxRequest) SetMetadata(v map[string]map[string]interface{})
- func (o UpdateOrderTaxRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateOrderTaxRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateOrderTaxResponse
- func (o *UpdateOrderTaxResponse) GetAmount() int64
- func (o *UpdateOrderTaxResponse) GetAmountOk() (*int64, bool)
- func (o *UpdateOrderTaxResponse) GetDescription() string
- func (o *UpdateOrderTaxResponse) GetDescriptionOk() (*string, bool)
- func (o *UpdateOrderTaxResponse) GetId() string
- func (o *UpdateOrderTaxResponse) GetIdOk() (*string, bool)
- func (o *UpdateOrderTaxResponse) GetMetadata() map[string]interface{}
- func (o *UpdateOrderTaxResponse) GetMetadataOk() (map[string]interface{}, bool)
- func (o *UpdateOrderTaxResponse) GetObject() string
- func (o *UpdateOrderTaxResponse) GetObjectOk() (*string, bool)
- func (o *UpdateOrderTaxResponse) GetParentId() string
- func (o *UpdateOrderTaxResponse) GetParentIdOk() (*string, bool)
- func (o *UpdateOrderTaxResponse) HasMetadata() bool
- func (o *UpdateOrderTaxResponse) HasObject() bool
- func (o *UpdateOrderTaxResponse) HasParentId() bool
- func (o UpdateOrderTaxResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateOrderTaxResponse) SetAmount(v int64)
- func (o *UpdateOrderTaxResponse) SetDescription(v string)
- func (o *UpdateOrderTaxResponse) SetId(v string)
- func (o *UpdateOrderTaxResponse) SetMetadata(v map[string]interface{})
- func (o *UpdateOrderTaxResponse) SetObject(v string)
- func (o *UpdateOrderTaxResponse) SetParentId(v string)
- func (o UpdateOrderTaxResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateOrderTaxResponse) UnmarshalJSON(data []byte) (err error)
- type UpdatePaymentMethods
- func (o *UpdatePaymentMethods) GetName() string
- func (o *UpdatePaymentMethods) GetNameOk() (*string, bool)
- func (o *UpdatePaymentMethods) HasName() bool
- func (o UpdatePaymentMethods) MarshalJSON() ([]byte, error)
- func (o *UpdatePaymentMethods) SetName(v string)
- func (o UpdatePaymentMethods) ToMap() (map[string]interface{}, error)
- func (o *UpdatePaymentMethods) UnmarshalJSON(data []byte) (err error)
- type UpdateProduct
- func (o *UpdateProduct) GetAntifraudInfo() map[string]map[string]interface{}
- func (o *UpdateProduct) GetAntifraudInfoOk() (map[string]map[string]interface{}, bool)
- func (o *UpdateProduct) GetBrand() string
- func (o *UpdateProduct) GetBrandOk() (*string, bool)
- func (o *UpdateProduct) GetDescription() string
- func (o *UpdateProduct) GetDescriptionOk() (*string, bool)
- func (o *UpdateProduct) GetMetadata() map[string]string
- func (o *UpdateProduct) GetMetadataOk() (*map[string]string, bool)
- func (o *UpdateProduct) GetName() string
- func (o *UpdateProduct) GetNameOk() (*string, bool)
- func (o *UpdateProduct) GetQuantity() int32
- func (o *UpdateProduct) GetQuantityOk() (*int32, bool)
- func (o *UpdateProduct) GetSku() string
- func (o *UpdateProduct) GetSkuOk() (*string, bool)
- func (o *UpdateProduct) GetTags() []string
- func (o *UpdateProduct) GetTagsOk() ([]string, bool)
- func (o *UpdateProduct) GetUnitPrice() int64
- func (o *UpdateProduct) GetUnitPriceOk() (*int64, bool)
- func (o *UpdateProduct) HasAntifraudInfo() bool
- func (o *UpdateProduct) HasBrand() bool
- func (o *UpdateProduct) HasDescription() bool
- func (o *UpdateProduct) HasMetadata() bool
- func (o *UpdateProduct) HasName() bool
- func (o *UpdateProduct) HasQuantity() bool
- func (o *UpdateProduct) HasSku() bool
- func (o *UpdateProduct) HasTags() bool
- func (o *UpdateProduct) HasUnitPrice() bool
- func (o UpdateProduct) MarshalJSON() ([]byte, error)
- func (o *UpdateProduct) SetAntifraudInfo(v map[string]map[string]interface{})
- func (o *UpdateProduct) SetBrand(v string)
- func (o *UpdateProduct) SetDescription(v string)
- func (o *UpdateProduct) SetMetadata(v map[string]string)
- func (o *UpdateProduct) SetName(v string)
- func (o *UpdateProduct) SetQuantity(v int32)
- func (o *UpdateProduct) SetSku(v string)
- func (o *UpdateProduct) SetTags(v []string)
- func (o *UpdateProduct) SetUnitPrice(v int64)
- func (o UpdateProduct) ToMap() (map[string]interface{}, error)
- func (o *UpdateProduct) UnmarshalJSON(data []byte) (err error)
- type WebhookKeyCreateResponse
- func (o *WebhookKeyCreateResponse) GetActive() bool
- func (o *WebhookKeyCreateResponse) GetActiveOk() (*bool, bool)
- func (o *WebhookKeyCreateResponse) GetCreatedAt() int64
- func (o *WebhookKeyCreateResponse) GetCreatedAtOk() (*int64, bool)
- func (o *WebhookKeyCreateResponse) GetId() string
- func (o *WebhookKeyCreateResponse) GetIdOk() (*string, bool)
- func (o *WebhookKeyCreateResponse) GetLivemode() bool
- func (o *WebhookKeyCreateResponse) GetLivemodeOk() (*bool, bool)
- func (o *WebhookKeyCreateResponse) GetObject() string
- func (o *WebhookKeyCreateResponse) GetObjectOk() (*string, bool)
- func (o *WebhookKeyCreateResponse) GetPublicKey() string
- func (o *WebhookKeyCreateResponse) GetPublicKeyOk() (*string, bool)
- func (o *WebhookKeyCreateResponse) HasActive() bool
- func (o *WebhookKeyCreateResponse) HasCreatedAt() bool
- func (o *WebhookKeyCreateResponse) HasId() bool
- func (o *WebhookKeyCreateResponse) HasLivemode() bool
- func (o *WebhookKeyCreateResponse) HasObject() bool
- func (o *WebhookKeyCreateResponse) HasPublicKey() bool
- func (o WebhookKeyCreateResponse) MarshalJSON() ([]byte, error)
- func (o *WebhookKeyCreateResponse) SetActive(v bool)
- func (o *WebhookKeyCreateResponse) SetCreatedAt(v int64)
- func (o *WebhookKeyCreateResponse) SetId(v string)
- func (o *WebhookKeyCreateResponse) SetLivemode(v bool)
- func (o *WebhookKeyCreateResponse) SetObject(v string)
- func (o *WebhookKeyCreateResponse) SetPublicKey(v string)
- func (o WebhookKeyCreateResponse) ToMap() (map[string]interface{}, error)
- func (o *WebhookKeyCreateResponse) UnmarshalJSON(data []byte) (err error)
- type WebhookKeyDeleteResponse
- func (o *WebhookKeyDeleteResponse) GetActive() bool
- func (o *WebhookKeyDeleteResponse) GetActiveOk() (*bool, bool)
- func (o *WebhookKeyDeleteResponse) GetCreatedAt() int64
- func (o *WebhookKeyDeleteResponse) GetCreatedAtOk() (*int64, bool)
- func (o *WebhookKeyDeleteResponse) GetDeleted() bool
- func (o *WebhookKeyDeleteResponse) GetDeletedOk() (*bool, bool)
- func (o *WebhookKeyDeleteResponse) GetId() string
- func (o *WebhookKeyDeleteResponse) GetIdOk() (*string, bool)
- func (o *WebhookKeyDeleteResponse) GetLivemode() bool
- func (o *WebhookKeyDeleteResponse) GetLivemodeOk() (*bool, bool)
- func (o *WebhookKeyDeleteResponse) GetObject() string
- func (o *WebhookKeyDeleteResponse) GetObjectOk() (*string, bool)
- func (o *WebhookKeyDeleteResponse) HasActive() bool
- func (o *WebhookKeyDeleteResponse) HasCreatedAt() bool
- func (o *WebhookKeyDeleteResponse) HasDeleted() bool
- func (o *WebhookKeyDeleteResponse) HasId() bool
- func (o *WebhookKeyDeleteResponse) HasLivemode() bool
- func (o *WebhookKeyDeleteResponse) HasObject() bool
- func (o WebhookKeyDeleteResponse) MarshalJSON() ([]byte, error)
- func (o *WebhookKeyDeleteResponse) SetActive(v bool)
- func (o *WebhookKeyDeleteResponse) SetCreatedAt(v int64)
- func (o *WebhookKeyDeleteResponse) SetDeleted(v bool)
- func (o *WebhookKeyDeleteResponse) SetId(v string)
- func (o *WebhookKeyDeleteResponse) SetLivemode(v bool)
- func (o *WebhookKeyDeleteResponse) SetObject(v string)
- func (o WebhookKeyDeleteResponse) ToMap() (map[string]interface{}, error)
- func (o *WebhookKeyDeleteResponse) UnmarshalJSON(data []byte) (err error)
- type WebhookKeyRequest
- func (o *WebhookKeyRequest) GetActive() bool
- func (o *WebhookKeyRequest) GetActiveOk() (*bool, bool)
- func (o *WebhookKeyRequest) HasActive() bool
- func (o WebhookKeyRequest) MarshalJSON() ([]byte, error)
- func (o *WebhookKeyRequest) SetActive(v bool)
- func (o WebhookKeyRequest) ToMap() (map[string]interface{}, error)
- func (o *WebhookKeyRequest) UnmarshalJSON(data []byte) (err error)
- type WebhookKeyResponse
- func (o *WebhookKeyResponse) GetActive() bool
- func (o *WebhookKeyResponse) GetActiveOk() (*bool, bool)
- func (o *WebhookKeyResponse) GetCreatedAt() int64
- func (o *WebhookKeyResponse) GetCreatedAtOk() (*int64, bool)
- func (o *WebhookKeyResponse) GetDeactivatedAt() int64
- func (o *WebhookKeyResponse) GetDeactivatedAtOk() (*int64, bool)
- func (o *WebhookKeyResponse) GetId() string
- func (o *WebhookKeyResponse) GetIdOk() (*string, bool)
- func (o *WebhookKeyResponse) GetLivemode() bool
- func (o *WebhookKeyResponse) GetLivemodeOk() (*bool, bool)
- func (o *WebhookKeyResponse) GetObject() string
- func (o *WebhookKeyResponse) GetObjectOk() (*string, bool)
- func (o *WebhookKeyResponse) GetPublicKey() string
- func (o *WebhookKeyResponse) GetPublicKeyOk() (*string, bool)
- func (o *WebhookKeyResponse) HasActive() bool
- func (o *WebhookKeyResponse) HasCreatedAt() bool
- func (o *WebhookKeyResponse) HasDeactivatedAt() bool
- func (o *WebhookKeyResponse) HasId() bool
- func (o *WebhookKeyResponse) HasLivemode() bool
- func (o *WebhookKeyResponse) HasObject() bool
- func (o *WebhookKeyResponse) HasPublicKey() bool
- func (o WebhookKeyResponse) MarshalJSON() ([]byte, error)
- func (o *WebhookKeyResponse) SetActive(v bool)
- func (o *WebhookKeyResponse) SetCreatedAt(v int64)
- func (o *WebhookKeyResponse) SetDeactivatedAt(v int64)
- func (o *WebhookKeyResponse) SetDeactivatedAtNil()
- func (o *WebhookKeyResponse) SetId(v string)
- func (o *WebhookKeyResponse) SetLivemode(v bool)
- func (o *WebhookKeyResponse) SetObject(v string)
- func (o *WebhookKeyResponse) SetPublicKey(v string)
- func (o WebhookKeyResponse) ToMap() (map[string]interface{}, error)
- func (o *WebhookKeyResponse) UnmarshalJSON(data []byte) (err error)
- func (o *WebhookKeyResponse) UnsetDeactivatedAt()
- type WebhookKeyUpdateRequest
- func (o *WebhookKeyUpdateRequest) GetActive() bool
- func (o *WebhookKeyUpdateRequest) GetActiveOk() (*bool, bool)
- func (o *WebhookKeyUpdateRequest) HasActive() bool
- func (o WebhookKeyUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *WebhookKeyUpdateRequest) SetActive(v bool)
- func (o WebhookKeyUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *WebhookKeyUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type WebhookKeysAPI
- type WebhookKeysAPIService
- func (a *WebhookKeysAPIService) CreateWebhookKey(ctx context.Context) ApiCreateWebhookKeyRequest
- func (a *WebhookKeysAPIService) CreateWebhookKeyExecute(r ApiCreateWebhookKeyRequest) (*WebhookKeyCreateResponse, *http.Response, error)
- func (a *WebhookKeysAPIService) DeleteWebhookKey(ctx context.Context, id string) ApiDeleteWebhookKeyRequest
- func (a *WebhookKeysAPIService) DeleteWebhookKeyExecute(r ApiDeleteWebhookKeyRequest) (*WebhookKeyDeleteResponse, *http.Response, error)
- func (a *WebhookKeysAPIService) GetWebhookKey(ctx context.Context, id string) ApiGetWebhookKeyRequest
- func (a *WebhookKeysAPIService) GetWebhookKeyExecute(r ApiGetWebhookKeyRequest) (*WebhookKeyResponse, *http.Response, error)
- func (a *WebhookKeysAPIService) GetWebhookKeys(ctx context.Context) ApiGetWebhookKeysRequest
- func (a *WebhookKeysAPIService) GetWebhookKeysExecute(r ApiGetWebhookKeysRequest) (*GetWebhookKeysResponse, *http.Response, error)
- func (a *WebhookKeysAPIService) UpdateWebhookKey(ctx context.Context, id string) ApiUpdateWebhookKeyRequest
- func (a *WebhookKeysAPIService) UpdateWebhookKeyExecute(r ApiUpdateWebhookKeyRequest) (*WebhookKeyResponse, *http.Response, error)
- type WebhookLog
- func (o *WebhookLog) GetFailedAttempts() int32
- func (o *WebhookLog) GetFailedAttemptsOk() (*int32, bool)
- func (o *WebhookLog) GetId() string
- func (o *WebhookLog) GetIdOk() (*string, bool)
- func (o *WebhookLog) GetLastAttemptedAt() int32
- func (o *WebhookLog) GetLastAttemptedAtOk() (*int32, bool)
- func (o *WebhookLog) GetLastHttpResponseStatus() int32
- func (o *WebhookLog) GetLastHttpResponseStatusOk() (*int32, bool)
- func (o *WebhookLog) GetObject() string
- func (o *WebhookLog) GetObjectOk() (*string, bool)
- func (o *WebhookLog) GetResponseData() map[string]interface{}
- func (o *WebhookLog) GetResponseDataOk() (map[string]interface{}, bool)
- func (o *WebhookLog) GetUrl() string
- func (o *WebhookLog) GetUrlOk() (*string, bool)
- func (o *WebhookLog) HasFailedAttempts() bool
- func (o *WebhookLog) HasId() bool
- func (o *WebhookLog) HasLastAttemptedAt() bool
- func (o *WebhookLog) HasLastHttpResponseStatus() bool
- func (o *WebhookLog) HasObject() bool
- func (o *WebhookLog) HasResponseData() bool
- func (o *WebhookLog) HasUrl() bool
- func (o WebhookLog) MarshalJSON() ([]byte, error)
- func (o *WebhookLog) SetFailedAttempts(v int32)
- func (o *WebhookLog) SetId(v string)
- func (o *WebhookLog) SetLastAttemptedAt(v int32)
- func (o *WebhookLog) SetLastHttpResponseStatus(v int32)
- func (o *WebhookLog) SetObject(v string)
- func (o *WebhookLog) SetResponseData(v map[string]interface{})
- func (o *WebhookLog) SetUrl(v string)
- func (o WebhookLog) ToMap() (map[string]interface{}, error)
- func (o *WebhookLog) UnmarshalJSON(data []byte) (err error)
- type WebhookRequest
- func (o *WebhookRequest) GetSynchronous() bool
- func (o *WebhookRequest) GetSynchronousOk() (*bool, bool)
- func (o *WebhookRequest) GetUrl() string
- func (o *WebhookRequest) GetUrlOk() (*string, bool)
- func (o WebhookRequest) MarshalJSON() ([]byte, error)
- func (o *WebhookRequest) SetSynchronous(v bool)
- func (o *WebhookRequest) SetUrl(v string)
- func (o WebhookRequest) ToMap() (map[string]interface{}, error)
- func (o *WebhookRequest) UnmarshalJSON(data []byte) (err error)
- type WebhookResponse
- func (o *WebhookResponse) GetDeleted() bool
- func (o *WebhookResponse) GetDeletedOk() (*bool, bool)
- func (o *WebhookResponse) GetDevelopmentEnabled() bool
- func (o *WebhookResponse) GetDevelopmentEnabledOk() (*bool, bool)
- func (o *WebhookResponse) GetId() string
- func (o *WebhookResponse) GetIdOk() (*string, bool)
- func (o *WebhookResponse) GetLivemode() bool
- func (o *WebhookResponse) GetLivemodeOk() (*bool, bool)
- func (o *WebhookResponse) GetObject() string
- func (o *WebhookResponse) GetObjectOk() (*string, bool)
- func (o *WebhookResponse) GetProductionEnabled() bool
- func (o *WebhookResponse) GetProductionEnabledOk() (*bool, bool)
- func (o *WebhookResponse) GetStatus() string
- func (o *WebhookResponse) GetStatusOk() (*string, bool)
- func (o *WebhookResponse) GetSubscribedEvents() []string
- func (o *WebhookResponse) GetSubscribedEventsOk() ([]string, bool)
- func (o *WebhookResponse) GetSynchronous() bool
- func (o *WebhookResponse) GetSynchronousOk() (*bool, bool)
- func (o *WebhookResponse) GetUrl() string
- func (o *WebhookResponse) GetUrlOk() (*string, bool)
- func (o *WebhookResponse) HasDeleted() bool
- func (o *WebhookResponse) HasDevelopmentEnabled() bool
- func (o *WebhookResponse) HasId() bool
- func (o *WebhookResponse) HasLivemode() bool
- func (o *WebhookResponse) HasObject() bool
- func (o *WebhookResponse) HasProductionEnabled() bool
- func (o *WebhookResponse) HasStatus() bool
- func (o *WebhookResponse) HasSubscribedEvents() bool
- func (o *WebhookResponse) HasSynchronous() bool
- func (o *WebhookResponse) HasUrl() bool
- func (o WebhookResponse) MarshalJSON() ([]byte, error)
- func (o *WebhookResponse) SetDeleted(v bool)
- func (o *WebhookResponse) SetDeletedNil()
- func (o *WebhookResponse) SetDevelopmentEnabled(v bool)
- func (o *WebhookResponse) SetId(v string)
- func (o *WebhookResponse) SetLivemode(v bool)
- func (o *WebhookResponse) SetObject(v string)
- func (o *WebhookResponse) SetProductionEnabled(v bool)
- func (o *WebhookResponse) SetStatus(v string)
- func (o *WebhookResponse) SetSubscribedEvents(v []string)
- func (o *WebhookResponse) SetSynchronous(v bool)
- func (o *WebhookResponse) SetUrl(v string)
- func (o WebhookResponse) ToMap() (map[string]interface{}, error)
- func (o *WebhookResponse) UnmarshalJSON(data []byte) (err error)
- func (o *WebhookResponse) UnsetDeleted()
- type WebhookUpdateRequest
- func (o *WebhookUpdateRequest) GetEvents() []string
- func (o *WebhookUpdateRequest) GetEventsOk() ([]string, bool)
- func (o *WebhookUpdateRequest) GetSynchronous() bool
- func (o *WebhookUpdateRequest) GetSynchronousOk() (*bool, bool)
- func (o *WebhookUpdateRequest) GetUrl() string
- func (o *WebhookUpdateRequest) GetUrlOk() (*string, bool)
- func (o *WebhookUpdateRequest) HasEvents() bool
- func (o *WebhookUpdateRequest) HasSynchronous() bool
- func (o WebhookUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *WebhookUpdateRequest) SetEvents(v []string)
- func (o *WebhookUpdateRequest) SetSynchronous(v bool)
- func (o *WebhookUpdateRequest) SetUrl(v string)
- func (o WebhookUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *WebhookUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type WebhooksAPI
- type WebhooksAPIService
- func (a *WebhooksAPIService) CreateWebhook(ctx context.Context) ApiCreateWebhookRequest
- func (a *WebhooksAPIService) CreateWebhookExecute(r ApiCreateWebhookRequest) (*WebhookResponse, *http.Response, error)
- func (a *WebhooksAPIService) DeleteWebhook(ctx context.Context, id string) ApiDeleteWebhookRequest
- func (a *WebhooksAPIService) DeleteWebhookExecute(r ApiDeleteWebhookRequest) (*WebhookResponse, *http.Response, error)
- func (a *WebhooksAPIService) GetWebhook(ctx context.Context, id string) ApiGetWebhookRequest
- func (a *WebhooksAPIService) GetWebhookExecute(r ApiGetWebhookRequest) (*WebhookResponse, *http.Response, error)
- func (a *WebhooksAPIService) GetWebhooks(ctx context.Context) ApiGetWebhooksRequest
- func (a *WebhooksAPIService) GetWebhooksExecute(r ApiGetWebhooksRequest) (*GetWebhooksResponse, *http.Response, error)
- func (a *WebhooksAPIService) TestWebhook(ctx context.Context, id string) ApiTestWebhookRequest
- func (a *WebhooksAPIService) TestWebhookExecute(r ApiTestWebhookRequest) (*WebhookResponse, *http.Response, error)
- func (a *WebhooksAPIService) UpdateWebhook(ctx context.Context, id string) ApiUpdateWebhookRequest
- func (a *WebhooksAPIService) UpdateWebhookExecute(r ApiUpdateWebhookRequest) (*WebhookResponse, *http.Response, error)
Constants ¶
const ( // UnknownPlatform is the string returned as the system name if we couldn't get // one from `uname`. UnknownPlatform string = "unknown platform" )
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // 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 {
ApiKeysAPI ApiKeysAPI
BalancesAPI BalancesAPI
ChargesAPI ChargesAPI
CompaniesAPI CompaniesAPI
CustomersAPI CustomersAPI
DiscountsAPI DiscountsAPI
EventsAPI EventsAPI
LogsAPI LogsAPI
OrdersAPI OrdersAPI
PaymentLinkAPI PaymentLinkAPI
PaymentMethodsAPI PaymentMethodsAPI
ProductsAPI ProductsAPI
ShippingContactsAPI ShippingContactsAPI
ShippingsAPI ShippingsAPI
TaxesAPI TaxesAPI
TransactionsAPI TransactionsAPI
TransfersAPI TransfersAPI
WebhookKeysAPI WebhookKeysAPI
WebhooksAPI WebhooksAPI
// contains filtered or unexported fields
}
APIClient manages communication with the Femsa API API v2.1.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 ApiCancelCheckoutRequest ¶
type ApiCancelCheckoutRequest struct {
ApiService PaymentLinkAPI
// contains filtered or unexported fields
}
func (ApiCancelCheckoutRequest) AcceptLanguage ¶
func (r ApiCancelCheckoutRequest) AcceptLanguage(acceptLanguage string) ApiCancelCheckoutRequest
Use for knowing which language to use
func (ApiCancelCheckoutRequest) Execute ¶
func (r ApiCancelCheckoutRequest) Execute() (*CheckoutResponse, *http.Response, error)
func (ApiCancelCheckoutRequest) XChildCompanyId ¶
func (r ApiCancelCheckoutRequest) XChildCompanyId(xChildCompanyId string) ApiCancelCheckoutRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiCancelOrderRequest ¶
type ApiCancelOrderRequest struct {
ApiService OrdersAPI
// contains filtered or unexported fields
}
func (ApiCancelOrderRequest) AcceptLanguage ¶
func (r ApiCancelOrderRequest) AcceptLanguage(acceptLanguage string) ApiCancelOrderRequest
Use for knowing which language to use
func (ApiCancelOrderRequest) Execute ¶
func (r ApiCancelOrderRequest) Execute() (*OrderResponse, *http.Response, error)
func (ApiCancelOrderRequest) XChildCompanyId ¶
func (r ApiCancelOrderRequest) XChildCompanyId(xChildCompanyId string) ApiCancelOrderRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiCreateApiKeyRequest ¶
type ApiCreateApiKeyRequest struct {
ApiService ApiKeysAPI
// contains filtered or unexported fields
}
func (ApiCreateApiKeyRequest) AcceptLanguage ¶
func (r ApiCreateApiKeyRequest) AcceptLanguage(acceptLanguage string) ApiCreateApiKeyRequest
Use for knowing which language to use
func (ApiCreateApiKeyRequest) ApiKeyRequest ¶
func (r ApiCreateApiKeyRequest) ApiKeyRequest(apiKeyRequest ApiKeyRequest) ApiCreateApiKeyRequest
requested field for a api keys
func (ApiCreateApiKeyRequest) Execute ¶
func (r ApiCreateApiKeyRequest) Execute() (*ApiKeyCreateResponse, *http.Response, error)
func (ApiCreateApiKeyRequest) XChildCompanyId ¶
func (r ApiCreateApiKeyRequest) XChildCompanyId(xChildCompanyId string) ApiCreateApiKeyRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiCreateCheckoutRequest ¶
type ApiCreateCheckoutRequest struct {
ApiService PaymentLinkAPI
// contains filtered or unexported fields
}
func (ApiCreateCheckoutRequest) AcceptLanguage ¶
func (r ApiCreateCheckoutRequest) AcceptLanguage(acceptLanguage string) ApiCreateCheckoutRequest
Use for knowing which language to use
func (ApiCreateCheckoutRequest) Checkout ¶
func (r ApiCreateCheckoutRequest) Checkout(checkout Checkout) ApiCreateCheckoutRequest
requested field for checkout
func (ApiCreateCheckoutRequest) Execute ¶
func (r ApiCreateCheckoutRequest) Execute() (*CheckoutResponse, *http.Response, error)
func (ApiCreateCheckoutRequest) XChildCompanyId ¶
func (r ApiCreateCheckoutRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCheckoutRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiCreateCustomerFiscalEntitiesRequest ¶
type ApiCreateCustomerFiscalEntitiesRequest struct {
ApiService CustomersAPI
// contains filtered or unexported fields
}
func (ApiCreateCustomerFiscalEntitiesRequest) AcceptLanguage ¶
func (r ApiCreateCustomerFiscalEntitiesRequest) AcceptLanguage(acceptLanguage string) ApiCreateCustomerFiscalEntitiesRequest
Use for knowing which language to use
func (ApiCreateCustomerFiscalEntitiesRequest) CustomerFiscalEntitiesRequest ¶
func (r ApiCreateCustomerFiscalEntitiesRequest) CustomerFiscalEntitiesRequest(customerFiscalEntitiesRequest CustomerFiscalEntitiesRequest) ApiCreateCustomerFiscalEntitiesRequest
requested field for customer fiscal entities
func (ApiCreateCustomerFiscalEntitiesRequest) Execute ¶
func (r ApiCreateCustomerFiscalEntitiesRequest) Execute() (*CreateCustomerFiscalEntitiesResponse, *http.Response, error)
func (ApiCreateCustomerFiscalEntitiesRequest) XChildCompanyId ¶
func (r ApiCreateCustomerFiscalEntitiesRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCustomerFiscalEntitiesRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiCreateCustomerPaymentMethodsRequest ¶
type ApiCreateCustomerPaymentMethodsRequest struct {
ApiService PaymentMethodsAPI
// contains filtered or unexported fields
}
func (ApiCreateCustomerPaymentMethodsRequest) AcceptLanguage ¶
func (r ApiCreateCustomerPaymentMethodsRequest) AcceptLanguage(acceptLanguage string) ApiCreateCustomerPaymentMethodsRequest
Use for knowing which language to use
func (ApiCreateCustomerPaymentMethodsRequest) CreateCustomerPaymentMethodsRequest ¶
func (r ApiCreateCustomerPaymentMethodsRequest) CreateCustomerPaymentMethodsRequest(createCustomerPaymentMethodsRequest CreateCustomerPaymentMethodsRequest) ApiCreateCustomerPaymentMethodsRequest
requested field for customer payment methods
func (ApiCreateCustomerPaymentMethodsRequest) Execute ¶
func (r ApiCreateCustomerPaymentMethodsRequest) Execute() (*CreateCustomerPaymentMethodsResponse, *http.Response, error)
func (ApiCreateCustomerPaymentMethodsRequest) XChildCompanyId ¶
func (r ApiCreateCustomerPaymentMethodsRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCustomerPaymentMethodsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiCreateCustomerRequest ¶
type ApiCreateCustomerRequest struct {
ApiService CustomersAPI
// contains filtered or unexported fields
}
func (ApiCreateCustomerRequest) AcceptLanguage ¶
func (r ApiCreateCustomerRequest) AcceptLanguage(acceptLanguage string) ApiCreateCustomerRequest
Use for knowing which language to use
func (ApiCreateCustomerRequest) Customer ¶
func (r ApiCreateCustomerRequest) Customer(customer Customer) ApiCreateCustomerRequest
requested field for customer
func (ApiCreateCustomerRequest) Execute ¶
func (r ApiCreateCustomerRequest) Execute() (*CustomerResponse, *http.Response, error)
func (ApiCreateCustomerRequest) XChildCompanyId ¶
func (r ApiCreateCustomerRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCustomerRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiCreateCustomerShippingContactsRequest ¶
type ApiCreateCustomerShippingContactsRequest struct {
ApiService ShippingContactsAPI
// contains filtered or unexported fields
}
func (ApiCreateCustomerShippingContactsRequest) AcceptLanguage ¶
func (r ApiCreateCustomerShippingContactsRequest) AcceptLanguage(acceptLanguage string) ApiCreateCustomerShippingContactsRequest
Use for knowing which language to use
func (ApiCreateCustomerShippingContactsRequest) CustomerShippingContacts ¶
func (r ApiCreateCustomerShippingContactsRequest) CustomerShippingContacts(customerShippingContacts CustomerShippingContacts) ApiCreateCustomerShippingContactsRequest
requested field for customer shippings contacts
func (ApiCreateCustomerShippingContactsRequest) Execute ¶
func (r ApiCreateCustomerShippingContactsRequest) Execute() (*CustomerShippingContactsResponse, *http.Response, error)
func (ApiCreateCustomerShippingContactsRequest) XChildCompanyId ¶
func (r ApiCreateCustomerShippingContactsRequest) XChildCompanyId(xChildCompanyId string) ApiCreateCustomerShippingContactsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiCreateOrderRequest ¶
type ApiCreateOrderRequest struct {
ApiService OrdersAPI
// contains filtered or unexported fields
}
func (ApiCreateOrderRequest) AcceptLanguage ¶
func (r ApiCreateOrderRequest) AcceptLanguage(acceptLanguage string) ApiCreateOrderRequest
Use for knowing which language to use
func (ApiCreateOrderRequest) Execute ¶
func (r ApiCreateOrderRequest) Execute() (*OrderResponse, *http.Response, error)
func (ApiCreateOrderRequest) OrderRequest ¶
func (r ApiCreateOrderRequest) OrderRequest(orderRequest OrderRequest) ApiCreateOrderRequest
requested field for order
func (ApiCreateOrderRequest) XChildCompanyId ¶
func (r ApiCreateOrderRequest) XChildCompanyId(xChildCompanyId string) ApiCreateOrderRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiCreateWebhookKeyRequest ¶
type ApiCreateWebhookKeyRequest struct {
ApiService WebhookKeysAPI
// contains filtered or unexported fields
}
func (ApiCreateWebhookKeyRequest) AcceptLanguage ¶
func (r ApiCreateWebhookKeyRequest) AcceptLanguage(acceptLanguage string) ApiCreateWebhookKeyRequest
Use for knowing which language to use
func (ApiCreateWebhookKeyRequest) Execute ¶
func (r ApiCreateWebhookKeyRequest) Execute() (*WebhookKeyCreateResponse, *http.Response, error)
func (ApiCreateWebhookKeyRequest) WebhookKeyRequest ¶
func (r ApiCreateWebhookKeyRequest) WebhookKeyRequest(webhookKeyRequest WebhookKeyRequest) ApiCreateWebhookKeyRequest
type ApiCreateWebhookRequest ¶
type ApiCreateWebhookRequest struct {
ApiService WebhooksAPI
// contains filtered or unexported fields
}
func (ApiCreateWebhookRequest) AcceptLanguage ¶
func (r ApiCreateWebhookRequest) AcceptLanguage(acceptLanguage string) ApiCreateWebhookRequest
Use for knowing which language to use
func (ApiCreateWebhookRequest) Execute ¶
func (r ApiCreateWebhookRequest) Execute() (*WebhookResponse, *http.Response, error)
func (ApiCreateWebhookRequest) WebhookRequest ¶
func (r ApiCreateWebhookRequest) WebhookRequest(webhookRequest WebhookRequest) ApiCreateWebhookRequest
requested field for webhook
type ApiDeleteApiKeyRequest ¶
type ApiDeleteApiKeyRequest struct {
ApiService ApiKeysAPI
// contains filtered or unexported fields
}
func (ApiDeleteApiKeyRequest) AcceptLanguage ¶
func (r ApiDeleteApiKeyRequest) AcceptLanguage(acceptLanguage string) ApiDeleteApiKeyRequest
Use for knowing which language to use
func (ApiDeleteApiKeyRequest) Execute ¶
func (r ApiDeleteApiKeyRequest) Execute() (*DeleteApiKeysResponse, *http.Response, error)
type ApiDeleteCustomerByIdRequest ¶
type ApiDeleteCustomerByIdRequest struct {
ApiService CustomersAPI
// contains filtered or unexported fields
}
func (ApiDeleteCustomerByIdRequest) AcceptLanguage ¶
func (r ApiDeleteCustomerByIdRequest) AcceptLanguage(acceptLanguage string) ApiDeleteCustomerByIdRequest
Use for knowing which language to use
func (ApiDeleteCustomerByIdRequest) Execute ¶
func (r ApiDeleteCustomerByIdRequest) Execute() (*CustomerResponse, *http.Response, error)
func (ApiDeleteCustomerByIdRequest) XChildCompanyId ¶
func (r ApiDeleteCustomerByIdRequest) XChildCompanyId(xChildCompanyId string) ApiDeleteCustomerByIdRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiDeleteCustomerPaymentMethodsRequest ¶
type ApiDeleteCustomerPaymentMethodsRequest struct {
ApiService PaymentMethodsAPI
// contains filtered or unexported fields
}
func (ApiDeleteCustomerPaymentMethodsRequest) AcceptLanguage ¶
func (r ApiDeleteCustomerPaymentMethodsRequest) AcceptLanguage(acceptLanguage string) ApiDeleteCustomerPaymentMethodsRequest
Use for knowing which language to use
func (ApiDeleteCustomerPaymentMethodsRequest) Execute ¶
func (r ApiDeleteCustomerPaymentMethodsRequest) Execute() (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
func (ApiDeleteCustomerPaymentMethodsRequest) XChildCompanyId ¶
func (r ApiDeleteCustomerPaymentMethodsRequest) XChildCompanyId(xChildCompanyId string) ApiDeleteCustomerPaymentMethodsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiDeleteCustomerShippingContactsRequest ¶
type ApiDeleteCustomerShippingContactsRequest struct {
ApiService ShippingContactsAPI
// contains filtered or unexported fields
}
func (ApiDeleteCustomerShippingContactsRequest) AcceptLanguage ¶
func (r ApiDeleteCustomerShippingContactsRequest) AcceptLanguage(acceptLanguage string) ApiDeleteCustomerShippingContactsRequest
Use for knowing which language to use
func (ApiDeleteCustomerShippingContactsRequest) Execute ¶
func (r ApiDeleteCustomerShippingContactsRequest) Execute() (*CustomerShippingContactsResponse, *http.Response, error)
func (ApiDeleteCustomerShippingContactsRequest) XChildCompanyId ¶
func (r ApiDeleteCustomerShippingContactsRequest) XChildCompanyId(xChildCompanyId string) ApiDeleteCustomerShippingContactsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiDeleteWebhookKeyRequest ¶
type ApiDeleteWebhookKeyRequest struct {
ApiService WebhookKeysAPI
// contains filtered or unexported fields
}
func (ApiDeleteWebhookKeyRequest) AcceptLanguage ¶
func (r ApiDeleteWebhookKeyRequest) AcceptLanguage(acceptLanguage string) ApiDeleteWebhookKeyRequest
Use for knowing which language to use
func (ApiDeleteWebhookKeyRequest) Execute ¶
func (r ApiDeleteWebhookKeyRequest) Execute() (*WebhookKeyDeleteResponse, *http.Response, error)
type ApiDeleteWebhookRequest ¶
type ApiDeleteWebhookRequest struct {
ApiService WebhooksAPI
// contains filtered or unexported fields
}
func (ApiDeleteWebhookRequest) AcceptLanguage ¶
func (r ApiDeleteWebhookRequest) AcceptLanguage(acceptLanguage string) ApiDeleteWebhookRequest
Use for knowing which language to use
func (ApiDeleteWebhookRequest) Execute ¶
func (r ApiDeleteWebhookRequest) Execute() (*WebhookResponse, *http.Response, error)
type ApiEmailCheckoutRequest ¶
type ApiEmailCheckoutRequest struct {
ApiService PaymentLinkAPI
// contains filtered or unexported fields
}
func (ApiEmailCheckoutRequest) AcceptLanguage ¶
func (r ApiEmailCheckoutRequest) AcceptLanguage(acceptLanguage string) ApiEmailCheckoutRequest
Use for knowing which language to use
func (ApiEmailCheckoutRequest) EmailCheckoutRequest ¶
func (r ApiEmailCheckoutRequest) EmailCheckoutRequest(emailCheckoutRequest EmailCheckoutRequest) ApiEmailCheckoutRequest
requested field for sms checkout
func (ApiEmailCheckoutRequest) Execute ¶
func (r ApiEmailCheckoutRequest) Execute() (*CheckoutResponse, *http.Response, error)
func (ApiEmailCheckoutRequest) XChildCompanyId ¶
func (r ApiEmailCheckoutRequest) XChildCompanyId(xChildCompanyId string) ApiEmailCheckoutRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetApiKeyRequest ¶
type ApiGetApiKeyRequest struct {
ApiService ApiKeysAPI
// contains filtered or unexported fields
}
func (ApiGetApiKeyRequest) AcceptLanguage ¶
func (r ApiGetApiKeyRequest) AcceptLanguage(acceptLanguage string) ApiGetApiKeyRequest
Use for knowing which language to use
func (ApiGetApiKeyRequest) Execute ¶
func (r ApiGetApiKeyRequest) Execute() (*ApiKeyResponse, *http.Response, error)
func (ApiGetApiKeyRequest) XChildCompanyId ¶
func (r ApiGetApiKeyRequest) XChildCompanyId(xChildCompanyId string) ApiGetApiKeyRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetApiKeysRequest ¶
type ApiGetApiKeysRequest struct {
ApiService ApiKeysAPI
// contains filtered or unexported fields
}
func (ApiGetApiKeysRequest) AcceptLanguage ¶
func (r ApiGetApiKeysRequest) AcceptLanguage(acceptLanguage string) ApiGetApiKeysRequest
Use for knowing which language to use
func (ApiGetApiKeysRequest) Execute ¶
func (r ApiGetApiKeysRequest) Execute() (*GetApiKeysResponse, *http.Response, error)
func (ApiGetApiKeysRequest) Limit ¶
func (r ApiGetApiKeysRequest) Limit(limit int32) ApiGetApiKeysRequest
The numbers of items to return, the maximum value is 250
func (ApiGetApiKeysRequest) Next ¶
func (r ApiGetApiKeysRequest) Next(next string) ApiGetApiKeysRequest
next page
func (ApiGetApiKeysRequest) Previous ¶
func (r ApiGetApiKeysRequest) Previous(previous string) ApiGetApiKeysRequest
previous page
func (ApiGetApiKeysRequest) Search ¶
func (r ApiGetApiKeysRequest) Search(search string) ApiGetApiKeysRequest
General search, e.g. by id, description, prefix
func (ApiGetApiKeysRequest) XChildCompanyId ¶
func (r ApiGetApiKeysRequest) XChildCompanyId(xChildCompanyId string) ApiGetApiKeysRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetBalanceRequest ¶
type ApiGetBalanceRequest struct {
ApiService BalancesAPI
// contains filtered or unexported fields
}
func (ApiGetBalanceRequest) AcceptLanguage ¶
func (r ApiGetBalanceRequest) AcceptLanguage(acceptLanguage string) ApiGetBalanceRequest
Use for knowing which language to use
func (ApiGetBalanceRequest) Execute ¶
func (r ApiGetBalanceRequest) Execute() (*BalanceResponse, *http.Response, error)
type ApiGetChargesRequest ¶
type ApiGetChargesRequest struct {
ApiService ChargesAPI
// contains filtered or unexported fields
}
func (ApiGetChargesRequest) AcceptLanguage ¶
func (r ApiGetChargesRequest) AcceptLanguage(acceptLanguage string) ApiGetChargesRequest
Use for knowing which language to use
func (ApiGetChargesRequest) Execute ¶
func (r ApiGetChargesRequest) Execute() (*GetChargesResponse, *http.Response, error)
func (ApiGetChargesRequest) Limit ¶
func (r ApiGetChargesRequest) Limit(limit int32) ApiGetChargesRequest
The numbers of items to return, the maximum value is 250
func (ApiGetChargesRequest) Next ¶
func (r ApiGetChargesRequest) Next(next string) ApiGetChargesRequest
next page
func (ApiGetChargesRequest) Previous ¶
func (r ApiGetChargesRequest) Previous(previous string) ApiGetChargesRequest
previous page
func (ApiGetChargesRequest) Search ¶
func (r ApiGetChargesRequest) Search(search string) ApiGetChargesRequest
General order search, e.g. by mail, reference etc.
func (ApiGetChargesRequest) XChildCompanyId ¶
func (r ApiGetChargesRequest) XChildCompanyId(xChildCompanyId string) ApiGetChargesRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetCheckoutRequest ¶
type ApiGetCheckoutRequest struct {
ApiService PaymentLinkAPI
// contains filtered or unexported fields
}
func (ApiGetCheckoutRequest) AcceptLanguage ¶
func (r ApiGetCheckoutRequest) AcceptLanguage(acceptLanguage string) ApiGetCheckoutRequest
Use for knowing which language to use
func (ApiGetCheckoutRequest) Execute ¶
func (r ApiGetCheckoutRequest) Execute() (*CheckoutResponse, *http.Response, error)
func (ApiGetCheckoutRequest) XChildCompanyId ¶
func (r ApiGetCheckoutRequest) XChildCompanyId(xChildCompanyId string) ApiGetCheckoutRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetCheckoutsRequest ¶
type ApiGetCheckoutsRequest struct {
ApiService PaymentLinkAPI
// contains filtered or unexported fields
}
func (ApiGetCheckoutsRequest) AcceptLanguage ¶
func (r ApiGetCheckoutsRequest) AcceptLanguage(acceptLanguage string) ApiGetCheckoutsRequest
Use for knowing which language to use
func (ApiGetCheckoutsRequest) Execute ¶
func (r ApiGetCheckoutsRequest) Execute() (*CheckoutsResponse, *http.Response, error)
func (ApiGetCheckoutsRequest) Limit ¶
func (r ApiGetCheckoutsRequest) Limit(limit int32) ApiGetCheckoutsRequest
The numbers of items to return, the maximum value is 250
func (ApiGetCheckoutsRequest) Next ¶
func (r ApiGetCheckoutsRequest) Next(next string) ApiGetCheckoutsRequest
next page
func (ApiGetCheckoutsRequest) Previous ¶
func (r ApiGetCheckoutsRequest) Previous(previous string) ApiGetCheckoutsRequest
previous page
func (ApiGetCheckoutsRequest) Search ¶
func (r ApiGetCheckoutsRequest) Search(search string) ApiGetCheckoutsRequest
General order search, e.g. by mail, reference etc.
func (ApiGetCheckoutsRequest) XChildCompanyId ¶
func (r ApiGetCheckoutsRequest) XChildCompanyId(xChildCompanyId string) ApiGetCheckoutsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetCompaniesRequest ¶
type ApiGetCompaniesRequest struct {
ApiService CompaniesAPI
// contains filtered or unexported fields
}
func (ApiGetCompaniesRequest) AcceptLanguage ¶
func (r ApiGetCompaniesRequest) AcceptLanguage(acceptLanguage string) ApiGetCompaniesRequest
Use for knowing which language to use
func (ApiGetCompaniesRequest) Execute ¶
func (r ApiGetCompaniesRequest) Execute() (*GetCompaniesResponse, *http.Response, error)
func (ApiGetCompaniesRequest) Limit ¶
func (r ApiGetCompaniesRequest) Limit(limit int32) ApiGetCompaniesRequest
The numbers of items to return, the maximum value is 250
func (ApiGetCompaniesRequest) Next ¶
func (r ApiGetCompaniesRequest) Next(next string) ApiGetCompaniesRequest
next page
func (ApiGetCompaniesRequest) Previous ¶
func (r ApiGetCompaniesRequest) Previous(previous string) ApiGetCompaniesRequest
previous page
func (ApiGetCompaniesRequest) Search ¶
func (r ApiGetCompaniesRequest) Search(search string) ApiGetCompaniesRequest
General order search, e.g. by mail, reference etc.
type ApiGetCompanyRequest ¶
type ApiGetCompanyRequest struct {
ApiService CompaniesAPI
// contains filtered or unexported fields
}
func (ApiGetCompanyRequest) AcceptLanguage ¶
func (r ApiGetCompanyRequest) AcceptLanguage(acceptLanguage string) ApiGetCompanyRequest
Use for knowing which language to use
func (ApiGetCompanyRequest) Execute ¶
func (r ApiGetCompanyRequest) Execute() (*CompanyResponse, *http.Response, error)
type ApiGetCustomerByIdRequest ¶
type ApiGetCustomerByIdRequest struct {
ApiService CustomersAPI
// contains filtered or unexported fields
}
func (ApiGetCustomerByIdRequest) AcceptLanguage ¶
func (r ApiGetCustomerByIdRequest) AcceptLanguage(acceptLanguage string) ApiGetCustomerByIdRequest
Use for knowing which language to use
func (ApiGetCustomerByIdRequest) Execute ¶
func (r ApiGetCustomerByIdRequest) Execute() (*CustomerResponse, *http.Response, error)
func (ApiGetCustomerByIdRequest) XChildCompanyId ¶
func (r ApiGetCustomerByIdRequest) XChildCompanyId(xChildCompanyId string) ApiGetCustomerByIdRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetCustomerPaymentMethodsRequest ¶
type ApiGetCustomerPaymentMethodsRequest struct {
ApiService PaymentMethodsAPI
// contains filtered or unexported fields
}
func (ApiGetCustomerPaymentMethodsRequest) AcceptLanguage ¶
func (r ApiGetCustomerPaymentMethodsRequest) AcceptLanguage(acceptLanguage string) ApiGetCustomerPaymentMethodsRequest
Use for knowing which language to use
func (ApiGetCustomerPaymentMethodsRequest) Execute ¶
func (r ApiGetCustomerPaymentMethodsRequest) Execute() (*GetPaymentMethodResponse, *http.Response, error)
func (ApiGetCustomerPaymentMethodsRequest) Limit ¶
func (r ApiGetCustomerPaymentMethodsRequest) Limit(limit int32) ApiGetCustomerPaymentMethodsRequest
The numbers of items to return, the maximum value is 250
func (ApiGetCustomerPaymentMethodsRequest) Next ¶
func (r ApiGetCustomerPaymentMethodsRequest) Next(next string) ApiGetCustomerPaymentMethodsRequest
next page
func (ApiGetCustomerPaymentMethodsRequest) Previous ¶
func (r ApiGetCustomerPaymentMethodsRequest) Previous(previous string) ApiGetCustomerPaymentMethodsRequest
previous page
func (ApiGetCustomerPaymentMethodsRequest) Search ¶
func (r ApiGetCustomerPaymentMethodsRequest) Search(search string) ApiGetCustomerPaymentMethodsRequest
General order search, e.g. by mail, reference etc.
func (ApiGetCustomerPaymentMethodsRequest) XChildCompanyId ¶
func (r ApiGetCustomerPaymentMethodsRequest) XChildCompanyId(xChildCompanyId string) ApiGetCustomerPaymentMethodsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetCustomersRequest ¶
type ApiGetCustomersRequest struct {
ApiService CustomersAPI
// contains filtered or unexported fields
}
func (ApiGetCustomersRequest) AcceptLanguage ¶
func (r ApiGetCustomersRequest) AcceptLanguage(acceptLanguage string) ApiGetCustomersRequest
Use for knowing which language to use
func (ApiGetCustomersRequest) Execute ¶
func (r ApiGetCustomersRequest) Execute() (*CustomersResponse, *http.Response, error)
func (ApiGetCustomersRequest) Limit ¶
func (r ApiGetCustomersRequest) Limit(limit int32) ApiGetCustomersRequest
The numbers of items to return, the maximum value is 250
func (ApiGetCustomersRequest) Next ¶
func (r ApiGetCustomersRequest) Next(next string) ApiGetCustomersRequest
next page
func (ApiGetCustomersRequest) Previous ¶
func (r ApiGetCustomersRequest) Previous(previous string) ApiGetCustomersRequest
previous page
func (ApiGetCustomersRequest) Search ¶
func (r ApiGetCustomersRequest) Search(search string) ApiGetCustomersRequest
General order search, e.g. by mail, reference etc.
func (ApiGetCustomersRequest) XChildCompanyId ¶
func (r ApiGetCustomersRequest) XChildCompanyId(xChildCompanyId string) ApiGetCustomersRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetEventRequest ¶
type ApiGetEventRequest struct {
ApiService EventsAPI
// contains filtered or unexported fields
}
func (ApiGetEventRequest) AcceptLanguage ¶
func (r ApiGetEventRequest) AcceptLanguage(acceptLanguage string) ApiGetEventRequest
Use for knowing which language to use
func (ApiGetEventRequest) Execute ¶
func (r ApiGetEventRequest) Execute() (*EventResponse, *http.Response, error)
func (ApiGetEventRequest) XChildCompanyId ¶
func (r ApiGetEventRequest) XChildCompanyId(xChildCompanyId string) ApiGetEventRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetEventsRequest ¶
type ApiGetEventsRequest struct {
ApiService EventsAPI
// contains filtered or unexported fields
}
func (ApiGetEventsRequest) AcceptLanguage ¶
func (r ApiGetEventsRequest) AcceptLanguage(acceptLanguage string) ApiGetEventsRequest
Use for knowing which language to use
func (ApiGetEventsRequest) Execute ¶
func (r ApiGetEventsRequest) Execute() (*GetEventsResponse, *http.Response, error)
func (ApiGetEventsRequest) Limit ¶
func (r ApiGetEventsRequest) Limit(limit int32) ApiGetEventsRequest
The numbers of items to return, the maximum value is 250
func (ApiGetEventsRequest) Next ¶
func (r ApiGetEventsRequest) Next(next string) ApiGetEventsRequest
next page
func (ApiGetEventsRequest) Previous ¶
func (r ApiGetEventsRequest) Previous(previous string) ApiGetEventsRequest
previous page
func (ApiGetEventsRequest) Search ¶
func (r ApiGetEventsRequest) Search(search string) ApiGetEventsRequest
General order search, e.g. by mail, reference etc.
func (ApiGetEventsRequest) XChildCompanyId ¶
func (r ApiGetEventsRequest) XChildCompanyId(xChildCompanyId string) ApiGetEventsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetLogByIdRequest ¶
type ApiGetLogByIdRequest struct {
ApiService LogsAPI
// contains filtered or unexported fields
}
func (ApiGetLogByIdRequest) AcceptLanguage ¶
func (r ApiGetLogByIdRequest) AcceptLanguage(acceptLanguage string) ApiGetLogByIdRequest
Use for knowing which language to use
func (ApiGetLogByIdRequest) Execute ¶
func (r ApiGetLogByIdRequest) Execute() (*LogResponse, *http.Response, error)
func (ApiGetLogByIdRequest) XChildCompanyId ¶
func (r ApiGetLogByIdRequest) XChildCompanyId(xChildCompanyId string) ApiGetLogByIdRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetLogsRequest ¶
type ApiGetLogsRequest struct {
ApiService LogsAPI
// contains filtered or unexported fields
}
func (ApiGetLogsRequest) AcceptLanguage ¶
func (r ApiGetLogsRequest) AcceptLanguage(acceptLanguage string) ApiGetLogsRequest
Use for knowing which language to use
func (ApiGetLogsRequest) Execute ¶
func (r ApiGetLogsRequest) Execute() (*LogsResponse, *http.Response, error)
func (ApiGetLogsRequest) Limit ¶
func (r ApiGetLogsRequest) Limit(limit int32) ApiGetLogsRequest
The numbers of items to return, the maximum value is 250
func (ApiGetLogsRequest) Next ¶
func (r ApiGetLogsRequest) Next(next string) ApiGetLogsRequest
next page
func (ApiGetLogsRequest) Previous ¶
func (r ApiGetLogsRequest) Previous(previous string) ApiGetLogsRequest
previous page
func (ApiGetLogsRequest) Search ¶
func (r ApiGetLogsRequest) Search(search string) ApiGetLogsRequest
General order search, e.g. by mail, reference etc.
func (ApiGetLogsRequest) XChildCompanyId ¶
func (r ApiGetLogsRequest) XChildCompanyId(xChildCompanyId string) ApiGetLogsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetOrderByIdRequest ¶
type ApiGetOrderByIdRequest struct {
ApiService OrdersAPI
// contains filtered or unexported fields
}
func (ApiGetOrderByIdRequest) AcceptLanguage ¶
func (r ApiGetOrderByIdRequest) AcceptLanguage(acceptLanguage string) ApiGetOrderByIdRequest
Use for knowing which language to use
func (ApiGetOrderByIdRequest) Execute ¶
func (r ApiGetOrderByIdRequest) Execute() (*OrderResponse, *http.Response, error)
func (ApiGetOrderByIdRequest) XChildCompanyId ¶
func (r ApiGetOrderByIdRequest) XChildCompanyId(xChildCompanyId string) ApiGetOrderByIdRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetOrdersRequest ¶
type ApiGetOrdersRequest struct {
ApiService OrdersAPI
// contains filtered or unexported fields
}
func (ApiGetOrdersRequest) AcceptLanguage ¶
func (r ApiGetOrdersRequest) AcceptLanguage(acceptLanguage string) ApiGetOrdersRequest
Use for knowing which language to use
func (ApiGetOrdersRequest) Execute ¶
func (r ApiGetOrdersRequest) Execute() (*GetOrdersResponse, *http.Response, error)
func (ApiGetOrdersRequest) Limit ¶
func (r ApiGetOrdersRequest) Limit(limit int32) ApiGetOrdersRequest
The numbers of items to return, the maximum value is 250
func (ApiGetOrdersRequest) Next ¶
func (r ApiGetOrdersRequest) Next(next string) ApiGetOrdersRequest
next page
func (ApiGetOrdersRequest) Previous ¶
func (r ApiGetOrdersRequest) Previous(previous string) ApiGetOrdersRequest
previous page
func (ApiGetOrdersRequest) Search ¶
func (r ApiGetOrdersRequest) Search(search string) ApiGetOrdersRequest
General order search, e.g. by mail, reference etc.
func (ApiGetOrdersRequest) XChildCompanyId ¶
func (r ApiGetOrdersRequest) XChildCompanyId(xChildCompanyId string) ApiGetOrdersRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetTransactionRequest ¶
type ApiGetTransactionRequest struct {
ApiService TransactionsAPI
// contains filtered or unexported fields
}
func (ApiGetTransactionRequest) AcceptLanguage ¶
func (r ApiGetTransactionRequest) AcceptLanguage(acceptLanguage string) ApiGetTransactionRequest
Use for knowing which language to use
func (ApiGetTransactionRequest) Execute ¶
func (r ApiGetTransactionRequest) Execute() (*TransactionResponse, *http.Response, error)
func (ApiGetTransactionRequest) XChildCompanyId ¶
func (r ApiGetTransactionRequest) XChildCompanyId(xChildCompanyId string) ApiGetTransactionRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetTransactionsRequest ¶
type ApiGetTransactionsRequest struct {
ApiService TransactionsAPI
// contains filtered or unexported fields
}
func (ApiGetTransactionsRequest) AcceptLanguage ¶
func (r ApiGetTransactionsRequest) AcceptLanguage(acceptLanguage string) ApiGetTransactionsRequest
Use for knowing which language to use
func (ApiGetTransactionsRequest) ChargeId ¶
func (r ApiGetTransactionsRequest) ChargeId(chargeId string) ApiGetTransactionsRequest
id of the charge used for filtering
func (ApiGetTransactionsRequest) Currency ¶
func (r ApiGetTransactionsRequest) Currency(currency string) ApiGetTransactionsRequest
currency of the object to be retrieved
func (ApiGetTransactionsRequest) Execute ¶
func (r ApiGetTransactionsRequest) Execute() (*GetTransactionsResponse, *http.Response, error)
func (ApiGetTransactionsRequest) Id ¶
func (r ApiGetTransactionsRequest) Id(id string) ApiGetTransactionsRequest
id of the object to be retrieved
func (ApiGetTransactionsRequest) Limit ¶
func (r ApiGetTransactionsRequest) Limit(limit int32) ApiGetTransactionsRequest
The numbers of items to return, the maximum value is 250
func (ApiGetTransactionsRequest) Next ¶
func (r ApiGetTransactionsRequest) Next(next string) ApiGetTransactionsRequest
next page
func (ApiGetTransactionsRequest) Previous ¶
func (r ApiGetTransactionsRequest) Previous(previous string) ApiGetTransactionsRequest
previous page
func (ApiGetTransactionsRequest) Type_ ¶
func (r ApiGetTransactionsRequest) Type_(type_ string) ApiGetTransactionsRequest
type of the object to be retrieved
func (ApiGetTransactionsRequest) XChildCompanyId ¶
func (r ApiGetTransactionsRequest) XChildCompanyId(xChildCompanyId string) ApiGetTransactionsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetTransferRequest ¶
type ApiGetTransferRequest struct {
ApiService TransfersAPI
// contains filtered or unexported fields
}
func (ApiGetTransferRequest) AcceptLanguage ¶
func (r ApiGetTransferRequest) AcceptLanguage(acceptLanguage string) ApiGetTransferRequest
Use for knowing which language to use
func (ApiGetTransferRequest) Execute ¶
func (r ApiGetTransferRequest) Execute() (*TransferResponse, *http.Response, error)
func (ApiGetTransferRequest) XChildCompanyId ¶
func (r ApiGetTransferRequest) XChildCompanyId(xChildCompanyId string) ApiGetTransferRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetTransfersRequest ¶
type ApiGetTransfersRequest struct {
ApiService TransfersAPI
// contains filtered or unexported fields
}
func (ApiGetTransfersRequest) AcceptLanguage ¶
func (r ApiGetTransfersRequest) AcceptLanguage(acceptLanguage string) ApiGetTransfersRequest
Use for knowing which language to use
func (ApiGetTransfersRequest) Execute ¶
func (r ApiGetTransfersRequest) Execute() (*GetTransfersResponse, *http.Response, error)
func (ApiGetTransfersRequest) Limit ¶
func (r ApiGetTransfersRequest) Limit(limit int32) ApiGetTransfersRequest
The numbers of items to return, the maximum value is 250
func (ApiGetTransfersRequest) Next ¶
func (r ApiGetTransfersRequest) Next(next string) ApiGetTransfersRequest
next page
func (ApiGetTransfersRequest) Previous ¶
func (r ApiGetTransfersRequest) Previous(previous string) ApiGetTransfersRequest
previous page
func (ApiGetTransfersRequest) Search ¶
func (r ApiGetTransfersRequest) Search(search string) ApiGetTransfersRequest
General order search, e.g. by mail, reference etc.
func (ApiGetTransfersRequest) XChildCompanyId ¶
func (r ApiGetTransfersRequest) XChildCompanyId(xChildCompanyId string) ApiGetTransfersRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetWebhookKeyRequest ¶
type ApiGetWebhookKeyRequest struct {
ApiService WebhookKeysAPI
// contains filtered or unexported fields
}
func (ApiGetWebhookKeyRequest) AcceptLanguage ¶
func (r ApiGetWebhookKeyRequest) AcceptLanguage(acceptLanguage string) ApiGetWebhookKeyRequest
Use for knowing which language to use
func (ApiGetWebhookKeyRequest) Execute ¶
func (r ApiGetWebhookKeyRequest) Execute() (*WebhookKeyResponse, *http.Response, error)
func (ApiGetWebhookKeyRequest) XChildCompanyId ¶
func (r ApiGetWebhookKeyRequest) XChildCompanyId(xChildCompanyId string) ApiGetWebhookKeyRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetWebhookKeysRequest ¶
type ApiGetWebhookKeysRequest struct {
ApiService WebhookKeysAPI
// contains filtered or unexported fields
}
func (ApiGetWebhookKeysRequest) AcceptLanguage ¶
func (r ApiGetWebhookKeysRequest) AcceptLanguage(acceptLanguage string) ApiGetWebhookKeysRequest
Use for knowing which language to use
func (ApiGetWebhookKeysRequest) Execute ¶
func (r ApiGetWebhookKeysRequest) Execute() (*GetWebhookKeysResponse, *http.Response, error)
func (ApiGetWebhookKeysRequest) Limit ¶
func (r ApiGetWebhookKeysRequest) Limit(limit int32) ApiGetWebhookKeysRequest
The numbers of items to return, the maximum value is 250
func (ApiGetWebhookKeysRequest) Next ¶
func (r ApiGetWebhookKeysRequest) Next(next string) ApiGetWebhookKeysRequest
next page
func (ApiGetWebhookKeysRequest) Previous ¶
func (r ApiGetWebhookKeysRequest) Previous(previous string) ApiGetWebhookKeysRequest
previous page
func (ApiGetWebhookKeysRequest) Search ¶
func (r ApiGetWebhookKeysRequest) Search(search string) ApiGetWebhookKeysRequest
General order search, e.g. by mail, reference etc.
func (ApiGetWebhookKeysRequest) XChildCompanyId ¶
func (r ApiGetWebhookKeysRequest) XChildCompanyId(xChildCompanyId string) ApiGetWebhookKeysRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetWebhookRequest ¶
type ApiGetWebhookRequest struct {
ApiService WebhooksAPI
// contains filtered or unexported fields
}
func (ApiGetWebhookRequest) AcceptLanguage ¶
func (r ApiGetWebhookRequest) AcceptLanguage(acceptLanguage string) ApiGetWebhookRequest
Use for knowing which language to use
func (ApiGetWebhookRequest) Execute ¶
func (r ApiGetWebhookRequest) Execute() (*WebhookResponse, *http.Response, error)
func (ApiGetWebhookRequest) XChildCompanyId ¶
func (r ApiGetWebhookRequest) XChildCompanyId(xChildCompanyId string) ApiGetWebhookRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiGetWebhooksRequest ¶
type ApiGetWebhooksRequest struct {
ApiService WebhooksAPI
// contains filtered or unexported fields
}
func (ApiGetWebhooksRequest) AcceptLanguage ¶
func (r ApiGetWebhooksRequest) AcceptLanguage(acceptLanguage string) ApiGetWebhooksRequest
Use for knowing which language to use
func (ApiGetWebhooksRequest) Execute ¶
func (r ApiGetWebhooksRequest) Execute() (*GetWebhooksResponse, *http.Response, error)
func (ApiGetWebhooksRequest) Limit ¶
func (r ApiGetWebhooksRequest) Limit(limit int32) ApiGetWebhooksRequest
The numbers of items to return, the maximum value is 250
func (ApiGetWebhooksRequest) Next ¶
func (r ApiGetWebhooksRequest) Next(next string) ApiGetWebhooksRequest
next page
func (ApiGetWebhooksRequest) Previous ¶
func (r ApiGetWebhooksRequest) Previous(previous string) ApiGetWebhooksRequest
previous page
func (ApiGetWebhooksRequest) Search ¶
func (r ApiGetWebhooksRequest) Search(search string) ApiGetWebhooksRequest
General order search, e.g. by mail, reference etc.
func (ApiGetWebhooksRequest) XChildCompanyId ¶
func (r ApiGetWebhooksRequest) XChildCompanyId(xChildCompanyId string) ApiGetWebhooksRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiKeyCreateResponse ¶
type ApiKeyCreateResponse struct {
// Indicates if the api key is active
Active *bool `json:"active,omitempty"`
// Unix timestamp in seconds of when the api key was created
CreatedAt *int64 `json:"created_at,omitempty"`
// Unix timestamp in seconds of when the api key was last updated
UpdatedAt *int64 `json:"updated_at,omitempty"`
// Unix timestamp in seconds of when the api key was deleted
DeactivatedAt NullableInt64 `json:"deactivated_at,omitempty"`
// A name or brief explanation of what this api key is used for
Description *string `json:"description,omitempty"`
// Unique identifier of the api key
Id *string `json:"id,omitempty"`
// Indicates if the api key is in production
Livemode *bool `json:"livemode,omitempty"`
// Indicates if the api key was deleted
Deleted *bool `json:"deleted,omitempty"`
// Object name, value is 'api_key'
Object *string `json:"object,omitempty"`
// The first few characters of the authentication_token
Prefix *string `json:"prefix,omitempty"`
// Indicates if the api key is private or public
Role *string `json:"role,omitempty"`
// It is occupied as a user when authenticated with basic authentication, with a blank password. This value will only appear once, in the request to create a new key. Copy and save it in a safe place.
AuthenticationToken *string `json:"authentication_token,omitempty"`
AdditionalProperties map[string]interface{}
}
ApiKeyCreateResponse struct for ApiKeyCreateResponse
func NewApiKeyCreateResponse ¶
func NewApiKeyCreateResponse() *ApiKeyCreateResponse
NewApiKeyCreateResponse instantiates a new ApiKeyCreateResponse 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 NewApiKeyCreateResponseWithDefaults ¶
func NewApiKeyCreateResponseWithDefaults() *ApiKeyCreateResponse
NewApiKeyCreateResponseWithDefaults instantiates a new ApiKeyCreateResponse 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 (*ApiKeyCreateResponse) GetActive ¶
func (o *ApiKeyCreateResponse) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetActiveOk ¶
func (o *ApiKeyCreateResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetAuthenticationToken ¶
func (o *ApiKeyCreateResponse) GetAuthenticationToken() string
GetAuthenticationToken returns the AuthenticationToken field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetAuthenticationTokenOk ¶
func (o *ApiKeyCreateResponse) GetAuthenticationTokenOk() (*string, bool)
GetAuthenticationTokenOk returns a tuple with the AuthenticationToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetCreatedAt ¶
func (o *ApiKeyCreateResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetCreatedAtOk ¶
func (o *ApiKeyCreateResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetDeactivatedAt ¶
func (o *ApiKeyCreateResponse) GetDeactivatedAt() int64
GetDeactivatedAt returns the DeactivatedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiKeyCreateResponse) GetDeactivatedAtOk ¶
func (o *ApiKeyCreateResponse) GetDeactivatedAtOk() (*int64, bool)
GetDeactivatedAtOk returns a tuple with the DeactivatedAt 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 (*ApiKeyCreateResponse) GetDeleted ¶
func (o *ApiKeyCreateResponse) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetDeletedOk ¶
func (o *ApiKeyCreateResponse) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetDescription ¶
func (o *ApiKeyCreateResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetDescriptionOk ¶
func (o *ApiKeyCreateResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetId ¶
func (o *ApiKeyCreateResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetIdOk ¶
func (o *ApiKeyCreateResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetLivemode ¶
func (o *ApiKeyCreateResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetLivemodeOk ¶
func (o *ApiKeyCreateResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetObject ¶
func (o *ApiKeyCreateResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetObjectOk ¶
func (o *ApiKeyCreateResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetPrefix ¶
func (o *ApiKeyCreateResponse) GetPrefix() string
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetPrefixOk ¶
func (o *ApiKeyCreateResponse) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetRole ¶
func (o *ApiKeyCreateResponse) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetRoleOk ¶
func (o *ApiKeyCreateResponse) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) GetUpdatedAt ¶
func (o *ApiKeyCreateResponse) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ApiKeyCreateResponse) GetUpdatedAtOk ¶
func (o *ApiKeyCreateResponse) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyCreateResponse) HasActive ¶
func (o *ApiKeyCreateResponse) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasAuthenticationToken ¶
func (o *ApiKeyCreateResponse) HasAuthenticationToken() bool
HasAuthenticationToken returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasCreatedAt ¶
func (o *ApiKeyCreateResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasDeactivatedAt ¶
func (o *ApiKeyCreateResponse) HasDeactivatedAt() bool
HasDeactivatedAt returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasDeleted ¶
func (o *ApiKeyCreateResponse) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasDescription ¶
func (o *ApiKeyCreateResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasId ¶
func (o *ApiKeyCreateResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasLivemode ¶
func (o *ApiKeyCreateResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasObject ¶
func (o *ApiKeyCreateResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasPrefix ¶
func (o *ApiKeyCreateResponse) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasRole ¶
func (o *ApiKeyCreateResponse) HasRole() bool
HasRole returns a boolean if a field has been set.
func (*ApiKeyCreateResponse) HasUpdatedAt ¶
func (o *ApiKeyCreateResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ApiKeyCreateResponse) MarshalJSON ¶
func (o ApiKeyCreateResponse) MarshalJSON() ([]byte, error)
func (*ApiKeyCreateResponse) SetActive ¶
func (o *ApiKeyCreateResponse) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*ApiKeyCreateResponse) SetAuthenticationToken ¶
func (o *ApiKeyCreateResponse) SetAuthenticationToken(v string)
SetAuthenticationToken gets a reference to the given string and assigns it to the AuthenticationToken field.
func (*ApiKeyCreateResponse) SetCreatedAt ¶
func (o *ApiKeyCreateResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*ApiKeyCreateResponse) SetDeactivatedAt ¶
func (o *ApiKeyCreateResponse) SetDeactivatedAt(v int64)
SetDeactivatedAt gets a reference to the given NullableInt64 and assigns it to the DeactivatedAt field.
func (*ApiKeyCreateResponse) SetDeactivatedAtNil ¶
func (o *ApiKeyCreateResponse) SetDeactivatedAtNil()
SetDeactivatedAtNil sets the value for DeactivatedAt to be an explicit nil
func (*ApiKeyCreateResponse) SetDeleted ¶
func (o *ApiKeyCreateResponse) SetDeleted(v bool)
SetDeleted gets a reference to the given bool and assigns it to the Deleted field.
func (*ApiKeyCreateResponse) SetDescription ¶
func (o *ApiKeyCreateResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ApiKeyCreateResponse) SetId ¶
func (o *ApiKeyCreateResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ApiKeyCreateResponse) SetLivemode ¶
func (o *ApiKeyCreateResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*ApiKeyCreateResponse) SetObject ¶
func (o *ApiKeyCreateResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ApiKeyCreateResponse) SetPrefix ¶
func (o *ApiKeyCreateResponse) SetPrefix(v string)
SetPrefix gets a reference to the given string and assigns it to the Prefix field.
func (*ApiKeyCreateResponse) SetRole ¶
func (o *ApiKeyCreateResponse) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (*ApiKeyCreateResponse) SetUpdatedAt ¶
func (o *ApiKeyCreateResponse) SetUpdatedAt(v int64)
SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.
func (ApiKeyCreateResponse) ToMap ¶
func (o ApiKeyCreateResponse) ToMap() (map[string]interface{}, error)
func (*ApiKeyCreateResponse) UnmarshalJSON ¶
func (o *ApiKeyCreateResponse) UnmarshalJSON(data []byte) (err error)
func (*ApiKeyCreateResponse) UnsetDeactivatedAt ¶
func (o *ApiKeyCreateResponse) UnsetDeactivatedAt()
UnsetDeactivatedAt ensures that no value is present for DeactivatedAt, not even an explicit nil
type ApiKeyRequest ¶
type ApiKeyRequest struct {
// A name or brief explanation of what this api key is used for
Description *string `json:"description,omitempty"`
Role string `json:"role"`
AdditionalProperties map[string]interface{}
}
ApiKeyRequest struct for ApiKeyRequest
func NewApiKeyRequest ¶
func NewApiKeyRequest(role string) *ApiKeyRequest
NewApiKeyRequest instantiates a new ApiKeyRequest 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 NewApiKeyRequestWithDefaults ¶
func NewApiKeyRequestWithDefaults() *ApiKeyRequest
NewApiKeyRequestWithDefaults instantiates a new ApiKeyRequest 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 (*ApiKeyRequest) GetDescription ¶
func (o *ApiKeyRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ApiKeyRequest) GetDescriptionOk ¶
func (o *ApiKeyRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyRequest) GetRole ¶
func (o *ApiKeyRequest) GetRole() string
GetRole returns the Role field value
func (*ApiKeyRequest) GetRoleOk ¶
func (o *ApiKeyRequest) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*ApiKeyRequest) HasDescription ¶
func (o *ApiKeyRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (ApiKeyRequest) MarshalJSON ¶
func (o ApiKeyRequest) MarshalJSON() ([]byte, error)
func (*ApiKeyRequest) SetDescription ¶
func (o *ApiKeyRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (ApiKeyRequest) ToMap ¶
func (o ApiKeyRequest) ToMap() (map[string]interface{}, error)
func (*ApiKeyRequest) UnmarshalJSON ¶
func (o *ApiKeyRequest) UnmarshalJSON(data []byte) (err error)
type ApiKeyResponse ¶
type ApiKeyResponse struct {
// Indicates if the api key is active
Active *bool `json:"active,omitempty"`
// Unix timestamp in seconds of when the api key was created
CreatedAt *int64 `json:"created_at,omitempty"`
// Unix timestamp in seconds of when the api key was last updated
UpdatedAt *int64 `json:"updated_at,omitempty"`
// Unix timestamp in seconds of when the api key was deleted
DeactivatedAt NullableInt64 `json:"deactivated_at,omitempty"`
// A name or brief explanation of what this api key is used for
Description *string `json:"description,omitempty"`
// Unique identifier of the api key
Id *string `json:"id,omitempty"`
// Indicates if the api key is in production
Livemode *bool `json:"livemode,omitempty"`
// Indicates if the api key was deleted
Deleted *bool `json:"deleted,omitempty"`
// Object name, value is 'api_key'
Object *string `json:"object,omitempty"`
// The first few characters of the authentication_token
Prefix *string `json:"prefix,omitempty"`
// Indicates if the api key is private or public
Role *string `json:"role,omitempty"`
AdditionalProperties map[string]interface{}
}
ApiKeyResponse api keys model
func NewApiKeyResponse ¶
func NewApiKeyResponse() *ApiKeyResponse
NewApiKeyResponse instantiates a new ApiKeyResponse 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 NewApiKeyResponseWithDefaults ¶
func NewApiKeyResponseWithDefaults() *ApiKeyResponse
NewApiKeyResponseWithDefaults instantiates a new ApiKeyResponse 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 (*ApiKeyResponse) GetActive ¶
func (o *ApiKeyResponse) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*ApiKeyResponse) GetActiveOk ¶
func (o *ApiKeyResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) GetCreatedAt ¶
func (o *ApiKeyResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ApiKeyResponse) GetCreatedAtOk ¶
func (o *ApiKeyResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) GetDeactivatedAt ¶
func (o *ApiKeyResponse) GetDeactivatedAt() int64
GetDeactivatedAt returns the DeactivatedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiKeyResponse) GetDeactivatedAtOk ¶
func (o *ApiKeyResponse) GetDeactivatedAtOk() (*int64, bool)
GetDeactivatedAtOk returns a tuple with the DeactivatedAt 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 (*ApiKeyResponse) GetDeleted ¶
func (o *ApiKeyResponse) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*ApiKeyResponse) GetDeletedOk ¶
func (o *ApiKeyResponse) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) GetDescription ¶
func (o *ApiKeyResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ApiKeyResponse) GetDescriptionOk ¶
func (o *ApiKeyResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) GetId ¶
func (o *ApiKeyResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ApiKeyResponse) GetIdOk ¶
func (o *ApiKeyResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) GetLivemode ¶
func (o *ApiKeyResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*ApiKeyResponse) GetLivemodeOk ¶
func (o *ApiKeyResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) GetObject ¶
func (o *ApiKeyResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ApiKeyResponse) GetObjectOk ¶
func (o *ApiKeyResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) GetPrefix ¶
func (o *ApiKeyResponse) GetPrefix() string
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*ApiKeyResponse) GetPrefixOk ¶
func (o *ApiKeyResponse) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) GetRole ¶
func (o *ApiKeyResponse) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*ApiKeyResponse) GetRoleOk ¶
func (o *ApiKeyResponse) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) GetUpdatedAt ¶
func (o *ApiKeyResponse) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ApiKeyResponse) GetUpdatedAtOk ¶
func (o *ApiKeyResponse) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponse) HasActive ¶
func (o *ApiKeyResponse) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*ApiKeyResponse) HasCreatedAt ¶
func (o *ApiKeyResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ApiKeyResponse) HasDeactivatedAt ¶
func (o *ApiKeyResponse) HasDeactivatedAt() bool
HasDeactivatedAt returns a boolean if a field has been set.
func (*ApiKeyResponse) HasDeleted ¶
func (o *ApiKeyResponse) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*ApiKeyResponse) HasDescription ¶
func (o *ApiKeyResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ApiKeyResponse) HasId ¶
func (o *ApiKeyResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ApiKeyResponse) HasLivemode ¶
func (o *ApiKeyResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*ApiKeyResponse) HasObject ¶
func (o *ApiKeyResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ApiKeyResponse) HasPrefix ¶
func (o *ApiKeyResponse) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*ApiKeyResponse) HasRole ¶
func (o *ApiKeyResponse) HasRole() bool
HasRole returns a boolean if a field has been set.
func (*ApiKeyResponse) HasUpdatedAt ¶
func (o *ApiKeyResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ApiKeyResponse) MarshalJSON ¶
func (o ApiKeyResponse) MarshalJSON() ([]byte, error)
func (*ApiKeyResponse) SetActive ¶
func (o *ApiKeyResponse) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*ApiKeyResponse) SetCreatedAt ¶
func (o *ApiKeyResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*ApiKeyResponse) SetDeactivatedAt ¶
func (o *ApiKeyResponse) SetDeactivatedAt(v int64)
SetDeactivatedAt gets a reference to the given NullableInt64 and assigns it to the DeactivatedAt field.
func (*ApiKeyResponse) SetDeactivatedAtNil ¶
func (o *ApiKeyResponse) SetDeactivatedAtNil()
SetDeactivatedAtNil sets the value for DeactivatedAt to be an explicit nil
func (*ApiKeyResponse) SetDeleted ¶
func (o *ApiKeyResponse) SetDeleted(v bool)
SetDeleted gets a reference to the given bool and assigns it to the Deleted field.
func (*ApiKeyResponse) SetDescription ¶
func (o *ApiKeyResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ApiKeyResponse) SetId ¶
func (o *ApiKeyResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ApiKeyResponse) SetLivemode ¶
func (o *ApiKeyResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*ApiKeyResponse) SetObject ¶
func (o *ApiKeyResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ApiKeyResponse) SetPrefix ¶
func (o *ApiKeyResponse) SetPrefix(v string)
SetPrefix gets a reference to the given string and assigns it to the Prefix field.
func (*ApiKeyResponse) SetRole ¶
func (o *ApiKeyResponse) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (*ApiKeyResponse) SetUpdatedAt ¶
func (o *ApiKeyResponse) SetUpdatedAt(v int64)
SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.
func (ApiKeyResponse) ToMap ¶
func (o ApiKeyResponse) ToMap() (map[string]interface{}, error)
func (*ApiKeyResponse) UnmarshalJSON ¶
func (o *ApiKeyResponse) UnmarshalJSON(data []byte) (err error)
func (*ApiKeyResponse) UnsetDeactivatedAt ¶
func (o *ApiKeyResponse) UnsetDeactivatedAt()
UnsetDeactivatedAt ensures that no value is present for DeactivatedAt, not even an explicit nil
type ApiKeyResponseOnDelete ¶
type ApiKeyResponseOnDelete struct {
// Indicates if the api key is active
Active *bool `json:"active,omitempty"`
// Unix timestamp in seconds of when the api key was created
CreatedAt *int64 `json:"created_at,omitempty"`
// A name or brief explanation of what this api key is used for
Description *string `json:"description,omitempty"`
// Indicates if the api key is in production
Livemode *bool `json:"livemode,omitempty"`
// The first few characters of the authentication_token
Prefix *string `json:"prefix,omitempty"`
// Unique identifier of the api key
Id *string `json:"id,omitempty"`
// Object name, value is 'api_key'
Object *string `json:"object,omitempty"`
// Indicates if the api key was deleted
Deleted *bool `json:"deleted,omitempty"`
// Indicates if the api key is private or public
Role *string `json:"role,omitempty"`
AdditionalProperties map[string]interface{}
}
ApiKeyResponseOnDelete api keys model
func NewApiKeyResponseOnDelete ¶
func NewApiKeyResponseOnDelete() *ApiKeyResponseOnDelete
NewApiKeyResponseOnDelete instantiates a new ApiKeyResponseOnDelete 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 NewApiKeyResponseOnDeleteWithDefaults ¶
func NewApiKeyResponseOnDeleteWithDefaults() *ApiKeyResponseOnDelete
NewApiKeyResponseOnDeleteWithDefaults instantiates a new ApiKeyResponseOnDelete 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 (*ApiKeyResponseOnDelete) GetActive ¶
func (o *ApiKeyResponseOnDelete) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*ApiKeyResponseOnDelete) GetActiveOk ¶
func (o *ApiKeyResponseOnDelete) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponseOnDelete) GetCreatedAt ¶
func (o *ApiKeyResponseOnDelete) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ApiKeyResponseOnDelete) GetCreatedAtOk ¶
func (o *ApiKeyResponseOnDelete) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponseOnDelete) GetDeleted ¶
func (o *ApiKeyResponseOnDelete) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*ApiKeyResponseOnDelete) GetDeletedOk ¶
func (o *ApiKeyResponseOnDelete) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponseOnDelete) GetDescription ¶
func (o *ApiKeyResponseOnDelete) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ApiKeyResponseOnDelete) GetDescriptionOk ¶
func (o *ApiKeyResponseOnDelete) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponseOnDelete) GetId ¶
func (o *ApiKeyResponseOnDelete) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ApiKeyResponseOnDelete) GetIdOk ¶
func (o *ApiKeyResponseOnDelete) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponseOnDelete) GetLivemode ¶
func (o *ApiKeyResponseOnDelete) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*ApiKeyResponseOnDelete) GetLivemodeOk ¶
func (o *ApiKeyResponseOnDelete) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponseOnDelete) GetObject ¶
func (o *ApiKeyResponseOnDelete) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ApiKeyResponseOnDelete) GetObjectOk ¶
func (o *ApiKeyResponseOnDelete) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponseOnDelete) GetPrefix ¶
func (o *ApiKeyResponseOnDelete) GetPrefix() string
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*ApiKeyResponseOnDelete) GetPrefixOk ¶
func (o *ApiKeyResponseOnDelete) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponseOnDelete) GetRole ¶
func (o *ApiKeyResponseOnDelete) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*ApiKeyResponseOnDelete) GetRoleOk ¶
func (o *ApiKeyResponseOnDelete) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyResponseOnDelete) HasActive ¶
func (o *ApiKeyResponseOnDelete) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*ApiKeyResponseOnDelete) HasCreatedAt ¶
func (o *ApiKeyResponseOnDelete) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ApiKeyResponseOnDelete) HasDeleted ¶
func (o *ApiKeyResponseOnDelete) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*ApiKeyResponseOnDelete) HasDescription ¶
func (o *ApiKeyResponseOnDelete) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ApiKeyResponseOnDelete) HasId ¶
func (o *ApiKeyResponseOnDelete) HasId() bool
HasId returns a boolean if a field has been set.
func (*ApiKeyResponseOnDelete) HasLivemode ¶
func (o *ApiKeyResponseOnDelete) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*ApiKeyResponseOnDelete) HasObject ¶
func (o *ApiKeyResponseOnDelete) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ApiKeyResponseOnDelete) HasPrefix ¶
func (o *ApiKeyResponseOnDelete) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*ApiKeyResponseOnDelete) HasRole ¶
func (o *ApiKeyResponseOnDelete) HasRole() bool
HasRole returns a boolean if a field has been set.
func (ApiKeyResponseOnDelete) MarshalJSON ¶
func (o ApiKeyResponseOnDelete) MarshalJSON() ([]byte, error)
func (*ApiKeyResponseOnDelete) SetActive ¶
func (o *ApiKeyResponseOnDelete) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*ApiKeyResponseOnDelete) SetCreatedAt ¶
func (o *ApiKeyResponseOnDelete) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*ApiKeyResponseOnDelete) SetDeleted ¶
func (o *ApiKeyResponseOnDelete) SetDeleted(v bool)
SetDeleted gets a reference to the given bool and assigns it to the Deleted field.
func (*ApiKeyResponseOnDelete) SetDescription ¶
func (o *ApiKeyResponseOnDelete) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ApiKeyResponseOnDelete) SetId ¶
func (o *ApiKeyResponseOnDelete) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ApiKeyResponseOnDelete) SetLivemode ¶
func (o *ApiKeyResponseOnDelete) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*ApiKeyResponseOnDelete) SetObject ¶
func (o *ApiKeyResponseOnDelete) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ApiKeyResponseOnDelete) SetPrefix ¶
func (o *ApiKeyResponseOnDelete) SetPrefix(v string)
SetPrefix gets a reference to the given string and assigns it to the Prefix field.
func (*ApiKeyResponseOnDelete) SetRole ¶
func (o *ApiKeyResponseOnDelete) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (ApiKeyResponseOnDelete) ToMap ¶
func (o ApiKeyResponseOnDelete) ToMap() (map[string]interface{}, error)
func (*ApiKeyResponseOnDelete) UnmarshalJSON ¶
func (o *ApiKeyResponseOnDelete) UnmarshalJSON(data []byte) (err error)
type ApiKeyUpdateRequest ¶
type ApiKeyUpdateRequest struct {
// Indicates if the webhook key is active
Active *bool `json:"active,omitempty"`
// A name or brief explanation of what this api key is used for
Description *string `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
ApiKeyUpdateRequest struct for ApiKeyUpdateRequest
func NewApiKeyUpdateRequest ¶
func NewApiKeyUpdateRequest() *ApiKeyUpdateRequest
NewApiKeyUpdateRequest instantiates a new ApiKeyUpdateRequest 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 NewApiKeyUpdateRequestWithDefaults ¶
func NewApiKeyUpdateRequestWithDefaults() *ApiKeyUpdateRequest
NewApiKeyUpdateRequestWithDefaults instantiates a new ApiKeyUpdateRequest 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 (*ApiKeyUpdateRequest) GetActive ¶
func (o *ApiKeyUpdateRequest) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*ApiKeyUpdateRequest) GetActiveOk ¶
func (o *ApiKeyUpdateRequest) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyUpdateRequest) GetDescription ¶
func (o *ApiKeyUpdateRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ApiKeyUpdateRequest) GetDescriptionOk ¶
func (o *ApiKeyUpdateRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiKeyUpdateRequest) HasActive ¶
func (o *ApiKeyUpdateRequest) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*ApiKeyUpdateRequest) HasDescription ¶
func (o *ApiKeyUpdateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (ApiKeyUpdateRequest) MarshalJSON ¶
func (o ApiKeyUpdateRequest) MarshalJSON() ([]byte, error)
func (*ApiKeyUpdateRequest) SetActive ¶
func (o *ApiKeyUpdateRequest) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*ApiKeyUpdateRequest) SetDescription ¶
func (o *ApiKeyUpdateRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (ApiKeyUpdateRequest) ToMap ¶
func (o ApiKeyUpdateRequest) ToMap() (map[string]interface{}, error)
func (*ApiKeyUpdateRequest) UnmarshalJSON ¶
func (o *ApiKeyUpdateRequest) UnmarshalJSON(data []byte) (err error)
type ApiKeysAPI ¶
type ApiKeysAPI interface {
/*
CreateApiKey Create Api Key
Create a api key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateApiKeyRequest
*/
CreateApiKey(ctx context.Context) ApiCreateApiKeyRequest
// CreateApiKeyExecute executes the request
// @return ApiKeyCreateResponse
CreateApiKeyExecute(r ApiCreateApiKeyRequest) (*ApiKeyCreateResponse, *http.Response, error)
/*
DeleteApiKey Delete Api Key
Deletes a api key that corresponds to a api key ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiDeleteApiKeyRequest
*/
DeleteApiKey(ctx context.Context, id string) ApiDeleteApiKeyRequest
// DeleteApiKeyExecute executes the request
// @return DeleteApiKeysResponse
DeleteApiKeyExecute(r ApiDeleteApiKeyRequest) (*DeleteApiKeysResponse, *http.Response, error)
/*
GetApiKey Get Api Key
Gets a api key that corresponds to a api key ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetApiKeyRequest
*/
GetApiKey(ctx context.Context, id string) ApiGetApiKeyRequest
// GetApiKeyExecute executes the request
// @return ApiKeyResponse
GetApiKeyExecute(r ApiGetApiKeyRequest) (*ApiKeyResponse, *http.Response, error)
/*
GetApiKeys Get list of Api Keys
Consume the list of api keys you have
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetApiKeysRequest
*/
GetApiKeys(ctx context.Context) ApiGetApiKeysRequest
// GetApiKeysExecute executes the request
// @return GetApiKeysResponse
GetApiKeysExecute(r ApiGetApiKeysRequest) (*GetApiKeysResponse, *http.Response, error)
/*
UpdateApiKey Update Api Key
Update an existing api key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiUpdateApiKeyRequest
*/
UpdateApiKey(ctx context.Context, id string) ApiUpdateApiKeyRequest
// UpdateApiKeyExecute executes the request
// @return ApiKeyResponse
UpdateApiKeyExecute(r ApiUpdateApiKeyRequest) (*ApiKeyResponse, *http.Response, error)
}
type ApiKeysAPIService ¶
type ApiKeysAPIService service
ApiKeysAPIService ApiKeysAPI service
func (*ApiKeysAPIService) CreateApiKey ¶
func (a *ApiKeysAPIService) CreateApiKey(ctx context.Context) ApiCreateApiKeyRequest
CreateApiKey Create Api Key
Create a api key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateApiKeyRequest
func (*ApiKeysAPIService) CreateApiKeyExecute ¶
func (a *ApiKeysAPIService) CreateApiKeyExecute(r ApiCreateApiKeyRequest) (*ApiKeyCreateResponse, *http.Response, error)
Execute executes the request
@return ApiKeyCreateResponse
func (*ApiKeysAPIService) DeleteApiKey ¶
func (a *ApiKeysAPIService) DeleteApiKey(ctx context.Context, id string) ApiDeleteApiKeyRequest
DeleteApiKey Delete Api Key
Deletes a api key that corresponds to a api key ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiDeleteApiKeyRequest
func (*ApiKeysAPIService) DeleteApiKeyExecute ¶
func (a *ApiKeysAPIService) DeleteApiKeyExecute(r ApiDeleteApiKeyRequest) (*DeleteApiKeysResponse, *http.Response, error)
Execute executes the request
@return DeleteApiKeysResponse
func (*ApiKeysAPIService) GetApiKey ¶
func (a *ApiKeysAPIService) GetApiKey(ctx context.Context, id string) ApiGetApiKeyRequest
GetApiKey Get Api Key
Gets a api key that corresponds to a api key ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetApiKeyRequest
func (*ApiKeysAPIService) GetApiKeyExecute ¶
func (a *ApiKeysAPIService) GetApiKeyExecute(r ApiGetApiKeyRequest) (*ApiKeyResponse, *http.Response, error)
Execute executes the request
@return ApiKeyResponse
func (*ApiKeysAPIService) GetApiKeys ¶
func (a *ApiKeysAPIService) GetApiKeys(ctx context.Context) ApiGetApiKeysRequest
GetApiKeys Get list of Api Keys
Consume the list of api keys you have
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetApiKeysRequest
func (*ApiKeysAPIService) GetApiKeysExecute ¶
func (a *ApiKeysAPIService) GetApiKeysExecute(r ApiGetApiKeysRequest) (*GetApiKeysResponse, *http.Response, error)
Execute executes the request
@return GetApiKeysResponse
func (*ApiKeysAPIService) UpdateApiKey ¶
func (a *ApiKeysAPIService) UpdateApiKey(ctx context.Context, id string) ApiUpdateApiKeyRequest
UpdateApiKey Update Api Key
Update an existing api key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiUpdateApiKeyRequest
func (*ApiKeysAPIService) UpdateApiKeyExecute ¶
func (a *ApiKeysAPIService) UpdateApiKeyExecute(r ApiUpdateApiKeyRequest) (*ApiKeyResponse, *http.Response, error)
Execute executes the request
@return ApiKeyResponse
type ApiOrderCancelRefundRequest ¶
type ApiOrderCancelRefundRequest struct {
ApiService OrdersAPI
// contains filtered or unexported fields
}
func (ApiOrderCancelRefundRequest) AcceptLanguage ¶
func (r ApiOrderCancelRefundRequest) AcceptLanguage(acceptLanguage string) ApiOrderCancelRefundRequest
Use for knowing which language to use
func (ApiOrderCancelRefundRequest) Execute ¶
func (r ApiOrderCancelRefundRequest) Execute() (*OrderResponse, *http.Response, error)
func (ApiOrderCancelRefundRequest) XChildCompanyId ¶
func (r ApiOrderCancelRefundRequest) XChildCompanyId(xChildCompanyId string) ApiOrderCancelRefundRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrderRefundRequest ¶
type ApiOrderRefundRequest struct {
ApiService OrdersAPI
// contains filtered or unexported fields
}
func (ApiOrderRefundRequest) AcceptLanguage ¶
func (r ApiOrderRefundRequest) AcceptLanguage(acceptLanguage string) ApiOrderRefundRequest
Use for knowing which language to use
func (ApiOrderRefundRequest) Execute ¶
func (r ApiOrderRefundRequest) Execute() (*OrderResponse, *http.Response, error)
func (ApiOrderRefundRequest) OrderRefundRequest ¶
func (r ApiOrderRefundRequest) OrderRefundRequest(orderRefundRequest OrderRefundRequest) ApiOrderRefundRequest
requested field for a refund
func (ApiOrderRefundRequest) XChildCompanyId ¶
func (r ApiOrderRefundRequest) XChildCompanyId(xChildCompanyId string) ApiOrderRefundRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersCreateCaptureRequest ¶
type ApiOrdersCreateCaptureRequest struct {
ApiService OrdersAPI
// contains filtered or unexported fields
}
func (ApiOrdersCreateCaptureRequest) AcceptLanguage ¶
func (r ApiOrdersCreateCaptureRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateCaptureRequest
Use for knowing which language to use
func (ApiOrdersCreateCaptureRequest) Execute ¶
func (r ApiOrdersCreateCaptureRequest) Execute() (*OrderResponse, *http.Response, error)
func (ApiOrdersCreateCaptureRequest) OrderCaptureRequest ¶
func (r ApiOrdersCreateCaptureRequest) OrderCaptureRequest(orderCaptureRequest OrderCaptureRequest) ApiOrdersCreateCaptureRequest
requested fields for capture order
func (ApiOrdersCreateCaptureRequest) XChildCompanyId ¶
func (r ApiOrdersCreateCaptureRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateCaptureRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersCreateChargeRequest ¶
type ApiOrdersCreateChargeRequest struct {
ApiService ChargesAPI
// contains filtered or unexported fields
}
func (ApiOrdersCreateChargeRequest) AcceptLanguage ¶
func (r ApiOrdersCreateChargeRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateChargeRequest
Use for knowing which language to use
func (ApiOrdersCreateChargeRequest) ChargeRequest ¶
func (r ApiOrdersCreateChargeRequest) ChargeRequest(chargeRequest ChargeRequest) ApiOrdersCreateChargeRequest
requested field for a charge
func (ApiOrdersCreateChargeRequest) Execute ¶
func (r ApiOrdersCreateChargeRequest) Execute() (*ChargeOrderResponse, *http.Response, error)
func (ApiOrdersCreateChargeRequest) XChildCompanyId ¶
func (r ApiOrdersCreateChargeRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateChargeRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersCreateDiscountLineRequest ¶
type ApiOrdersCreateDiscountLineRequest struct {
ApiService DiscountsAPI
// contains filtered or unexported fields
}
func (ApiOrdersCreateDiscountLineRequest) AcceptLanguage ¶
func (r ApiOrdersCreateDiscountLineRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateDiscountLineRequest
Use for knowing which language to use
func (ApiOrdersCreateDiscountLineRequest) Execute ¶
func (r ApiOrdersCreateDiscountLineRequest) Execute() (*DiscountLinesResponse, *http.Response, error)
func (ApiOrdersCreateDiscountLineRequest) OrderDiscountLinesRequest ¶
func (r ApiOrdersCreateDiscountLineRequest) OrderDiscountLinesRequest(orderDiscountLinesRequest OrderDiscountLinesRequest) ApiOrdersCreateDiscountLineRequest
requested field for a discount lines
func (ApiOrdersCreateDiscountLineRequest) XChildCompanyId ¶
func (r ApiOrdersCreateDiscountLineRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateDiscountLineRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersCreateProductRequest ¶
type ApiOrdersCreateProductRequest struct {
ApiService ProductsAPI
// contains filtered or unexported fields
}
func (ApiOrdersCreateProductRequest) AcceptLanguage ¶
func (r ApiOrdersCreateProductRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateProductRequest
Use for knowing which language to use
func (ApiOrdersCreateProductRequest) Execute ¶
func (r ApiOrdersCreateProductRequest) Execute() (*ProductOrderResponse, *http.Response, error)
func (ApiOrdersCreateProductRequest) Product ¶
func (r ApiOrdersCreateProductRequest) Product(product Product) ApiOrdersCreateProductRequest
requested field for a product
func (ApiOrdersCreateProductRequest) XChildCompanyId ¶
func (r ApiOrdersCreateProductRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateProductRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersCreateShippingRequest ¶
type ApiOrdersCreateShippingRequest struct {
ApiService ShippingsAPI
// contains filtered or unexported fields
}
func (ApiOrdersCreateShippingRequest) AcceptLanguage ¶
func (r ApiOrdersCreateShippingRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateShippingRequest
Use for knowing which language to use
func (ApiOrdersCreateShippingRequest) Execute ¶
func (r ApiOrdersCreateShippingRequest) Execute() (*ShippingOrderResponse, *http.Response, error)
func (ApiOrdersCreateShippingRequest) ShippingRequest ¶
func (r ApiOrdersCreateShippingRequest) ShippingRequest(shippingRequest ShippingRequest) ApiOrdersCreateShippingRequest
requested field for a shipping
func (ApiOrdersCreateShippingRequest) XChildCompanyId ¶
func (r ApiOrdersCreateShippingRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateShippingRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersCreateTaxesRequest ¶
type ApiOrdersCreateTaxesRequest struct {
ApiService TaxesAPI
// contains filtered or unexported fields
}
func (ApiOrdersCreateTaxesRequest) AcceptLanguage ¶
func (r ApiOrdersCreateTaxesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersCreateTaxesRequest
Use for knowing which language to use
func (ApiOrdersCreateTaxesRequest) Execute ¶
func (r ApiOrdersCreateTaxesRequest) Execute() (*UpdateOrderTaxResponse, *http.Response, error)
func (ApiOrdersCreateTaxesRequest) OrderTaxRequest ¶
func (r ApiOrdersCreateTaxesRequest) OrderTaxRequest(orderTaxRequest OrderTaxRequest) ApiOrdersCreateTaxesRequest
requested field for a taxes
func (ApiOrdersCreateTaxesRequest) XChildCompanyId ¶
func (r ApiOrdersCreateTaxesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersCreateTaxesRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersDeleteDiscountLinesRequest ¶
type ApiOrdersDeleteDiscountLinesRequest struct {
ApiService DiscountsAPI
// contains filtered or unexported fields
}
func (ApiOrdersDeleteDiscountLinesRequest) AcceptLanguage ¶
func (r ApiOrdersDeleteDiscountLinesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersDeleteDiscountLinesRequest
Use for knowing which language to use
func (ApiOrdersDeleteDiscountLinesRequest) Execute ¶
func (r ApiOrdersDeleteDiscountLinesRequest) Execute() (*DiscountLinesResponse, *http.Response, error)
func (ApiOrdersDeleteDiscountLinesRequest) XChildCompanyId ¶
func (r ApiOrdersDeleteDiscountLinesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersDeleteDiscountLinesRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersDeleteProductRequest ¶
type ApiOrdersDeleteProductRequest struct {
ApiService ProductsAPI
// contains filtered or unexported fields
}
func (ApiOrdersDeleteProductRequest) AcceptLanguage ¶
func (r ApiOrdersDeleteProductRequest) AcceptLanguage(acceptLanguage string) ApiOrdersDeleteProductRequest
Use for knowing which language to use
func (ApiOrdersDeleteProductRequest) Execute ¶
func (r ApiOrdersDeleteProductRequest) Execute() (*ProductOrderResponse, *http.Response, error)
func (ApiOrdersDeleteProductRequest) XChildCompanyId ¶
func (r ApiOrdersDeleteProductRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersDeleteProductRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersDeleteShippingRequest ¶
type ApiOrdersDeleteShippingRequest struct {
ApiService ShippingsAPI
// contains filtered or unexported fields
}
func (ApiOrdersDeleteShippingRequest) AcceptLanguage ¶
func (r ApiOrdersDeleteShippingRequest) AcceptLanguage(acceptLanguage string) ApiOrdersDeleteShippingRequest
Use for knowing which language to use
func (ApiOrdersDeleteShippingRequest) Execute ¶
func (r ApiOrdersDeleteShippingRequest) Execute() (*ShippingOrderResponse, *http.Response, error)
func (ApiOrdersDeleteShippingRequest) XChildCompanyId ¶
func (r ApiOrdersDeleteShippingRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersDeleteShippingRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersDeleteTaxesRequest ¶
type ApiOrdersDeleteTaxesRequest struct {
ApiService TaxesAPI
// contains filtered or unexported fields
}
func (ApiOrdersDeleteTaxesRequest) AcceptLanguage ¶
func (r ApiOrdersDeleteTaxesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersDeleteTaxesRequest
Use for knowing which language to use
func (ApiOrdersDeleteTaxesRequest) Execute ¶
func (r ApiOrdersDeleteTaxesRequest) Execute() (*UpdateOrderTaxResponse, *http.Response, error)
func (ApiOrdersDeleteTaxesRequest) XChildCompanyId ¶
func (r ApiOrdersDeleteTaxesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersDeleteTaxesRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersGetDiscountLineRequest ¶
type ApiOrdersGetDiscountLineRequest struct {
ApiService DiscountsAPI
// contains filtered or unexported fields
}
func (ApiOrdersGetDiscountLineRequest) AcceptLanguage ¶
func (r ApiOrdersGetDiscountLineRequest) AcceptLanguage(acceptLanguage string) ApiOrdersGetDiscountLineRequest
Use for knowing which language to use
func (ApiOrdersGetDiscountLineRequest) Execute ¶
func (r ApiOrdersGetDiscountLineRequest) Execute() (*DiscountLinesResponse, *http.Response, error)
func (ApiOrdersGetDiscountLineRequest) XChildCompanyId ¶
func (r ApiOrdersGetDiscountLineRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersGetDiscountLineRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersGetDiscountLinesRequest ¶
type ApiOrdersGetDiscountLinesRequest struct {
ApiService DiscountsAPI
// contains filtered or unexported fields
}
func (ApiOrdersGetDiscountLinesRequest) AcceptLanguage ¶
func (r ApiOrdersGetDiscountLinesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersGetDiscountLinesRequest
Use for knowing which language to use
func (ApiOrdersGetDiscountLinesRequest) Execute ¶
func (r ApiOrdersGetDiscountLinesRequest) Execute() (*GetOrderDiscountLinesResponse, *http.Response, error)
func (ApiOrdersGetDiscountLinesRequest) Limit ¶
func (r ApiOrdersGetDiscountLinesRequest) Limit(limit int32) ApiOrdersGetDiscountLinesRequest
The numbers of items to return, the maximum value is 250
func (ApiOrdersGetDiscountLinesRequest) Next ¶
func (r ApiOrdersGetDiscountLinesRequest) Next(next string) ApiOrdersGetDiscountLinesRequest
next page
func (ApiOrdersGetDiscountLinesRequest) Previous ¶
func (r ApiOrdersGetDiscountLinesRequest) Previous(previous string) ApiOrdersGetDiscountLinesRequest
previous page
func (ApiOrdersGetDiscountLinesRequest) Search ¶
func (r ApiOrdersGetDiscountLinesRequest) Search(search string) ApiOrdersGetDiscountLinesRequest
General order search, e.g. by mail, reference etc.
func (ApiOrdersGetDiscountLinesRequest) XChildCompanyId ¶
func (r ApiOrdersGetDiscountLinesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersGetDiscountLinesRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersUpdateDiscountLinesRequest ¶
type ApiOrdersUpdateDiscountLinesRequest struct {
ApiService DiscountsAPI
// contains filtered or unexported fields
}
func (ApiOrdersUpdateDiscountLinesRequest) AcceptLanguage ¶
func (r ApiOrdersUpdateDiscountLinesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersUpdateDiscountLinesRequest
Use for knowing which language to use
func (ApiOrdersUpdateDiscountLinesRequest) Execute ¶
func (r ApiOrdersUpdateDiscountLinesRequest) Execute() (*DiscountLinesResponse, *http.Response, error)
func (ApiOrdersUpdateDiscountLinesRequest) UpdateOrderDiscountLinesRequest ¶
func (r ApiOrdersUpdateDiscountLinesRequest) UpdateOrderDiscountLinesRequest(updateOrderDiscountLinesRequest UpdateOrderDiscountLinesRequest) ApiOrdersUpdateDiscountLinesRequest
requested field for a discount lines
func (ApiOrdersUpdateDiscountLinesRequest) XChildCompanyId ¶
func (r ApiOrdersUpdateDiscountLinesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersUpdateDiscountLinesRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersUpdateProductRequest ¶
type ApiOrdersUpdateProductRequest struct {
ApiService ProductsAPI
// contains filtered or unexported fields
}
func (ApiOrdersUpdateProductRequest) AcceptLanguage ¶
func (r ApiOrdersUpdateProductRequest) AcceptLanguage(acceptLanguage string) ApiOrdersUpdateProductRequest
Use for knowing which language to use
func (ApiOrdersUpdateProductRequest) Execute ¶
func (r ApiOrdersUpdateProductRequest) Execute() (*ProductOrderResponse, *http.Response, error)
func (ApiOrdersUpdateProductRequest) UpdateProduct ¶
func (r ApiOrdersUpdateProductRequest) UpdateProduct(updateProduct UpdateProduct) ApiOrdersUpdateProductRequest
requested field for products
func (ApiOrdersUpdateProductRequest) XChildCompanyId ¶
func (r ApiOrdersUpdateProductRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersUpdateProductRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersUpdateShippingRequest ¶
type ApiOrdersUpdateShippingRequest struct {
ApiService ShippingsAPI
// contains filtered or unexported fields
}
func (ApiOrdersUpdateShippingRequest) AcceptLanguage ¶
func (r ApiOrdersUpdateShippingRequest) AcceptLanguage(acceptLanguage string) ApiOrdersUpdateShippingRequest
Use for knowing which language to use
func (ApiOrdersUpdateShippingRequest) Execute ¶
func (r ApiOrdersUpdateShippingRequest) Execute() (*ShippingOrderResponse, *http.Response, error)
func (ApiOrdersUpdateShippingRequest) ShippingRequest ¶
func (r ApiOrdersUpdateShippingRequest) ShippingRequest(shippingRequest ShippingRequest) ApiOrdersUpdateShippingRequest
requested field for a shipping
func (ApiOrdersUpdateShippingRequest) XChildCompanyId ¶
func (r ApiOrdersUpdateShippingRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersUpdateShippingRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiOrdersUpdateTaxesRequest ¶
type ApiOrdersUpdateTaxesRequest struct {
ApiService TaxesAPI
// contains filtered or unexported fields
}
func (ApiOrdersUpdateTaxesRequest) AcceptLanguage ¶
func (r ApiOrdersUpdateTaxesRequest) AcceptLanguage(acceptLanguage string) ApiOrdersUpdateTaxesRequest
Use for knowing which language to use
func (ApiOrdersUpdateTaxesRequest) Execute ¶
func (r ApiOrdersUpdateTaxesRequest) Execute() (*UpdateOrderTaxResponse, *http.Response, error)
func (ApiOrdersUpdateTaxesRequest) UpdateOrderTaxRequest ¶
func (r ApiOrdersUpdateTaxesRequest) UpdateOrderTaxRequest(updateOrderTaxRequest UpdateOrderTaxRequest) ApiOrdersUpdateTaxesRequest
requested field for taxes
func (ApiOrdersUpdateTaxesRequest) XChildCompanyId ¶
func (r ApiOrdersUpdateTaxesRequest) XChildCompanyId(xChildCompanyId string) ApiOrdersUpdateTaxesRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiResendEventRequest ¶
type ApiResendEventRequest struct {
ApiService EventsAPI
// contains filtered or unexported fields
}
func (ApiResendEventRequest) AcceptLanguage ¶
func (r ApiResendEventRequest) AcceptLanguage(acceptLanguage string) ApiResendEventRequest
Use for knowing which language to use
func (ApiResendEventRequest) Execute ¶
func (r ApiResendEventRequest) Execute() (*EventsResendResponse, *http.Response, error)
type ApiSmsCheckoutRequest ¶
type ApiSmsCheckoutRequest struct {
ApiService PaymentLinkAPI
// contains filtered or unexported fields
}
func (ApiSmsCheckoutRequest) AcceptLanguage ¶
func (r ApiSmsCheckoutRequest) AcceptLanguage(acceptLanguage string) ApiSmsCheckoutRequest
Use for knowing which language to use
func (ApiSmsCheckoutRequest) Execute ¶
func (r ApiSmsCheckoutRequest) Execute() (*CheckoutResponse, *http.Response, error)
func (ApiSmsCheckoutRequest) SmsCheckoutRequest ¶
func (r ApiSmsCheckoutRequest) SmsCheckoutRequest(smsCheckoutRequest SmsCheckoutRequest) ApiSmsCheckoutRequest
requested field for sms checkout
func (ApiSmsCheckoutRequest) XChildCompanyId ¶
func (r ApiSmsCheckoutRequest) XChildCompanyId(xChildCompanyId string) ApiSmsCheckoutRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiTestWebhookRequest ¶
type ApiTestWebhookRequest struct {
ApiService WebhooksAPI
// contains filtered or unexported fields
}
func (ApiTestWebhookRequest) AcceptLanguage ¶
func (r ApiTestWebhookRequest) AcceptLanguage(acceptLanguage string) ApiTestWebhookRequest
Use for knowing which language to use
func (ApiTestWebhookRequest) Execute ¶
func (r ApiTestWebhookRequest) Execute() (*WebhookResponse, *http.Response, error)
type ApiUpdateApiKeyRequest ¶
type ApiUpdateApiKeyRequest struct {
ApiService ApiKeysAPI
// contains filtered or unexported fields
}
func (ApiUpdateApiKeyRequest) AcceptLanguage ¶
func (r ApiUpdateApiKeyRequest) AcceptLanguage(acceptLanguage string) ApiUpdateApiKeyRequest
Use for knowing which language to use
func (ApiUpdateApiKeyRequest) ApiKeyUpdateRequest ¶
func (r ApiUpdateApiKeyRequest) ApiKeyUpdateRequest(apiKeyUpdateRequest ApiKeyUpdateRequest) ApiUpdateApiKeyRequest
func (ApiUpdateApiKeyRequest) Execute ¶
func (r ApiUpdateApiKeyRequest) Execute() (*ApiKeyResponse, *http.Response, error)
type ApiUpdateChargeRequest ¶
type ApiUpdateChargeRequest struct {
ApiService ChargesAPI
// contains filtered or unexported fields
}
func (ApiUpdateChargeRequest) AcceptLanguage ¶
func (r ApiUpdateChargeRequest) AcceptLanguage(acceptLanguage string) ApiUpdateChargeRequest
Use for knowing which language to use
func (ApiUpdateChargeRequest) ChargeUpdateRequest ¶
func (r ApiUpdateChargeRequest) ChargeUpdateRequest(chargeUpdateRequest ChargeUpdateRequest) ApiUpdateChargeRequest
requested field for update a charge
func (ApiUpdateChargeRequest) Execute ¶
func (r ApiUpdateChargeRequest) Execute() (*ChargeResponse, *http.Response, error)
func (ApiUpdateChargeRequest) XChildCompanyId ¶
func (r ApiUpdateChargeRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateChargeRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiUpdateCustomerFiscalEntitiesRequest ¶
type ApiUpdateCustomerFiscalEntitiesRequest struct {
ApiService CustomersAPI
// contains filtered or unexported fields
}
func (ApiUpdateCustomerFiscalEntitiesRequest) AcceptLanguage ¶
func (r ApiUpdateCustomerFiscalEntitiesRequest) AcceptLanguage(acceptLanguage string) ApiUpdateCustomerFiscalEntitiesRequest
Use for knowing which language to use
func (ApiUpdateCustomerFiscalEntitiesRequest) CustomerUpdateFiscalEntitiesRequest ¶
func (r ApiUpdateCustomerFiscalEntitiesRequest) CustomerUpdateFiscalEntitiesRequest(customerUpdateFiscalEntitiesRequest CustomerUpdateFiscalEntitiesRequest) ApiUpdateCustomerFiscalEntitiesRequest
requested field for customer update fiscal entities
func (ApiUpdateCustomerFiscalEntitiesRequest) Execute ¶
func (r ApiUpdateCustomerFiscalEntitiesRequest) Execute() (*UpdateCustomerFiscalEntitiesResponse, *http.Response, error)
func (ApiUpdateCustomerFiscalEntitiesRequest) XChildCompanyId ¶
func (r ApiUpdateCustomerFiscalEntitiesRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateCustomerFiscalEntitiesRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiUpdateCustomerPaymentMethodsRequest ¶
type ApiUpdateCustomerPaymentMethodsRequest struct {
ApiService PaymentMethodsAPI
// contains filtered or unexported fields
}
func (ApiUpdateCustomerPaymentMethodsRequest) AcceptLanguage ¶
func (r ApiUpdateCustomerPaymentMethodsRequest) AcceptLanguage(acceptLanguage string) ApiUpdateCustomerPaymentMethodsRequest
Use for knowing which language to use
func (ApiUpdateCustomerPaymentMethodsRequest) Execute ¶
func (r ApiUpdateCustomerPaymentMethodsRequest) Execute() (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
func (ApiUpdateCustomerPaymentMethodsRequest) UpdatePaymentMethods ¶
func (r ApiUpdateCustomerPaymentMethodsRequest) UpdatePaymentMethods(updatePaymentMethods UpdatePaymentMethods) ApiUpdateCustomerPaymentMethodsRequest
requested field for customer payment methods
func (ApiUpdateCustomerPaymentMethodsRequest) XChildCompanyId ¶
func (r ApiUpdateCustomerPaymentMethodsRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateCustomerPaymentMethodsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiUpdateCustomerRequest ¶
type ApiUpdateCustomerRequest struct {
ApiService CustomersAPI
// contains filtered or unexported fields
}
func (ApiUpdateCustomerRequest) AcceptLanguage ¶
func (r ApiUpdateCustomerRequest) AcceptLanguage(acceptLanguage string) ApiUpdateCustomerRequest
Use for knowing which language to use
func (ApiUpdateCustomerRequest) Execute ¶
func (r ApiUpdateCustomerRequest) Execute() (*CustomerResponse, *http.Response, error)
func (ApiUpdateCustomerRequest) UpdateCustomer ¶
func (r ApiUpdateCustomerRequest) UpdateCustomer(updateCustomer UpdateCustomer) ApiUpdateCustomerRequest
requested field for customer
func (ApiUpdateCustomerRequest) XChildCompanyId ¶
func (r ApiUpdateCustomerRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateCustomerRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiUpdateCustomerShippingContactsRequest ¶
type ApiUpdateCustomerShippingContactsRequest struct {
ApiService ShippingContactsAPI
// contains filtered or unexported fields
}
func (ApiUpdateCustomerShippingContactsRequest) AcceptLanguage ¶
func (r ApiUpdateCustomerShippingContactsRequest) AcceptLanguage(acceptLanguage string) ApiUpdateCustomerShippingContactsRequest
Use for knowing which language to use
func (ApiUpdateCustomerShippingContactsRequest) CustomerUpdateShippingContacts ¶
func (r ApiUpdateCustomerShippingContactsRequest) CustomerUpdateShippingContacts(customerUpdateShippingContacts CustomerUpdateShippingContacts) ApiUpdateCustomerShippingContactsRequest
requested field for customer update shippings contacts
func (ApiUpdateCustomerShippingContactsRequest) Execute ¶
func (r ApiUpdateCustomerShippingContactsRequest) Execute() (*CustomerShippingContactsResponse, *http.Response, error)
func (ApiUpdateCustomerShippingContactsRequest) XChildCompanyId ¶
func (r ApiUpdateCustomerShippingContactsRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateCustomerShippingContactsRequest
In the case of a holding company, the company id of the child company to which will process the request.
type ApiUpdateOrderRequest ¶
type ApiUpdateOrderRequest struct {
ApiService OrdersAPI
// contains filtered or unexported fields
}
func (ApiUpdateOrderRequest) AcceptLanguage ¶
func (r ApiUpdateOrderRequest) AcceptLanguage(acceptLanguage string) ApiUpdateOrderRequest
Use for knowing which language to use
func (ApiUpdateOrderRequest) Execute ¶
func (r ApiUpdateOrderRequest) Execute() (*OrderResponse, *http.Response, error)
func (ApiUpdateOrderRequest) OrderUpdateRequest ¶
func (r ApiUpdateOrderRequest) OrderUpdateRequest(orderUpdateRequest OrderUpdateRequest) ApiUpdateOrderRequest
requested field for an order
type ApiUpdateWebhookKeyRequest ¶
type ApiUpdateWebhookKeyRequest struct {
ApiService WebhookKeysAPI
// contains filtered or unexported fields
}
func (ApiUpdateWebhookKeyRequest) AcceptLanguage ¶
func (r ApiUpdateWebhookKeyRequest) AcceptLanguage(acceptLanguage string) ApiUpdateWebhookKeyRequest
Use for knowing which language to use
func (ApiUpdateWebhookKeyRequest) Execute ¶
func (r ApiUpdateWebhookKeyRequest) Execute() (*WebhookKeyResponse, *http.Response, error)
func (ApiUpdateWebhookKeyRequest) WebhookKeyUpdateRequest ¶
func (r ApiUpdateWebhookKeyRequest) WebhookKeyUpdateRequest(webhookKeyUpdateRequest WebhookKeyUpdateRequest) ApiUpdateWebhookKeyRequest
type ApiUpdateWebhookRequest ¶
type ApiUpdateWebhookRequest struct {
ApiService WebhooksAPI
// contains filtered or unexported fields
}
func (ApiUpdateWebhookRequest) AcceptLanguage ¶
func (r ApiUpdateWebhookRequest) AcceptLanguage(acceptLanguage string) ApiUpdateWebhookRequest
Use for knowing which language to use
func (ApiUpdateWebhookRequest) Execute ¶
func (r ApiUpdateWebhookRequest) Execute() (*WebhookResponse, *http.Response, error)
func (ApiUpdateWebhookRequest) WebhookUpdateRequest ¶
func (r ApiUpdateWebhookRequest) WebhookUpdateRequest(webhookUpdateRequest WebhookUpdateRequest) ApiUpdateWebhookRequest
requested fields in order to update a webhook
func (ApiUpdateWebhookRequest) XChildCompanyId ¶
func (r ApiUpdateWebhookRequest) XChildCompanyId(xChildCompanyId string) ApiUpdateWebhookRequest
In the case of a holding company, the company id of the child company to which will process the request.
type BalanceCommonField ¶
type BalanceCommonField struct {
// The balance's amount
Amount *int64 `json:"amount,omitempty"`
// The balance's currency
Currency *string `json:"currency,omitempty"`
AdditionalProperties map[string]interface{}
}
BalanceCommonField balance common fields model
func NewBalanceCommonField ¶
func NewBalanceCommonField() *BalanceCommonField
NewBalanceCommonField instantiates a new BalanceCommonField 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 NewBalanceCommonFieldWithDefaults ¶
func NewBalanceCommonFieldWithDefaults() *BalanceCommonField
NewBalanceCommonFieldWithDefaults instantiates a new BalanceCommonField 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 (*BalanceCommonField) GetAmount ¶
func (o *BalanceCommonField) GetAmount() int64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*BalanceCommonField) GetAmountOk ¶
func (o *BalanceCommonField) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceCommonField) GetCurrency ¶
func (o *BalanceCommonField) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*BalanceCommonField) GetCurrencyOk ¶
func (o *BalanceCommonField) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceCommonField) HasAmount ¶
func (o *BalanceCommonField) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*BalanceCommonField) HasCurrency ¶
func (o *BalanceCommonField) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (BalanceCommonField) MarshalJSON ¶
func (o BalanceCommonField) MarshalJSON() ([]byte, error)
func (*BalanceCommonField) SetAmount ¶
func (o *BalanceCommonField) SetAmount(v int64)
SetAmount gets a reference to the given int64 and assigns it to the Amount field.
func (*BalanceCommonField) SetCurrency ¶
func (o *BalanceCommonField) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (BalanceCommonField) ToMap ¶
func (o BalanceCommonField) ToMap() (map[string]interface{}, error)
func (*BalanceCommonField) UnmarshalJSON ¶
func (o *BalanceCommonField) UnmarshalJSON(data []byte) (err error)
type BalanceResponse ¶
type BalanceResponse struct {
// The balance's available
Available []BalanceCommonField `json:"available,omitempty"`
// The balance's cashout retention amount
CashoutRetentionAmount []BalanceCommonField `json:"cashout_retention_amount,omitempty"`
// The balance's Femsa retention
ConektaRetention []BalanceCommonField `json:"conekta_retention,omitempty"`
// The balance's gateway
Gateway []BalanceCommonField `json:"gateway,omitempty"`
// The balance's pending
Pending []BalanceCommonField `json:"pending,omitempty"`
// The balance's retained
Retained []BalanceCommonField `json:"retained,omitempty"`
// The balance's retention amount
RetentionAmount []BalanceCommonField `json:"retention_amount,omitempty"`
// The balance's target collateral amount
TargetCollateralAmount map[string]interface{} `json:"target_collateral_amount,omitempty"`
// The balance's target retention amount
TargetRetentionAmount []BalanceCommonField `json:"target_retention_amount,omitempty"`
// The balance's temporarily retained
TemporarilyRetained []BalanceCommonField `json:"temporarily_retained,omitempty"`
AdditionalProperties map[string]interface{}
}
BalanceResponse balance model
func NewBalanceResponse ¶
func NewBalanceResponse() *BalanceResponse
NewBalanceResponse instantiates a new BalanceResponse 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 NewBalanceResponseWithDefaults ¶
func NewBalanceResponseWithDefaults() *BalanceResponse
NewBalanceResponseWithDefaults instantiates a new BalanceResponse 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 (*BalanceResponse) GetAvailable ¶
func (o *BalanceResponse) GetAvailable() []BalanceCommonField
GetAvailable returns the Available field value if set, zero value otherwise.
func (*BalanceResponse) GetAvailableOk ¶
func (o *BalanceResponse) GetAvailableOk() ([]BalanceCommonField, bool)
GetAvailableOk returns a tuple with the Available field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) GetCashoutRetentionAmount ¶
func (o *BalanceResponse) GetCashoutRetentionAmount() []BalanceCommonField
GetCashoutRetentionAmount returns the CashoutRetentionAmount field value if set, zero value otherwise.
func (*BalanceResponse) GetCashoutRetentionAmountOk ¶
func (o *BalanceResponse) GetCashoutRetentionAmountOk() ([]BalanceCommonField, bool)
GetCashoutRetentionAmountOk returns a tuple with the CashoutRetentionAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) GetConektaRetention ¶
func (o *BalanceResponse) GetConektaRetention() []BalanceCommonField
GetConektaRetention returns the ConektaRetention field value if set, zero value otherwise.
func (*BalanceResponse) GetConektaRetentionOk ¶
func (o *BalanceResponse) GetConektaRetentionOk() ([]BalanceCommonField, bool)
GetConektaRetentionOk returns a tuple with the ConektaRetention field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) GetGateway ¶
func (o *BalanceResponse) GetGateway() []BalanceCommonField
GetGateway returns the Gateway field value if set, zero value otherwise.
func (*BalanceResponse) GetGatewayOk ¶
func (o *BalanceResponse) GetGatewayOk() ([]BalanceCommonField, bool)
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) GetPending ¶
func (o *BalanceResponse) GetPending() []BalanceCommonField
GetPending returns the Pending field value if set, zero value otherwise.
func (*BalanceResponse) GetPendingOk ¶
func (o *BalanceResponse) GetPendingOk() ([]BalanceCommonField, bool)
GetPendingOk returns a tuple with the Pending field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) GetRetained ¶
func (o *BalanceResponse) GetRetained() []BalanceCommonField
GetRetained returns the Retained field value if set, zero value otherwise.
func (*BalanceResponse) GetRetainedOk ¶
func (o *BalanceResponse) GetRetainedOk() ([]BalanceCommonField, bool)
GetRetainedOk returns a tuple with the Retained field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) GetRetentionAmount ¶
func (o *BalanceResponse) GetRetentionAmount() []BalanceCommonField
GetRetentionAmount returns the RetentionAmount field value if set, zero value otherwise.
func (*BalanceResponse) GetRetentionAmountOk ¶
func (o *BalanceResponse) GetRetentionAmountOk() ([]BalanceCommonField, bool)
GetRetentionAmountOk returns a tuple with the RetentionAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) GetTargetCollateralAmount ¶
func (o *BalanceResponse) GetTargetCollateralAmount() map[string]interface{}
GetTargetCollateralAmount returns the TargetCollateralAmount field value if set, zero value otherwise.
func (*BalanceResponse) GetTargetCollateralAmountOk ¶
func (o *BalanceResponse) GetTargetCollateralAmountOk() (map[string]interface{}, bool)
GetTargetCollateralAmountOk returns a tuple with the TargetCollateralAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) GetTargetRetentionAmount ¶
func (o *BalanceResponse) GetTargetRetentionAmount() []BalanceCommonField
GetTargetRetentionAmount returns the TargetRetentionAmount field value if set, zero value otherwise.
func (*BalanceResponse) GetTargetRetentionAmountOk ¶
func (o *BalanceResponse) GetTargetRetentionAmountOk() ([]BalanceCommonField, bool)
GetTargetRetentionAmountOk returns a tuple with the TargetRetentionAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) GetTemporarilyRetained ¶
func (o *BalanceResponse) GetTemporarilyRetained() []BalanceCommonField
GetTemporarilyRetained returns the TemporarilyRetained field value if set, zero value otherwise.
func (*BalanceResponse) GetTemporarilyRetainedOk ¶
func (o *BalanceResponse) GetTemporarilyRetainedOk() ([]BalanceCommonField, bool)
GetTemporarilyRetainedOk returns a tuple with the TemporarilyRetained field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceResponse) HasAvailable ¶
func (o *BalanceResponse) HasAvailable() bool
HasAvailable returns a boolean if a field has been set.
func (*BalanceResponse) HasCashoutRetentionAmount ¶
func (o *BalanceResponse) HasCashoutRetentionAmount() bool
HasCashoutRetentionAmount returns a boolean if a field has been set.
func (*BalanceResponse) HasConektaRetention ¶
func (o *BalanceResponse) HasConektaRetention() bool
HasConektaRetention returns a boolean if a field has been set.
func (*BalanceResponse) HasGateway ¶
func (o *BalanceResponse) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*BalanceResponse) HasPending ¶
func (o *BalanceResponse) HasPending() bool
HasPending returns a boolean if a field has been set.
func (*BalanceResponse) HasRetained ¶
func (o *BalanceResponse) HasRetained() bool
HasRetained returns a boolean if a field has been set.
func (*BalanceResponse) HasRetentionAmount ¶
func (o *BalanceResponse) HasRetentionAmount() bool
HasRetentionAmount returns a boolean if a field has been set.
func (*BalanceResponse) HasTargetCollateralAmount ¶
func (o *BalanceResponse) HasTargetCollateralAmount() bool
HasTargetCollateralAmount returns a boolean if a field has been set.
func (*BalanceResponse) HasTargetRetentionAmount ¶
func (o *BalanceResponse) HasTargetRetentionAmount() bool
HasTargetRetentionAmount returns a boolean if a field has been set.
func (*BalanceResponse) HasTemporarilyRetained ¶
func (o *BalanceResponse) HasTemporarilyRetained() bool
HasTemporarilyRetained returns a boolean if a field has been set.
func (BalanceResponse) MarshalJSON ¶
func (o BalanceResponse) MarshalJSON() ([]byte, error)
func (*BalanceResponse) SetAvailable ¶
func (o *BalanceResponse) SetAvailable(v []BalanceCommonField)
SetAvailable gets a reference to the given []BalanceCommonField and assigns it to the Available field.
func (*BalanceResponse) SetCashoutRetentionAmount ¶
func (o *BalanceResponse) SetCashoutRetentionAmount(v []BalanceCommonField)
SetCashoutRetentionAmount gets a reference to the given []BalanceCommonField and assigns it to the CashoutRetentionAmount field.
func (*BalanceResponse) SetConektaRetention ¶
func (o *BalanceResponse) SetConektaRetention(v []BalanceCommonField)
SetConektaRetention gets a reference to the given []BalanceCommonField and assigns it to the ConektaRetention field.
func (*BalanceResponse) SetGateway ¶
func (o *BalanceResponse) SetGateway(v []BalanceCommonField)
SetGateway gets a reference to the given []BalanceCommonField and assigns it to the Gateway field.
func (*BalanceResponse) SetPending ¶
func (o *BalanceResponse) SetPending(v []BalanceCommonField)
SetPending gets a reference to the given []BalanceCommonField and assigns it to the Pending field.
func (*BalanceResponse) SetRetained ¶
func (o *BalanceResponse) SetRetained(v []BalanceCommonField)
SetRetained gets a reference to the given []BalanceCommonField and assigns it to the Retained field.
func (*BalanceResponse) SetRetentionAmount ¶
func (o *BalanceResponse) SetRetentionAmount(v []BalanceCommonField)
SetRetentionAmount gets a reference to the given []BalanceCommonField and assigns it to the RetentionAmount field.
func (*BalanceResponse) SetTargetCollateralAmount ¶
func (o *BalanceResponse) SetTargetCollateralAmount(v map[string]interface{})
SetTargetCollateralAmount gets a reference to the given map[string]interface{} and assigns it to the TargetCollateralAmount field.
func (*BalanceResponse) SetTargetRetentionAmount ¶
func (o *BalanceResponse) SetTargetRetentionAmount(v []BalanceCommonField)
SetTargetRetentionAmount gets a reference to the given []BalanceCommonField and assigns it to the TargetRetentionAmount field.
func (*BalanceResponse) SetTemporarilyRetained ¶
func (o *BalanceResponse) SetTemporarilyRetained(v []BalanceCommonField)
SetTemporarilyRetained gets a reference to the given []BalanceCommonField and assigns it to the TemporarilyRetained field.
func (BalanceResponse) ToMap ¶
func (o BalanceResponse) ToMap() (map[string]interface{}, error)
func (*BalanceResponse) UnmarshalJSON ¶
func (o *BalanceResponse) UnmarshalJSON(data []byte) (err error)
type BalancesAPI ¶
type BalancesAPI interface {
/*
GetBalance Get a company's balance
Get a company's balance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetBalanceRequest
*/
GetBalance(ctx context.Context) ApiGetBalanceRequest
// GetBalanceExecute executes the request
// @return BalanceResponse
GetBalanceExecute(r ApiGetBalanceRequest) (*BalanceResponse, *http.Response, error)
}
type BalancesAPIService ¶
type BalancesAPIService service
BalancesAPIService BalancesAPI service
func (*BalancesAPIService) GetBalance ¶
func (a *BalancesAPIService) GetBalance(ctx context.Context) ApiGetBalanceRequest
GetBalance Get a company's balance
Get a company's balance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetBalanceRequest
func (*BalancesAPIService) GetBalanceExecute ¶
func (a *BalancesAPIService) GetBalanceExecute(r ApiGetBalanceRequest) (*BalanceResponse, *http.Response, error)
Execute executes the request
@return BalanceResponse
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 ChargeOrderResponse ¶
type ChargeOrderResponse struct {
Amount *int32 `json:"amount,omitempty"`
Channel *ChargeResponseChannel `json:"channel,omitempty"`
CreatedAt *int64 `json:"created_at,omitempty"`
Currency *string `json:"currency,omitempty"`
CustomerId *string `json:"customer_id,omitempty"`
Description *string `json:"description,omitempty"`
DeviceFingerprint NullableString `json:"device_fingerprint,omitempty"`
FailureCode *string `json:"failure_code,omitempty"`
FailureMessage *string `json:"failure_message,omitempty"`
Id *string `json:"id,omitempty"`
Livemode *bool `json:"livemode,omitempty"`
Object *string `json:"object,omitempty"`
OrderId *string `json:"order_id,omitempty"`
PaidAt NullableInt32 `json:"paid_at,omitempty"`
PaymentMethod *ChargeOrderResponsePaymentMethod `json:"payment_method,omitempty"`
// Reference ID of the charge
ReferenceId NullableString `json:"reference_id,omitempty"`
Refunds []map[string]interface{} `json:"refunds,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{}
}
ChargeOrderResponse struct for ChargeOrderResponse
func NewChargeOrderResponse ¶
func NewChargeOrderResponse() *ChargeOrderResponse
NewChargeOrderResponse instantiates a new ChargeOrderResponse 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 NewChargeOrderResponseWithDefaults ¶
func NewChargeOrderResponseWithDefaults() *ChargeOrderResponse
NewChargeOrderResponseWithDefaults instantiates a new ChargeOrderResponse 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 (*ChargeOrderResponse) GetAmount ¶
func (o *ChargeOrderResponse) GetAmount() int32
GetAmount returns the Amount field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetAmountOk ¶
func (o *ChargeOrderResponse) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetChannel ¶
func (o *ChargeOrderResponse) GetChannel() ChargeResponseChannel
GetChannel returns the Channel field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetChannelOk ¶
func (o *ChargeOrderResponse) GetChannelOk() (*ChargeResponseChannel, bool)
GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetCreatedAt ¶
func (o *ChargeOrderResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetCreatedAtOk ¶
func (o *ChargeOrderResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetCurrency ¶
func (o *ChargeOrderResponse) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetCurrencyOk ¶
func (o *ChargeOrderResponse) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetCustomerId ¶
func (o *ChargeOrderResponse) GetCustomerId() string
GetCustomerId returns the CustomerId field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetCustomerIdOk ¶
func (o *ChargeOrderResponse) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetDescription ¶
func (o *ChargeOrderResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetDescriptionOk ¶
func (o *ChargeOrderResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetDeviceFingerprint ¶
func (o *ChargeOrderResponse) GetDeviceFingerprint() string
GetDeviceFingerprint returns the DeviceFingerprint field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargeOrderResponse) GetDeviceFingerprintOk ¶
func (o *ChargeOrderResponse) GetDeviceFingerprintOk() (*string, bool)
GetDeviceFingerprintOk returns a tuple with the DeviceFingerprint 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 (*ChargeOrderResponse) GetFailureCode ¶
func (o *ChargeOrderResponse) GetFailureCode() string
GetFailureCode returns the FailureCode field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetFailureCodeOk ¶
func (o *ChargeOrderResponse) GetFailureCodeOk() (*string, bool)
GetFailureCodeOk returns a tuple with the FailureCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetFailureMessage ¶
func (o *ChargeOrderResponse) GetFailureMessage() string
GetFailureMessage returns the FailureMessage field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetFailureMessageOk ¶
func (o *ChargeOrderResponse) GetFailureMessageOk() (*string, bool)
GetFailureMessageOk returns a tuple with the FailureMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetId ¶
func (o *ChargeOrderResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetIdOk ¶
func (o *ChargeOrderResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetLivemode ¶
func (o *ChargeOrderResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetLivemodeOk ¶
func (o *ChargeOrderResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetObject ¶
func (o *ChargeOrderResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetObjectOk ¶
func (o *ChargeOrderResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetOrderId ¶
func (o *ChargeOrderResponse) GetOrderId() string
GetOrderId returns the OrderId field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetOrderIdOk ¶
func (o *ChargeOrderResponse) GetOrderIdOk() (*string, bool)
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 (*ChargeOrderResponse) GetPaidAt ¶
func (o *ChargeOrderResponse) GetPaidAt() int32
GetPaidAt returns the PaidAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargeOrderResponse) GetPaidAtOk ¶
func (o *ChargeOrderResponse) GetPaidAtOk() (*int32, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChargeOrderResponse) GetPaymentMethod ¶
func (o *ChargeOrderResponse) GetPaymentMethod() ChargeOrderResponsePaymentMethod
GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetPaymentMethodOk ¶
func (o *ChargeOrderResponse) GetPaymentMethodOk() (*ChargeOrderResponsePaymentMethod, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetReferenceId ¶
func (o *ChargeOrderResponse) GetReferenceId() string
GetReferenceId returns the ReferenceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargeOrderResponse) GetReferenceIdOk ¶
func (o *ChargeOrderResponse) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId 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 (*ChargeOrderResponse) GetRefunds ¶
func (o *ChargeOrderResponse) GetRefunds() []map[string]interface{}
GetRefunds returns the Refunds field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetRefundsOk ¶
func (o *ChargeOrderResponse) GetRefundsOk() ([]map[string]interface{}, bool)
GetRefundsOk returns a tuple with the Refunds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) GetStatus ¶
func (o *ChargeOrderResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ChargeOrderResponse) GetStatusOk ¶
func (o *ChargeOrderResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeOrderResponse) HasAmount ¶
func (o *ChargeOrderResponse) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasChannel ¶
func (o *ChargeOrderResponse) HasChannel() bool
HasChannel returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasCreatedAt ¶
func (o *ChargeOrderResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasCurrency ¶
func (o *ChargeOrderResponse) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasCustomerId ¶
func (o *ChargeOrderResponse) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasDescription ¶
func (o *ChargeOrderResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasDeviceFingerprint ¶
func (o *ChargeOrderResponse) HasDeviceFingerprint() bool
HasDeviceFingerprint returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasFailureCode ¶
func (o *ChargeOrderResponse) HasFailureCode() bool
HasFailureCode returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasFailureMessage ¶
func (o *ChargeOrderResponse) HasFailureMessage() bool
HasFailureMessage returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasId ¶
func (o *ChargeOrderResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasLivemode ¶
func (o *ChargeOrderResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasObject ¶
func (o *ChargeOrderResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasOrderId ¶
func (o *ChargeOrderResponse) HasOrderId() bool
HasOrderId returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasPaidAt ¶
func (o *ChargeOrderResponse) HasPaidAt() bool
HasPaidAt returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasPaymentMethod ¶
func (o *ChargeOrderResponse) HasPaymentMethod() bool
HasPaymentMethod returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasReferenceId ¶
func (o *ChargeOrderResponse) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasRefunds ¶
func (o *ChargeOrderResponse) HasRefunds() bool
HasRefunds returns a boolean if a field has been set.
func (*ChargeOrderResponse) HasStatus ¶
func (o *ChargeOrderResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ChargeOrderResponse) MarshalJSON ¶
func (o ChargeOrderResponse) MarshalJSON() ([]byte, error)
func (*ChargeOrderResponse) SetAmount ¶
func (o *ChargeOrderResponse) SetAmount(v int32)
SetAmount gets a reference to the given int32 and assigns it to the Amount field.
func (*ChargeOrderResponse) SetChannel ¶
func (o *ChargeOrderResponse) SetChannel(v ChargeResponseChannel)
SetChannel gets a reference to the given ChargeResponseChannel and assigns it to the Channel field.
func (*ChargeOrderResponse) SetCreatedAt ¶
func (o *ChargeOrderResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*ChargeOrderResponse) SetCurrency ¶
func (o *ChargeOrderResponse) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*ChargeOrderResponse) SetCustomerId ¶
func (o *ChargeOrderResponse) SetCustomerId(v string)
SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.
func (*ChargeOrderResponse) SetDescription ¶
func (o *ChargeOrderResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ChargeOrderResponse) SetDeviceFingerprint ¶
func (o *ChargeOrderResponse) SetDeviceFingerprint(v string)
SetDeviceFingerprint gets a reference to the given NullableString and assigns it to the DeviceFingerprint field.
func (*ChargeOrderResponse) SetDeviceFingerprintNil ¶
func (o *ChargeOrderResponse) SetDeviceFingerprintNil()
SetDeviceFingerprintNil sets the value for DeviceFingerprint to be an explicit nil
func (*ChargeOrderResponse) SetFailureCode ¶
func (o *ChargeOrderResponse) SetFailureCode(v string)
SetFailureCode gets a reference to the given string and assigns it to the FailureCode field.
func (*ChargeOrderResponse) SetFailureMessage ¶
func (o *ChargeOrderResponse) SetFailureMessage(v string)
SetFailureMessage gets a reference to the given string and assigns it to the FailureMessage field.
func (*ChargeOrderResponse) SetId ¶
func (o *ChargeOrderResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ChargeOrderResponse) SetLivemode ¶
func (o *ChargeOrderResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*ChargeOrderResponse) SetObject ¶
func (o *ChargeOrderResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ChargeOrderResponse) SetOrderId ¶
func (o *ChargeOrderResponse) SetOrderId(v string)
SetOrderId gets a reference to the given string and assigns it to the OrderId field.
func (*ChargeOrderResponse) SetPaidAt ¶
func (o *ChargeOrderResponse) SetPaidAt(v int32)
SetPaidAt gets a reference to the given NullableInt32 and assigns it to the PaidAt field.
func (*ChargeOrderResponse) SetPaidAtNil ¶
func (o *ChargeOrderResponse) SetPaidAtNil()
SetPaidAtNil sets the value for PaidAt to be an explicit nil
func (*ChargeOrderResponse) SetPaymentMethod ¶
func (o *ChargeOrderResponse) SetPaymentMethod(v ChargeOrderResponsePaymentMethod)
SetPaymentMethod gets a reference to the given ChargeOrderResponsePaymentMethod and assigns it to the PaymentMethod field.
func (*ChargeOrderResponse) SetReferenceId ¶
func (o *ChargeOrderResponse) SetReferenceId(v string)
SetReferenceId gets a reference to the given NullableString and assigns it to the ReferenceId field.
func (*ChargeOrderResponse) SetReferenceIdNil ¶
func (o *ChargeOrderResponse) SetReferenceIdNil()
SetReferenceIdNil sets the value for ReferenceId to be an explicit nil
func (*ChargeOrderResponse) SetRefunds ¶
func (o *ChargeOrderResponse) SetRefunds(v []map[string]interface{})
SetRefunds gets a reference to the given []map[string]interface{} and assigns it to the Refunds field.
func (*ChargeOrderResponse) SetStatus ¶
func (o *ChargeOrderResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (ChargeOrderResponse) ToMap ¶
func (o ChargeOrderResponse) ToMap() (map[string]interface{}, error)
func (*ChargeOrderResponse) UnmarshalJSON ¶
func (o *ChargeOrderResponse) UnmarshalJSON(data []byte) (err error)
func (*ChargeOrderResponse) UnsetDeviceFingerprint ¶
func (o *ChargeOrderResponse) UnsetDeviceFingerprint()
UnsetDeviceFingerprint ensures that no value is present for DeviceFingerprint, not even an explicit nil
func (*ChargeOrderResponse) UnsetPaidAt ¶
func (o *ChargeOrderResponse) UnsetPaidAt()
UnsetPaidAt ensures that no value is present for PaidAt, not even an explicit nil
func (*ChargeOrderResponse) UnsetReferenceId ¶
func (o *ChargeOrderResponse) UnsetReferenceId()
UnsetReferenceId ensures that no value is present for ReferenceId, not even an explicit nil
type ChargeOrderResponsePaymentMethod ¶
type ChargeOrderResponsePaymentMethod struct {
PaymentMethodCash *PaymentMethodCash
}
ChargeOrderResponsePaymentMethod - struct for ChargeOrderResponsePaymentMethod
func PaymentMethodCashAsChargeOrderResponsePaymentMethod ¶
func PaymentMethodCashAsChargeOrderResponsePaymentMethod(v *PaymentMethodCash) ChargeOrderResponsePaymentMethod
PaymentMethodCashAsChargeOrderResponsePaymentMethod is a convenience function that returns PaymentMethodCash wrapped in ChargeOrderResponsePaymentMethod
func (*ChargeOrderResponsePaymentMethod) GetActualInstance ¶
func (obj *ChargeOrderResponsePaymentMethod) GetActualInstance() interface{}
Get the actual instance
func (ChargeOrderResponsePaymentMethod) MarshalJSON ¶
func (src ChargeOrderResponsePaymentMethod) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ChargeOrderResponsePaymentMethod) UnmarshalJSON ¶
func (dst *ChargeOrderResponsePaymentMethod) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ChargeRequest ¶
type ChargeRequest struct {
Amount *int32 `json:"amount,omitempty"`
PaymentMethod ChargeRequestPaymentMethod `json:"payment_method"`
// Custom reference to add to the charge
ReferenceId *string `json:"reference_id,omitempty"`
AdditionalProperties map[string]interface{}
}
ChargeRequest The charges to be made
func NewChargeRequest ¶
func NewChargeRequest(paymentMethod ChargeRequestPaymentMethod) *ChargeRequest
NewChargeRequest instantiates a new ChargeRequest 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 NewChargeRequestWithDefaults ¶
func NewChargeRequestWithDefaults() *ChargeRequest
NewChargeRequestWithDefaults instantiates a new ChargeRequest 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 (*ChargeRequest) GetAmount ¶
func (o *ChargeRequest) GetAmount() int32
GetAmount returns the Amount field value if set, zero value otherwise.
func (*ChargeRequest) GetAmountOk ¶
func (o *ChargeRequest) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeRequest) GetPaymentMethod ¶
func (o *ChargeRequest) GetPaymentMethod() ChargeRequestPaymentMethod
GetPaymentMethod returns the PaymentMethod field value
func (*ChargeRequest) GetPaymentMethodOk ¶
func (o *ChargeRequest) GetPaymentMethodOk() (*ChargeRequestPaymentMethod, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field value and a boolean to check if the value has been set.
func (*ChargeRequest) GetReferenceId ¶
func (o *ChargeRequest) GetReferenceId() string
GetReferenceId returns the ReferenceId field value if set, zero value otherwise.
func (*ChargeRequest) GetReferenceIdOk ¶
func (o *ChargeRequest) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeRequest) HasAmount ¶
func (o *ChargeRequest) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*ChargeRequest) HasReferenceId ¶
func (o *ChargeRequest) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (ChargeRequest) MarshalJSON ¶
func (o ChargeRequest) MarshalJSON() ([]byte, error)
func (*ChargeRequest) SetAmount ¶
func (o *ChargeRequest) SetAmount(v int32)
SetAmount gets a reference to the given int32 and assigns it to the Amount field.
func (*ChargeRequest) SetPaymentMethod ¶
func (o *ChargeRequest) SetPaymentMethod(v ChargeRequestPaymentMethod)
SetPaymentMethod sets field value
func (*ChargeRequest) SetReferenceId ¶
func (o *ChargeRequest) SetReferenceId(v string)
SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.
func (ChargeRequest) ToMap ¶
func (o ChargeRequest) ToMap() (map[string]interface{}, error)
func (*ChargeRequest) UnmarshalJSON ¶
func (o *ChargeRequest) UnmarshalJSON(data []byte) (err error)
type ChargeRequestPaymentMethod ¶
type ChargeRequestPaymentMethod struct {
// Method expiration date as unix timestamp
ExpiresAt *int64 `json:"expires_at,omitempty"`
Type string `json:"type"`
PaymentSourceId *string `json:"payment_source_id,omitempty"`
AdditionalProperties map[string]interface{}
}
ChargeRequestPaymentMethod Payment method used in the charge. Go to the [payment methods](https://developers.femsa.com/reference/m%C3%A9todos-de-pago) section for more details
func NewChargeRequestPaymentMethod ¶
func NewChargeRequestPaymentMethod(type_ string) *ChargeRequestPaymentMethod
NewChargeRequestPaymentMethod instantiates a new ChargeRequestPaymentMethod 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 NewChargeRequestPaymentMethodWithDefaults ¶
func NewChargeRequestPaymentMethodWithDefaults() *ChargeRequestPaymentMethod
NewChargeRequestPaymentMethodWithDefaults instantiates a new ChargeRequestPaymentMethod 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 (*ChargeRequestPaymentMethod) GetExpiresAt ¶
func (o *ChargeRequestPaymentMethod) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*ChargeRequestPaymentMethod) GetExpiresAtOk ¶
func (o *ChargeRequestPaymentMethod) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeRequestPaymentMethod) GetPaymentSourceId ¶
func (o *ChargeRequestPaymentMethod) GetPaymentSourceId() string
GetPaymentSourceId returns the PaymentSourceId field value if set, zero value otherwise.
func (*ChargeRequestPaymentMethod) GetPaymentSourceIdOk ¶
func (o *ChargeRequestPaymentMethod) GetPaymentSourceIdOk() (*string, bool)
GetPaymentSourceIdOk returns a tuple with the PaymentSourceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeRequestPaymentMethod) GetType ¶
func (o *ChargeRequestPaymentMethod) GetType() string
GetType returns the Type field value
func (*ChargeRequestPaymentMethod) GetTypeOk ¶
func (o *ChargeRequestPaymentMethod) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ChargeRequestPaymentMethod) HasExpiresAt ¶
func (o *ChargeRequestPaymentMethod) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*ChargeRequestPaymentMethod) HasPaymentSourceId ¶
func (o *ChargeRequestPaymentMethod) HasPaymentSourceId() bool
HasPaymentSourceId returns a boolean if a field has been set.
func (ChargeRequestPaymentMethod) MarshalJSON ¶
func (o ChargeRequestPaymentMethod) MarshalJSON() ([]byte, error)
func (*ChargeRequestPaymentMethod) SetExpiresAt ¶
func (o *ChargeRequestPaymentMethod) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*ChargeRequestPaymentMethod) SetPaymentSourceId ¶
func (o *ChargeRequestPaymentMethod) SetPaymentSourceId(v string)
SetPaymentSourceId gets a reference to the given string and assigns it to the PaymentSourceId field.
func (*ChargeRequestPaymentMethod) SetType ¶
func (o *ChargeRequestPaymentMethod) SetType(v string)
SetType sets field value
func (ChargeRequestPaymentMethod) ToMap ¶
func (o ChargeRequestPaymentMethod) ToMap() (map[string]interface{}, error)
func (*ChargeRequestPaymentMethod) UnmarshalJSON ¶
func (o *ChargeRequestPaymentMethod) UnmarshalJSON(data []byte) (err error)
type ChargeResponse ¶
type ChargeResponse struct {
Amount *int32 `json:"amount,omitempty"`
Channel *ChargeResponseChannel `json:"channel,omitempty"`
CreatedAt *int64 `json:"created_at,omitempty"`
Currency *string `json:"currency,omitempty"`
CustomerId *string `json:"customer_id,omitempty"`
Description *string `json:"description,omitempty"`
DeviceFingerprint *string `json:"device_fingerprint,omitempty"`
FailureCode *string `json:"failure_code,omitempty"`
FailureMessage *string `json:"failure_message,omitempty"`
Id *string `json:"id,omitempty"`
Livemode *bool `json:"livemode,omitempty"`
Object *string `json:"object,omitempty"`
OrderId *string `json:"order_id,omitempty"`
PaidAt NullableInt32 `json:"paid_at,omitempty"`
PaymentMethod *ChargeResponsePaymentMethod `json:"payment_method,omitempty"`
// Reference ID of the charge
ReferenceId NullableString `json:"reference_id,omitempty"`
Refunds NullableChargeResponseRefunds `json:"refunds,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{}
}
ChargeResponse struct for ChargeResponse
func NewChargeResponse ¶
func NewChargeResponse() *ChargeResponse
NewChargeResponse instantiates a new ChargeResponse 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 NewChargeResponseWithDefaults ¶
func NewChargeResponseWithDefaults() *ChargeResponse
NewChargeResponseWithDefaults instantiates a new ChargeResponse 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 (*ChargeResponse) GetAmount ¶
func (o *ChargeResponse) GetAmount() int32
GetAmount returns the Amount field value if set, zero value otherwise.
func (*ChargeResponse) GetAmountOk ¶
func (o *ChargeResponse) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetChannel ¶
func (o *ChargeResponse) GetChannel() ChargeResponseChannel
GetChannel returns the Channel field value if set, zero value otherwise.
func (*ChargeResponse) GetChannelOk ¶
func (o *ChargeResponse) GetChannelOk() (*ChargeResponseChannel, bool)
GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetCreatedAt ¶
func (o *ChargeResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ChargeResponse) GetCreatedAtOk ¶
func (o *ChargeResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetCurrency ¶
func (o *ChargeResponse) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*ChargeResponse) GetCurrencyOk ¶
func (o *ChargeResponse) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetCustomerId ¶
func (o *ChargeResponse) GetCustomerId() string
GetCustomerId returns the CustomerId field value if set, zero value otherwise.
func (*ChargeResponse) GetCustomerIdOk ¶
func (o *ChargeResponse) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetDescription ¶
func (o *ChargeResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ChargeResponse) GetDescriptionOk ¶
func (o *ChargeResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetDeviceFingerprint ¶
func (o *ChargeResponse) GetDeviceFingerprint() string
GetDeviceFingerprint returns the DeviceFingerprint field value if set, zero value otherwise.
func (*ChargeResponse) GetDeviceFingerprintOk ¶
func (o *ChargeResponse) GetDeviceFingerprintOk() (*string, bool)
GetDeviceFingerprintOk returns a tuple with the DeviceFingerprint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetFailureCode ¶
func (o *ChargeResponse) GetFailureCode() string
GetFailureCode returns the FailureCode field value if set, zero value otherwise.
func (*ChargeResponse) GetFailureCodeOk ¶
func (o *ChargeResponse) GetFailureCodeOk() (*string, bool)
GetFailureCodeOk returns a tuple with the FailureCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetFailureMessage ¶
func (o *ChargeResponse) GetFailureMessage() string
GetFailureMessage returns the FailureMessage field value if set, zero value otherwise.
func (*ChargeResponse) GetFailureMessageOk ¶
func (o *ChargeResponse) GetFailureMessageOk() (*string, bool)
GetFailureMessageOk returns a tuple with the FailureMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetId ¶
func (o *ChargeResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ChargeResponse) GetIdOk ¶
func (o *ChargeResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetLivemode ¶
func (o *ChargeResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*ChargeResponse) GetLivemodeOk ¶
func (o *ChargeResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetObject ¶
func (o *ChargeResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ChargeResponse) GetObjectOk ¶
func (o *ChargeResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetOrderId ¶
func (o *ChargeResponse) GetOrderId() string
GetOrderId returns the OrderId field value if set, zero value otherwise.
func (*ChargeResponse) GetOrderIdOk ¶
func (o *ChargeResponse) GetOrderIdOk() (*string, bool)
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 (*ChargeResponse) GetPaidAt ¶
func (o *ChargeResponse) GetPaidAt() int32
GetPaidAt returns the PaidAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargeResponse) GetPaidAtOk ¶
func (o *ChargeResponse) GetPaidAtOk() (*int32, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChargeResponse) GetPaymentMethod ¶
func (o *ChargeResponse) GetPaymentMethod() ChargeResponsePaymentMethod
GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.
func (*ChargeResponse) GetPaymentMethodOk ¶
func (o *ChargeResponse) GetPaymentMethodOk() (*ChargeResponsePaymentMethod, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) GetReferenceId ¶
func (o *ChargeResponse) GetReferenceId() string
GetReferenceId returns the ReferenceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargeResponse) GetReferenceIdOk ¶
func (o *ChargeResponse) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId 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 (*ChargeResponse) GetRefunds ¶
func (o *ChargeResponse) GetRefunds() ChargeResponseRefunds
GetRefunds returns the Refunds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargeResponse) GetRefundsOk ¶
func (o *ChargeResponse) GetRefundsOk() (*ChargeResponseRefunds, bool)
GetRefundsOk returns a tuple with the Refunds 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 (*ChargeResponse) GetStatus ¶
func (o *ChargeResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ChargeResponse) GetStatusOk ¶
func (o *ChargeResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponse) HasAmount ¶
func (o *ChargeResponse) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*ChargeResponse) HasChannel ¶
func (o *ChargeResponse) HasChannel() bool
HasChannel returns a boolean if a field has been set.
func (*ChargeResponse) HasCreatedAt ¶
func (o *ChargeResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ChargeResponse) HasCurrency ¶
func (o *ChargeResponse) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*ChargeResponse) HasCustomerId ¶
func (o *ChargeResponse) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (*ChargeResponse) HasDescription ¶
func (o *ChargeResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ChargeResponse) HasDeviceFingerprint ¶
func (o *ChargeResponse) HasDeviceFingerprint() bool
HasDeviceFingerprint returns a boolean if a field has been set.
func (*ChargeResponse) HasFailureCode ¶
func (o *ChargeResponse) HasFailureCode() bool
HasFailureCode returns a boolean if a field has been set.
func (*ChargeResponse) HasFailureMessage ¶
func (o *ChargeResponse) HasFailureMessage() bool
HasFailureMessage returns a boolean if a field has been set.
func (*ChargeResponse) HasId ¶
func (o *ChargeResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ChargeResponse) HasLivemode ¶
func (o *ChargeResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*ChargeResponse) HasObject ¶
func (o *ChargeResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ChargeResponse) HasOrderId ¶
func (o *ChargeResponse) HasOrderId() bool
HasOrderId returns a boolean if a field has been set.
func (*ChargeResponse) HasPaidAt ¶
func (o *ChargeResponse) HasPaidAt() bool
HasPaidAt returns a boolean if a field has been set.
func (*ChargeResponse) HasPaymentMethod ¶
func (o *ChargeResponse) HasPaymentMethod() bool
HasPaymentMethod returns a boolean if a field has been set.
func (*ChargeResponse) HasReferenceId ¶
func (o *ChargeResponse) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (*ChargeResponse) HasRefunds ¶
func (o *ChargeResponse) HasRefunds() bool
HasRefunds returns a boolean if a field has been set.
func (*ChargeResponse) HasStatus ¶
func (o *ChargeResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ChargeResponse) MarshalJSON ¶
func (o ChargeResponse) MarshalJSON() ([]byte, error)
func (*ChargeResponse) SetAmount ¶
func (o *ChargeResponse) SetAmount(v int32)
SetAmount gets a reference to the given int32 and assigns it to the Amount field.
func (*ChargeResponse) SetChannel ¶
func (o *ChargeResponse) SetChannel(v ChargeResponseChannel)
SetChannel gets a reference to the given ChargeResponseChannel and assigns it to the Channel field.
func (*ChargeResponse) SetCreatedAt ¶
func (o *ChargeResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*ChargeResponse) SetCurrency ¶
func (o *ChargeResponse) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*ChargeResponse) SetCustomerId ¶
func (o *ChargeResponse) SetCustomerId(v string)
SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.
func (*ChargeResponse) SetDescription ¶
func (o *ChargeResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ChargeResponse) SetDeviceFingerprint ¶
func (o *ChargeResponse) SetDeviceFingerprint(v string)
SetDeviceFingerprint gets a reference to the given string and assigns it to the DeviceFingerprint field.
func (*ChargeResponse) SetFailureCode ¶
func (o *ChargeResponse) SetFailureCode(v string)
SetFailureCode gets a reference to the given string and assigns it to the FailureCode field.
func (*ChargeResponse) SetFailureMessage ¶
func (o *ChargeResponse) SetFailureMessage(v string)
SetFailureMessage gets a reference to the given string and assigns it to the FailureMessage field.
func (*ChargeResponse) SetId ¶
func (o *ChargeResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ChargeResponse) SetLivemode ¶
func (o *ChargeResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*ChargeResponse) SetObject ¶
func (o *ChargeResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ChargeResponse) SetOrderId ¶
func (o *ChargeResponse) SetOrderId(v string)
SetOrderId gets a reference to the given string and assigns it to the OrderId field.
func (*ChargeResponse) SetPaidAt ¶
func (o *ChargeResponse) SetPaidAt(v int32)
SetPaidAt gets a reference to the given NullableInt32 and assigns it to the PaidAt field.
func (*ChargeResponse) SetPaidAtNil ¶
func (o *ChargeResponse) SetPaidAtNil()
SetPaidAtNil sets the value for PaidAt to be an explicit nil
func (*ChargeResponse) SetPaymentMethod ¶
func (o *ChargeResponse) SetPaymentMethod(v ChargeResponsePaymentMethod)
SetPaymentMethod gets a reference to the given ChargeResponsePaymentMethod and assigns it to the PaymentMethod field.
func (*ChargeResponse) SetReferenceId ¶
func (o *ChargeResponse) SetReferenceId(v string)
SetReferenceId gets a reference to the given NullableString and assigns it to the ReferenceId field.
func (*ChargeResponse) SetReferenceIdNil ¶
func (o *ChargeResponse) SetReferenceIdNil()
SetReferenceIdNil sets the value for ReferenceId to be an explicit nil
func (*ChargeResponse) SetRefunds ¶
func (o *ChargeResponse) SetRefunds(v ChargeResponseRefunds)
SetRefunds gets a reference to the given NullableChargeResponseRefunds and assigns it to the Refunds field.
func (*ChargeResponse) SetRefundsNil ¶
func (o *ChargeResponse) SetRefundsNil()
SetRefundsNil sets the value for Refunds to be an explicit nil
func (*ChargeResponse) SetStatus ¶
func (o *ChargeResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (ChargeResponse) ToMap ¶
func (o ChargeResponse) ToMap() (map[string]interface{}, error)
func (*ChargeResponse) UnmarshalJSON ¶
func (o *ChargeResponse) UnmarshalJSON(data []byte) (err error)
func (*ChargeResponse) UnsetPaidAt ¶
func (o *ChargeResponse) UnsetPaidAt()
UnsetPaidAt ensures that no value is present for PaidAt, not even an explicit nil
func (*ChargeResponse) UnsetReferenceId ¶
func (o *ChargeResponse) UnsetReferenceId()
UnsetReferenceId ensures that no value is present for ReferenceId, not even an explicit nil
func (*ChargeResponse) UnsetRefunds ¶
func (o *ChargeResponse) UnsetRefunds()
UnsetRefunds ensures that no value is present for Refunds, not even an explicit nil
type ChargeResponseChannel ¶
type ChargeResponseChannel struct {
Segment *string `json:"segment,omitempty"`
CheckoutRequestId *string `json:"checkout_request_id,omitempty"`
CheckoutRequestType *string `json:"checkout_request_type,omitempty"`
Id *string `json:"id,omitempty"`
AdditionalProperties map[string]interface{}
}
ChargeResponseChannel struct for ChargeResponseChannel
func NewChargeResponseChannel ¶
func NewChargeResponseChannel() *ChargeResponseChannel
NewChargeResponseChannel instantiates a new ChargeResponseChannel 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 NewChargeResponseChannelWithDefaults ¶
func NewChargeResponseChannelWithDefaults() *ChargeResponseChannel
NewChargeResponseChannelWithDefaults instantiates a new ChargeResponseChannel 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 (*ChargeResponseChannel) GetCheckoutRequestId ¶
func (o *ChargeResponseChannel) GetCheckoutRequestId() string
GetCheckoutRequestId returns the CheckoutRequestId field value if set, zero value otherwise.
func (*ChargeResponseChannel) GetCheckoutRequestIdOk ¶
func (o *ChargeResponseChannel) GetCheckoutRequestIdOk() (*string, bool)
GetCheckoutRequestIdOk returns a tuple with the CheckoutRequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponseChannel) GetCheckoutRequestType ¶
func (o *ChargeResponseChannel) GetCheckoutRequestType() string
GetCheckoutRequestType returns the CheckoutRequestType field value if set, zero value otherwise.
func (*ChargeResponseChannel) GetCheckoutRequestTypeOk ¶
func (o *ChargeResponseChannel) GetCheckoutRequestTypeOk() (*string, bool)
GetCheckoutRequestTypeOk returns a tuple with the CheckoutRequestType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponseChannel) GetId ¶
func (o *ChargeResponseChannel) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ChargeResponseChannel) GetIdOk ¶
func (o *ChargeResponseChannel) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponseChannel) GetSegment ¶
func (o *ChargeResponseChannel) GetSegment() string
GetSegment returns the Segment field value if set, zero value otherwise.
func (*ChargeResponseChannel) GetSegmentOk ¶
func (o *ChargeResponseChannel) GetSegmentOk() (*string, bool)
GetSegmentOk returns a tuple with the Segment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponseChannel) HasCheckoutRequestId ¶
func (o *ChargeResponseChannel) HasCheckoutRequestId() bool
HasCheckoutRequestId returns a boolean if a field has been set.
func (*ChargeResponseChannel) HasCheckoutRequestType ¶
func (o *ChargeResponseChannel) HasCheckoutRequestType() bool
HasCheckoutRequestType returns a boolean if a field has been set.
func (*ChargeResponseChannel) HasId ¶
func (o *ChargeResponseChannel) HasId() bool
HasId returns a boolean if a field has been set.
func (*ChargeResponseChannel) HasSegment ¶
func (o *ChargeResponseChannel) HasSegment() bool
HasSegment returns a boolean if a field has been set.
func (ChargeResponseChannel) MarshalJSON ¶
func (o ChargeResponseChannel) MarshalJSON() ([]byte, error)
func (*ChargeResponseChannel) SetCheckoutRequestId ¶
func (o *ChargeResponseChannel) SetCheckoutRequestId(v string)
SetCheckoutRequestId gets a reference to the given string and assigns it to the CheckoutRequestId field.
func (*ChargeResponseChannel) SetCheckoutRequestType ¶
func (o *ChargeResponseChannel) SetCheckoutRequestType(v string)
SetCheckoutRequestType gets a reference to the given string and assigns it to the CheckoutRequestType field.
func (*ChargeResponseChannel) SetId ¶
func (o *ChargeResponseChannel) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ChargeResponseChannel) SetSegment ¶
func (o *ChargeResponseChannel) SetSegment(v string)
SetSegment gets a reference to the given string and assigns it to the Segment field.
func (ChargeResponseChannel) ToMap ¶
func (o ChargeResponseChannel) ToMap() (map[string]interface{}, error)
func (*ChargeResponseChannel) UnmarshalJSON ¶
func (o *ChargeResponseChannel) UnmarshalJSON(data []byte) (err error)
type ChargeResponsePaymentMethod ¶
type ChargeResponsePaymentMethod struct {
PaymentMethodCash *PaymentMethodCash
}
ChargeResponsePaymentMethod - struct for ChargeResponsePaymentMethod
func PaymentMethodCashAsChargeResponsePaymentMethod ¶
func PaymentMethodCashAsChargeResponsePaymentMethod(v *PaymentMethodCash) ChargeResponsePaymentMethod
PaymentMethodCashAsChargeResponsePaymentMethod is a convenience function that returns PaymentMethodCash wrapped in ChargeResponsePaymentMethod
func (*ChargeResponsePaymentMethod) GetActualInstance ¶
func (obj *ChargeResponsePaymentMethod) GetActualInstance() interface{}
Get the actual instance
func (ChargeResponsePaymentMethod) MarshalJSON ¶
func (src ChargeResponsePaymentMethod) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ChargeResponsePaymentMethod) UnmarshalJSON ¶
func (dst *ChargeResponsePaymentMethod) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ChargeResponseRefunds ¶
type ChargeResponseRefunds struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
// refunds
Data []ChargeResponseRefundsData `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
ChargeResponseRefunds struct for ChargeResponseRefunds
func NewChargeResponseRefunds ¶
func NewChargeResponseRefunds(hasMore bool, object string) *ChargeResponseRefunds
NewChargeResponseRefunds instantiates a new ChargeResponseRefunds 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 NewChargeResponseRefundsWithDefaults ¶
func NewChargeResponseRefundsWithDefaults() *ChargeResponseRefunds
NewChargeResponseRefundsWithDefaults instantiates a new ChargeResponseRefunds 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 (*ChargeResponseRefunds) GetData ¶
func (o *ChargeResponseRefunds) GetData() []ChargeResponseRefundsData
GetData returns the Data field value if set, zero value otherwise.
func (*ChargeResponseRefunds) GetDataOk ¶
func (o *ChargeResponseRefunds) GetDataOk() ([]ChargeResponseRefundsData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponseRefunds) GetHasMore ¶
func (o *ChargeResponseRefunds) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*ChargeResponseRefunds) GetHasMoreOk ¶
func (o *ChargeResponseRefunds) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*ChargeResponseRefunds) GetNextPageUrl ¶
func (o *ChargeResponseRefunds) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargeResponseRefunds) GetNextPageUrlOk ¶
func (o *ChargeResponseRefunds) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*ChargeResponseRefunds) GetObject ¶
func (o *ChargeResponseRefunds) GetObject() string
GetObject returns the Object field value
func (*ChargeResponseRefunds) GetObjectOk ¶
func (o *ChargeResponseRefunds) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*ChargeResponseRefunds) GetPreviousPageUrl ¶
func (o *ChargeResponseRefunds) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargeResponseRefunds) GetPreviousPageUrlOk ¶
func (o *ChargeResponseRefunds) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*ChargeResponseRefunds) HasData ¶
func (o *ChargeResponseRefunds) HasData() bool
HasData returns a boolean if a field has been set.
func (*ChargeResponseRefunds) HasNextPageUrl ¶
func (o *ChargeResponseRefunds) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*ChargeResponseRefunds) HasPreviousPageUrl ¶
func (o *ChargeResponseRefunds) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (ChargeResponseRefunds) MarshalJSON ¶
func (o ChargeResponseRefunds) MarshalJSON() ([]byte, error)
func (*ChargeResponseRefunds) SetData ¶
func (o *ChargeResponseRefunds) SetData(v []ChargeResponseRefundsData)
SetData gets a reference to the given []ChargeResponseRefundsData and assigns it to the Data field.
func (*ChargeResponseRefunds) SetHasMore ¶
func (o *ChargeResponseRefunds) SetHasMore(v bool)
SetHasMore sets field value
func (*ChargeResponseRefunds) SetNextPageUrl ¶
func (o *ChargeResponseRefunds) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*ChargeResponseRefunds) SetNextPageUrlNil ¶
func (o *ChargeResponseRefunds) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*ChargeResponseRefunds) SetObject ¶
func (o *ChargeResponseRefunds) SetObject(v string)
SetObject sets field value
func (*ChargeResponseRefunds) SetPreviousPageUrl ¶
func (o *ChargeResponseRefunds) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*ChargeResponseRefunds) SetPreviousPageUrlNil ¶
func (o *ChargeResponseRefunds) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (ChargeResponseRefunds) ToMap ¶
func (o ChargeResponseRefunds) ToMap() (map[string]interface{}, error)
func (*ChargeResponseRefunds) UnmarshalJSON ¶
func (o *ChargeResponseRefunds) UnmarshalJSON(data []byte) (err error)
func (*ChargeResponseRefunds) UnsetNextPageUrl ¶
func (o *ChargeResponseRefunds) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*ChargeResponseRefunds) UnsetPreviousPageUrl ¶
func (o *ChargeResponseRefunds) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type ChargeResponseRefundsData ¶
type ChargeResponseRefundsData struct {
Amount int64 `json:"amount"`
AuthCode *string `json:"auth_code,omitempty"`
CreatedAt int64 `json:"created_at"`
// refund expiration date
ExpiresAt *int64 `json:"expires_at,omitempty"`
Id string `json:"id"`
Object string `json:"object"`
// refund status
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{}
}
ChargeResponseRefundsData struct for ChargeResponseRefundsData
func NewChargeResponseRefundsData ¶
func NewChargeResponseRefundsData(amount int64, createdAt int64, id string, object string) *ChargeResponseRefundsData
NewChargeResponseRefundsData instantiates a new ChargeResponseRefundsData 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 NewChargeResponseRefundsDataWithDefaults ¶
func NewChargeResponseRefundsDataWithDefaults() *ChargeResponseRefundsData
NewChargeResponseRefundsDataWithDefaults instantiates a new ChargeResponseRefundsData 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 (*ChargeResponseRefundsData) GetAmount ¶
func (o *ChargeResponseRefundsData) GetAmount() int64
GetAmount returns the Amount field value
func (*ChargeResponseRefundsData) GetAmountOk ¶
func (o *ChargeResponseRefundsData) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*ChargeResponseRefundsData) GetAuthCode ¶
func (o *ChargeResponseRefundsData) GetAuthCode() string
GetAuthCode returns the AuthCode field value if set, zero value otherwise.
func (*ChargeResponseRefundsData) GetAuthCodeOk ¶
func (o *ChargeResponseRefundsData) GetAuthCodeOk() (*string, bool)
GetAuthCodeOk returns a tuple with the AuthCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponseRefundsData) GetCreatedAt ¶
func (o *ChargeResponseRefundsData) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*ChargeResponseRefundsData) GetCreatedAtOk ¶
func (o *ChargeResponseRefundsData) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ChargeResponseRefundsData) GetExpiresAt ¶
func (o *ChargeResponseRefundsData) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*ChargeResponseRefundsData) GetExpiresAtOk ¶
func (o *ChargeResponseRefundsData) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponseRefundsData) GetId ¶
func (o *ChargeResponseRefundsData) GetId() string
GetId returns the Id field value
func (*ChargeResponseRefundsData) GetIdOk ¶
func (o *ChargeResponseRefundsData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ChargeResponseRefundsData) GetObject ¶
func (o *ChargeResponseRefundsData) GetObject() string
GetObject returns the Object field value
func (*ChargeResponseRefundsData) GetObjectOk ¶
func (o *ChargeResponseRefundsData) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*ChargeResponseRefundsData) GetStatus ¶
func (o *ChargeResponseRefundsData) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ChargeResponseRefundsData) GetStatusOk ¶
func (o *ChargeResponseRefundsData) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeResponseRefundsData) HasAuthCode ¶
func (o *ChargeResponseRefundsData) HasAuthCode() bool
HasAuthCode returns a boolean if a field has been set.
func (*ChargeResponseRefundsData) HasExpiresAt ¶
func (o *ChargeResponseRefundsData) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*ChargeResponseRefundsData) HasStatus ¶
func (o *ChargeResponseRefundsData) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ChargeResponseRefundsData) MarshalJSON ¶
func (o ChargeResponseRefundsData) MarshalJSON() ([]byte, error)
func (*ChargeResponseRefundsData) SetAmount ¶
func (o *ChargeResponseRefundsData) SetAmount(v int64)
SetAmount sets field value
func (*ChargeResponseRefundsData) SetAuthCode ¶
func (o *ChargeResponseRefundsData) SetAuthCode(v string)
SetAuthCode gets a reference to the given string and assigns it to the AuthCode field.
func (*ChargeResponseRefundsData) SetCreatedAt ¶
func (o *ChargeResponseRefundsData) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*ChargeResponseRefundsData) SetExpiresAt ¶
func (o *ChargeResponseRefundsData) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*ChargeResponseRefundsData) SetId ¶
func (o *ChargeResponseRefundsData) SetId(v string)
SetId sets field value
func (*ChargeResponseRefundsData) SetObject ¶
func (o *ChargeResponseRefundsData) SetObject(v string)
SetObject sets field value
func (*ChargeResponseRefundsData) SetStatus ¶
func (o *ChargeResponseRefundsData) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (ChargeResponseRefundsData) ToMap ¶
func (o ChargeResponseRefundsData) ToMap() (map[string]interface{}, error)
func (*ChargeResponseRefundsData) UnmarshalJSON ¶
func (o *ChargeResponseRefundsData) UnmarshalJSON(data []byte) (err error)
type ChargeUpdateRequest ¶
type ChargeUpdateRequest struct {
// custom reference id
ReferenceId *string `json:"reference_id,omitempty"`
AdditionalProperties map[string]interface{}
}
ChargeUpdateRequest requested field for update a charge
func NewChargeUpdateRequest ¶
func NewChargeUpdateRequest() *ChargeUpdateRequest
NewChargeUpdateRequest instantiates a new ChargeUpdateRequest 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 NewChargeUpdateRequestWithDefaults ¶
func NewChargeUpdateRequestWithDefaults() *ChargeUpdateRequest
NewChargeUpdateRequestWithDefaults instantiates a new ChargeUpdateRequest 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 (*ChargeUpdateRequest) GetReferenceId ¶
func (o *ChargeUpdateRequest) GetReferenceId() string
GetReferenceId returns the ReferenceId field value if set, zero value otherwise.
func (*ChargeUpdateRequest) GetReferenceIdOk ¶
func (o *ChargeUpdateRequest) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargeUpdateRequest) HasReferenceId ¶
func (o *ChargeUpdateRequest) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (ChargeUpdateRequest) MarshalJSON ¶
func (o ChargeUpdateRequest) MarshalJSON() ([]byte, error)
func (*ChargeUpdateRequest) SetReferenceId ¶
func (o *ChargeUpdateRequest) SetReferenceId(v string)
SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.
func (ChargeUpdateRequest) ToMap ¶
func (o ChargeUpdateRequest) ToMap() (map[string]interface{}, error)
func (*ChargeUpdateRequest) UnmarshalJSON ¶
func (o *ChargeUpdateRequest) UnmarshalJSON(data []byte) (err error)
type ChargesAPI ¶
type ChargesAPI interface {
/*
GetCharges Get A List of Charges
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetChargesRequest
*/
GetCharges(ctx context.Context) ApiGetChargesRequest
// GetChargesExecute executes the request
// @return GetChargesResponse
GetChargesExecute(r ApiGetChargesRequest) (*GetChargesResponse, *http.Response, error)
/*
OrdersCreateCharge Create charge
Create charge for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiOrdersCreateChargeRequest
*/
OrdersCreateCharge(ctx context.Context, id string) ApiOrdersCreateChargeRequest
// OrdersCreateChargeExecute executes the request
// @return ChargeOrderResponse
OrdersCreateChargeExecute(r ApiOrdersCreateChargeRequest) (*ChargeOrderResponse, *http.Response, error)
/*
UpdateCharge Update a charge
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiUpdateChargeRequest
*/
UpdateCharge(ctx context.Context, id string) ApiUpdateChargeRequest
// UpdateChargeExecute executes the request
// @return ChargeResponse
UpdateChargeExecute(r ApiUpdateChargeRequest) (*ChargeResponse, *http.Response, error)
}
type ChargesAPIService ¶
type ChargesAPIService service
ChargesAPIService ChargesAPI service
func (*ChargesAPIService) GetCharges ¶
func (a *ChargesAPIService) GetCharges(ctx context.Context) ApiGetChargesRequest
GetCharges Get A List of Charges
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetChargesRequest
func (*ChargesAPIService) GetChargesExecute ¶
func (a *ChargesAPIService) GetChargesExecute(r ApiGetChargesRequest) (*GetChargesResponse, *http.Response, error)
Execute executes the request
@return GetChargesResponse
func (*ChargesAPIService) OrdersCreateCharge ¶
func (a *ChargesAPIService) OrdersCreateCharge(ctx context.Context, id string) ApiOrdersCreateChargeRequest
OrdersCreateCharge Create charge
Create charge for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiOrdersCreateChargeRequest
func (*ChargesAPIService) OrdersCreateChargeExecute ¶
func (a *ChargesAPIService) OrdersCreateChargeExecute(r ApiOrdersCreateChargeRequest) (*ChargeOrderResponse, *http.Response, error)
Execute executes the request
@return ChargeOrderResponse
func (*ChargesAPIService) UpdateCharge ¶
func (a *ChargesAPIService) UpdateCharge(ctx context.Context, id string) ApiUpdateChargeRequest
UpdateCharge Update a charge
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiUpdateChargeRequest
func (*ChargesAPIService) UpdateChargeExecute ¶
func (a *ChargesAPIService) UpdateChargeExecute(r ApiUpdateChargeRequest) (*ChargeResponse, *http.Response, error)
Execute executes the request
@return ChargeResponse
type ChargesDataResponse ¶
type ChargesDataResponse struct {
Amount *int32 `json:"amount,omitempty"`
Channel *ChargeResponseChannel `json:"channel,omitempty"`
CreatedAt *int64 `json:"created_at,omitempty"`
Currency *string `json:"currency,omitempty"`
CustomerId *string `json:"customer_id,omitempty"`
Description *string `json:"description,omitempty"`
DeviceFingerprint *string `json:"device_fingerprint,omitempty"`
FailureCode *string `json:"failure_code,omitempty"`
FailureMessage *string `json:"failure_message,omitempty"`
Id *string `json:"id,omitempty"`
Livemode *bool `json:"livemode,omitempty"`
Object *string `json:"object,omitempty"`
OrderId *string `json:"order_id,omitempty"`
PaidAt NullableInt32 `json:"paid_at,omitempty"`
PaymentMethod *ChargeResponsePaymentMethod `json:"payment_method,omitempty"`
// Reference ID of the charge
ReferenceId NullableString `json:"reference_id,omitempty"`
Refunds NullableChargeResponseRefunds `json:"refunds,omitempty"`
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{}
}
ChargesDataResponse struct for ChargesDataResponse
func NewChargesDataResponse ¶
func NewChargesDataResponse() *ChargesDataResponse
NewChargesDataResponse instantiates a new ChargesDataResponse 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 NewChargesDataResponseWithDefaults ¶
func NewChargesDataResponseWithDefaults() *ChargesDataResponse
NewChargesDataResponseWithDefaults instantiates a new ChargesDataResponse 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 (*ChargesDataResponse) GetAmount ¶
func (o *ChargesDataResponse) GetAmount() int32
GetAmount returns the Amount field value if set, zero value otherwise.
func (*ChargesDataResponse) GetAmountOk ¶
func (o *ChargesDataResponse) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetChannel ¶
func (o *ChargesDataResponse) GetChannel() ChargeResponseChannel
GetChannel returns the Channel field value if set, zero value otherwise.
func (*ChargesDataResponse) GetChannelOk ¶
func (o *ChargesDataResponse) GetChannelOk() (*ChargeResponseChannel, bool)
GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetCreatedAt ¶
func (o *ChargesDataResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ChargesDataResponse) GetCreatedAtOk ¶
func (o *ChargesDataResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetCurrency ¶
func (o *ChargesDataResponse) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*ChargesDataResponse) GetCurrencyOk ¶
func (o *ChargesDataResponse) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetCustomerId ¶
func (o *ChargesDataResponse) GetCustomerId() string
GetCustomerId returns the CustomerId field value if set, zero value otherwise.
func (*ChargesDataResponse) GetCustomerIdOk ¶
func (o *ChargesDataResponse) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetDescription ¶
func (o *ChargesDataResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ChargesDataResponse) GetDescriptionOk ¶
func (o *ChargesDataResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetDeviceFingerprint ¶
func (o *ChargesDataResponse) GetDeviceFingerprint() string
GetDeviceFingerprint returns the DeviceFingerprint field value if set, zero value otherwise.
func (*ChargesDataResponse) GetDeviceFingerprintOk ¶
func (o *ChargesDataResponse) GetDeviceFingerprintOk() (*string, bool)
GetDeviceFingerprintOk returns a tuple with the DeviceFingerprint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetFailureCode ¶
func (o *ChargesDataResponse) GetFailureCode() string
GetFailureCode returns the FailureCode field value if set, zero value otherwise.
func (*ChargesDataResponse) GetFailureCodeOk ¶
func (o *ChargesDataResponse) GetFailureCodeOk() (*string, bool)
GetFailureCodeOk returns a tuple with the FailureCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetFailureMessage ¶
func (o *ChargesDataResponse) GetFailureMessage() string
GetFailureMessage returns the FailureMessage field value if set, zero value otherwise.
func (*ChargesDataResponse) GetFailureMessageOk ¶
func (o *ChargesDataResponse) GetFailureMessageOk() (*string, bool)
GetFailureMessageOk returns a tuple with the FailureMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetId ¶
func (o *ChargesDataResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ChargesDataResponse) GetIdOk ¶
func (o *ChargesDataResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetLivemode ¶
func (o *ChargesDataResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*ChargesDataResponse) GetLivemodeOk ¶
func (o *ChargesDataResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetObject ¶
func (o *ChargesDataResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ChargesDataResponse) GetObjectOk ¶
func (o *ChargesDataResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetOrderId ¶
func (o *ChargesDataResponse) GetOrderId() string
GetOrderId returns the OrderId field value if set, zero value otherwise.
func (*ChargesDataResponse) GetOrderIdOk ¶
func (o *ChargesDataResponse) GetOrderIdOk() (*string, bool)
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 (*ChargesDataResponse) GetPaidAt ¶
func (o *ChargesDataResponse) GetPaidAt() int32
GetPaidAt returns the PaidAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargesDataResponse) GetPaidAtOk ¶
func (o *ChargesDataResponse) GetPaidAtOk() (*int32, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChargesDataResponse) GetPaymentMethod ¶
func (o *ChargesDataResponse) GetPaymentMethod() ChargeResponsePaymentMethod
GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.
func (*ChargesDataResponse) GetPaymentMethodOk ¶
func (o *ChargesDataResponse) GetPaymentMethodOk() (*ChargeResponsePaymentMethod, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) GetReferenceId ¶
func (o *ChargesDataResponse) GetReferenceId() string
GetReferenceId returns the ReferenceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargesDataResponse) GetReferenceIdOk ¶
func (o *ChargesDataResponse) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId 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 (*ChargesDataResponse) GetRefunds ¶
func (o *ChargesDataResponse) GetRefunds() ChargeResponseRefunds
GetRefunds returns the Refunds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChargesDataResponse) GetRefundsOk ¶
func (o *ChargesDataResponse) GetRefundsOk() (*ChargeResponseRefunds, bool)
GetRefundsOk returns a tuple with the Refunds 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 (*ChargesDataResponse) GetStatus ¶
func (o *ChargesDataResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ChargesDataResponse) GetStatusOk ¶
func (o *ChargesDataResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargesDataResponse) HasAmount ¶
func (o *ChargesDataResponse) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*ChargesDataResponse) HasChannel ¶
func (o *ChargesDataResponse) HasChannel() bool
HasChannel returns a boolean if a field has been set.
func (*ChargesDataResponse) HasCreatedAt ¶
func (o *ChargesDataResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ChargesDataResponse) HasCurrency ¶
func (o *ChargesDataResponse) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*ChargesDataResponse) HasCustomerId ¶
func (o *ChargesDataResponse) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (*ChargesDataResponse) HasDescription ¶
func (o *ChargesDataResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ChargesDataResponse) HasDeviceFingerprint ¶
func (o *ChargesDataResponse) HasDeviceFingerprint() bool
HasDeviceFingerprint returns a boolean if a field has been set.
func (*ChargesDataResponse) HasFailureCode ¶
func (o *ChargesDataResponse) HasFailureCode() bool
HasFailureCode returns a boolean if a field has been set.
func (*ChargesDataResponse) HasFailureMessage ¶
func (o *ChargesDataResponse) HasFailureMessage() bool
HasFailureMessage returns a boolean if a field has been set.
func (*ChargesDataResponse) HasId ¶
func (o *ChargesDataResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ChargesDataResponse) HasLivemode ¶
func (o *ChargesDataResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*ChargesDataResponse) HasObject ¶
func (o *ChargesDataResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ChargesDataResponse) HasOrderId ¶
func (o *ChargesDataResponse) HasOrderId() bool
HasOrderId returns a boolean if a field has been set.
func (*ChargesDataResponse) HasPaidAt ¶
func (o *ChargesDataResponse) HasPaidAt() bool
HasPaidAt returns a boolean if a field has been set.
func (*ChargesDataResponse) HasPaymentMethod ¶
func (o *ChargesDataResponse) HasPaymentMethod() bool
HasPaymentMethod returns a boolean if a field has been set.
func (*ChargesDataResponse) HasReferenceId ¶
func (o *ChargesDataResponse) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (*ChargesDataResponse) HasRefunds ¶
func (o *ChargesDataResponse) HasRefunds() bool
HasRefunds returns a boolean if a field has been set.
func (*ChargesDataResponse) HasStatus ¶
func (o *ChargesDataResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ChargesDataResponse) MarshalJSON ¶
func (o ChargesDataResponse) MarshalJSON() ([]byte, error)
func (*ChargesDataResponse) SetAmount ¶
func (o *ChargesDataResponse) SetAmount(v int32)
SetAmount gets a reference to the given int32 and assigns it to the Amount field.
func (*ChargesDataResponse) SetChannel ¶
func (o *ChargesDataResponse) SetChannel(v ChargeResponseChannel)
SetChannel gets a reference to the given ChargeResponseChannel and assigns it to the Channel field.
func (*ChargesDataResponse) SetCreatedAt ¶
func (o *ChargesDataResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*ChargesDataResponse) SetCurrency ¶
func (o *ChargesDataResponse) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*ChargesDataResponse) SetCustomerId ¶
func (o *ChargesDataResponse) SetCustomerId(v string)
SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.
func (*ChargesDataResponse) SetDescription ¶
func (o *ChargesDataResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ChargesDataResponse) SetDeviceFingerprint ¶
func (o *ChargesDataResponse) SetDeviceFingerprint(v string)
SetDeviceFingerprint gets a reference to the given string and assigns it to the DeviceFingerprint field.
func (*ChargesDataResponse) SetFailureCode ¶
func (o *ChargesDataResponse) SetFailureCode(v string)
SetFailureCode gets a reference to the given string and assigns it to the FailureCode field.
func (*ChargesDataResponse) SetFailureMessage ¶
func (o *ChargesDataResponse) SetFailureMessage(v string)
SetFailureMessage gets a reference to the given string and assigns it to the FailureMessage field.
func (*ChargesDataResponse) SetId ¶
func (o *ChargesDataResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ChargesDataResponse) SetLivemode ¶
func (o *ChargesDataResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*ChargesDataResponse) SetObject ¶
func (o *ChargesDataResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ChargesDataResponse) SetOrderId ¶
func (o *ChargesDataResponse) SetOrderId(v string)
SetOrderId gets a reference to the given string and assigns it to the OrderId field.
func (*ChargesDataResponse) SetPaidAt ¶
func (o *ChargesDataResponse) SetPaidAt(v int32)
SetPaidAt gets a reference to the given NullableInt32 and assigns it to the PaidAt field.
func (*ChargesDataResponse) SetPaidAtNil ¶
func (o *ChargesDataResponse) SetPaidAtNil()
SetPaidAtNil sets the value for PaidAt to be an explicit nil
func (*ChargesDataResponse) SetPaymentMethod ¶
func (o *ChargesDataResponse) SetPaymentMethod(v ChargeResponsePaymentMethod)
SetPaymentMethod gets a reference to the given ChargeResponsePaymentMethod and assigns it to the PaymentMethod field.
func (*ChargesDataResponse) SetReferenceId ¶
func (o *ChargesDataResponse) SetReferenceId(v string)
SetReferenceId gets a reference to the given NullableString and assigns it to the ReferenceId field.
func (*ChargesDataResponse) SetReferenceIdNil ¶
func (o *ChargesDataResponse) SetReferenceIdNil()
SetReferenceIdNil sets the value for ReferenceId to be an explicit nil
func (*ChargesDataResponse) SetRefunds ¶
func (o *ChargesDataResponse) SetRefunds(v ChargeResponseRefunds)
SetRefunds gets a reference to the given NullableChargeResponseRefunds and assigns it to the Refunds field.
func (*ChargesDataResponse) SetRefundsNil ¶
func (o *ChargesDataResponse) SetRefundsNil()
SetRefundsNil sets the value for Refunds to be an explicit nil
func (*ChargesDataResponse) SetStatus ¶
func (o *ChargesDataResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (ChargesDataResponse) ToMap ¶
func (o ChargesDataResponse) ToMap() (map[string]interface{}, error)
func (*ChargesDataResponse) UnmarshalJSON ¶
func (o *ChargesDataResponse) UnmarshalJSON(data []byte) (err error)
func (*ChargesDataResponse) UnsetPaidAt ¶
func (o *ChargesDataResponse) UnsetPaidAt()
UnsetPaidAt ensures that no value is present for PaidAt, not even an explicit nil
func (*ChargesDataResponse) UnsetReferenceId ¶
func (o *ChargesDataResponse) UnsetReferenceId()
UnsetReferenceId ensures that no value is present for ReferenceId, not even an explicit nil
func (*ChargesDataResponse) UnsetRefunds ¶
func (o *ChargesDataResponse) UnsetRefunds()
UnsetRefunds ensures that no value is present for Refunds, not even an explicit nil
type Checkout ¶
type Checkout struct {
// Those are the payment methods that will be available for the link
AllowedPaymentMethods []string `json:"allowed_payment_methods"`
// It is the time when the link will expire. It is expressed in seconds since the Unix epoch. The valid range is from 2 to 365 days (the valid range will be taken from the next day of the creation date at 00:01 hrs)
ExpiresAt int64 `json:"expires_at"`
// Reason for charge
Name string `json:"name"`
// This flag allows you to fill in the shipping information at checkout.
NeedsShippingContact *bool `json:"needs_shipping_contact,omitempty"`
// This flag allows you to specify if the link will be on demand.
OnDemandEnabled NullableBool `json:"on_demand_enabled,omitempty"`
OrderTemplate CheckoutOrderTemplate `json:"order_template"`
// It is the number of payments that can be made through the link.
PaymentsLimitCount *int32 `json:"payments_limit_count,omitempty"`
// false: single use. true: multiple payments
Recurrent bool `json:"recurrent"`
// It is the type of link that will be created. It must be a valid type.
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
Checkout It is a sub-resource of the Order model that can be stipulated in order to configure its corresponding checkout
func NewCheckout ¶
func NewCheckout(allowedPaymentMethods []string, expiresAt int64, name string, orderTemplate CheckoutOrderTemplate, recurrent bool, type_ string) *Checkout
NewCheckout instantiates a new Checkout 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 NewCheckoutWithDefaults ¶
func NewCheckoutWithDefaults() *Checkout
NewCheckoutWithDefaults instantiates a new Checkout 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 (*Checkout) GetAllowedPaymentMethods ¶
GetAllowedPaymentMethods returns the AllowedPaymentMethods field value
func (*Checkout) GetAllowedPaymentMethodsOk ¶
GetAllowedPaymentMethodsOk returns a tuple with the AllowedPaymentMethods field value and a boolean to check if the value has been set.
func (*Checkout) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value
func (*Checkout) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (*Checkout) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Checkout) GetNeedsShippingContact ¶
GetNeedsShippingContact returns the NeedsShippingContact field value if set, zero value otherwise.
func (*Checkout) GetNeedsShippingContactOk ¶
GetNeedsShippingContactOk returns a tuple with the NeedsShippingContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Checkout) GetOnDemandEnabled ¶
GetOnDemandEnabled returns the OnDemandEnabled field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Checkout) GetOnDemandEnabledOk ¶
GetOnDemandEnabledOk returns a tuple with the OnDemandEnabled 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 (*Checkout) GetOrderTemplate ¶
func (o *Checkout) GetOrderTemplate() CheckoutOrderTemplate
GetOrderTemplate returns the OrderTemplate field value
func (*Checkout) GetOrderTemplateOk ¶
func (o *Checkout) GetOrderTemplateOk() (*CheckoutOrderTemplate, bool)
GetOrderTemplateOk returns a tuple with the OrderTemplate field value and a boolean to check if the value has been set.
func (*Checkout) GetPaymentsLimitCount ¶
GetPaymentsLimitCount returns the PaymentsLimitCount field value if set, zero value otherwise.
func (*Checkout) GetPaymentsLimitCountOk ¶
GetPaymentsLimitCountOk returns a tuple with the PaymentsLimitCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Checkout) GetRecurrent ¶
GetRecurrent returns the Recurrent field value
func (*Checkout) GetRecurrentOk ¶
GetRecurrentOk returns a tuple with the Recurrent field value and a boolean to check if the value has been set.
func (*Checkout) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Checkout) HasNeedsShippingContact ¶
HasNeedsShippingContact returns a boolean if a field has been set.
func (*Checkout) HasOnDemandEnabled ¶
HasOnDemandEnabled returns a boolean if a field has been set.
func (*Checkout) HasPaymentsLimitCount ¶
HasPaymentsLimitCount returns a boolean if a field has been set.
func (Checkout) MarshalJSON ¶
func (*Checkout) SetAllowedPaymentMethods ¶
SetAllowedPaymentMethods sets field value
func (*Checkout) SetExpiresAt ¶
SetExpiresAt sets field value
func (*Checkout) SetNeedsShippingContact ¶
SetNeedsShippingContact gets a reference to the given bool and assigns it to the NeedsShippingContact field.
func (*Checkout) SetOnDemandEnabled ¶
SetOnDemandEnabled gets a reference to the given NullableBool and assigns it to the OnDemandEnabled field.
func (*Checkout) SetOnDemandEnabledNil ¶
func (o *Checkout) SetOnDemandEnabledNil()
SetOnDemandEnabledNil sets the value for OnDemandEnabled to be an explicit nil
func (*Checkout) SetOrderTemplate ¶
func (o *Checkout) SetOrderTemplate(v CheckoutOrderTemplate)
SetOrderTemplate sets field value
func (*Checkout) SetPaymentsLimitCount ¶
SetPaymentsLimitCount gets a reference to the given int32 and assigns it to the PaymentsLimitCount field.
func (*Checkout) SetRecurrent ¶
SetRecurrent sets field value
func (*Checkout) UnmarshalJSON ¶
func (*Checkout) UnsetOnDemandEnabled ¶
func (o *Checkout) UnsetOnDemandEnabled()
UnsetOnDemandEnabled ensures that no value is present for OnDemandEnabled, not even an explicit nil
type CheckoutOrderTemplate ¶
type CheckoutOrderTemplate struct {
// It is the currency in which the order will be created. It must be a valid ISO 4217 currency code.
Currency string `json:"currency"`
CustomerInfo *CheckoutOrderTemplateCustomerInfo `json:"customer_info,omitempty"`
// They are the products to buy. Each contains the \"unit price\" and \"quantity\" parameters that are used to calculate the total amount of the order.
LineItems []Product `json:"line_items"`
// It is a set of key-value pairs that you can attach to the order. It can be used to store additional information about the order in a structured format.
Metadata map[string]interface{} `json:"metadata,omitempty"`
AdditionalProperties map[string]interface{}
}
CheckoutOrderTemplate It maintains the attributes with which the order will be created when receiving a new payment.
func NewCheckoutOrderTemplate ¶
func NewCheckoutOrderTemplate(currency string, lineItems []Product) *CheckoutOrderTemplate
NewCheckoutOrderTemplate instantiates a new CheckoutOrderTemplate 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 NewCheckoutOrderTemplateWithDefaults ¶
func NewCheckoutOrderTemplateWithDefaults() *CheckoutOrderTemplate
NewCheckoutOrderTemplateWithDefaults instantiates a new CheckoutOrderTemplate 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 (*CheckoutOrderTemplate) GetCurrency ¶
func (o *CheckoutOrderTemplate) GetCurrency() string
GetCurrency returns the Currency field value
func (*CheckoutOrderTemplate) GetCurrencyOk ¶
func (o *CheckoutOrderTemplate) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*CheckoutOrderTemplate) GetCustomerInfo ¶
func (o *CheckoutOrderTemplate) GetCustomerInfo() CheckoutOrderTemplateCustomerInfo
GetCustomerInfo returns the CustomerInfo field value if set, zero value otherwise.
func (*CheckoutOrderTemplate) GetCustomerInfoOk ¶
func (o *CheckoutOrderTemplate) GetCustomerInfoOk() (*CheckoutOrderTemplateCustomerInfo, bool)
GetCustomerInfoOk returns a tuple with the CustomerInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutOrderTemplate) GetLineItems ¶
func (o *CheckoutOrderTemplate) GetLineItems() []Product
GetLineItems returns the LineItems field value
func (*CheckoutOrderTemplate) GetLineItemsOk ¶
func (o *CheckoutOrderTemplate) GetLineItemsOk() ([]Product, bool)
GetLineItemsOk returns a tuple with the LineItems field value and a boolean to check if the value has been set.
func (*CheckoutOrderTemplate) GetMetadata ¶
func (o *CheckoutOrderTemplate) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CheckoutOrderTemplate) GetMetadataOk ¶
func (o *CheckoutOrderTemplate) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutOrderTemplate) HasCustomerInfo ¶
func (o *CheckoutOrderTemplate) HasCustomerInfo() bool
HasCustomerInfo returns a boolean if a field has been set.
func (*CheckoutOrderTemplate) HasMetadata ¶
func (o *CheckoutOrderTemplate) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (CheckoutOrderTemplate) MarshalJSON ¶
func (o CheckoutOrderTemplate) MarshalJSON() ([]byte, error)
func (*CheckoutOrderTemplate) SetCurrency ¶
func (o *CheckoutOrderTemplate) SetCurrency(v string)
SetCurrency sets field value
func (*CheckoutOrderTemplate) SetCustomerInfo ¶
func (o *CheckoutOrderTemplate) SetCustomerInfo(v CheckoutOrderTemplateCustomerInfo)
SetCustomerInfo gets a reference to the given CheckoutOrderTemplateCustomerInfo and assigns it to the CustomerInfo field.
func (*CheckoutOrderTemplate) SetLineItems ¶
func (o *CheckoutOrderTemplate) SetLineItems(v []Product)
SetLineItems sets field value
func (*CheckoutOrderTemplate) SetMetadata ¶
func (o *CheckoutOrderTemplate) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (CheckoutOrderTemplate) ToMap ¶
func (o CheckoutOrderTemplate) ToMap() (map[string]interface{}, error)
func (*CheckoutOrderTemplate) UnmarshalJSON ¶
func (o *CheckoutOrderTemplate) UnmarshalJSON(data []byte) (err error)
type CheckoutOrderTemplateCustomerInfo ¶
type CheckoutOrderTemplateCustomerInfo struct {
CustomerInfo *CustomerInfo
CustomerInfoJustCustomerId *CustomerInfoJustCustomerId
}
CheckoutOrderTemplateCustomerInfo - It is the information of the customer who will be created when receiving a new payment.
func CustomerInfoAsCheckoutOrderTemplateCustomerInfo ¶
func CustomerInfoAsCheckoutOrderTemplateCustomerInfo(v *CustomerInfo) CheckoutOrderTemplateCustomerInfo
CustomerInfoAsCheckoutOrderTemplateCustomerInfo is a convenience function that returns CustomerInfo wrapped in CheckoutOrderTemplateCustomerInfo
func CustomerInfoJustCustomerIdAsCheckoutOrderTemplateCustomerInfo ¶
func CustomerInfoJustCustomerIdAsCheckoutOrderTemplateCustomerInfo(v *CustomerInfoJustCustomerId) CheckoutOrderTemplateCustomerInfo
CustomerInfoJustCustomerIdAsCheckoutOrderTemplateCustomerInfo is a convenience function that returns CustomerInfoJustCustomerId wrapped in CheckoutOrderTemplateCustomerInfo
func (*CheckoutOrderTemplateCustomerInfo) GetActualInstance ¶
func (obj *CheckoutOrderTemplateCustomerInfo) GetActualInstance() interface{}
Get the actual instance
func (CheckoutOrderTemplateCustomerInfo) MarshalJSON ¶
func (src CheckoutOrderTemplateCustomerInfo) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CheckoutOrderTemplateCustomerInfo) UnmarshalJSON ¶
func (dst *CheckoutOrderTemplateCustomerInfo) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CheckoutRequest ¶
type CheckoutRequest struct {
// Are the payment methods available for this link
AllowedPaymentMethods []string `json:"allowed_payment_methods"`
// Unix timestamp of checkout expiration
ExpiresAt *int64 `json:"expires_at,omitempty"`
// Redirection url back to the site in case of failed payment, applies only to HostedPayment.
FailureUrl *string `json:"failure_url,omitempty"`
// Reason for payment
Name *string `json:"name,omitempty"`
OnDemandEnabled *bool `json:"on_demand_enabled,omitempty"`
// Redirection url back to the site in case of successful payment, applies only to HostedPayment
SuccessUrl *string `json:"success_url,omitempty"`
// This field represents the type of checkout
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{}
}
CheckoutRequest Checkout(https://developers.femsa.com/v2.1.0/reference/payment-link) details
func NewCheckoutRequest ¶
func NewCheckoutRequest(allowedPaymentMethods []string) *CheckoutRequest
NewCheckoutRequest instantiates a new CheckoutRequest 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 NewCheckoutRequestWithDefaults ¶
func NewCheckoutRequestWithDefaults() *CheckoutRequest
NewCheckoutRequestWithDefaults instantiates a new CheckoutRequest 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 (*CheckoutRequest) GetAllowedPaymentMethods ¶
func (o *CheckoutRequest) GetAllowedPaymentMethods() []string
GetAllowedPaymentMethods returns the AllowedPaymentMethods field value
func (*CheckoutRequest) GetAllowedPaymentMethodsOk ¶
func (o *CheckoutRequest) GetAllowedPaymentMethodsOk() ([]string, bool)
GetAllowedPaymentMethodsOk returns a tuple with the AllowedPaymentMethods field value and a boolean to check if the value has been set.
func (*CheckoutRequest) GetExpiresAt ¶
func (o *CheckoutRequest) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*CheckoutRequest) GetExpiresAtOk ¶
func (o *CheckoutRequest) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutRequest) GetFailureUrl ¶
func (o *CheckoutRequest) GetFailureUrl() string
GetFailureUrl returns the FailureUrl field value if set, zero value otherwise.
func (*CheckoutRequest) GetFailureUrlOk ¶
func (o *CheckoutRequest) GetFailureUrlOk() (*string, bool)
GetFailureUrlOk returns a tuple with the FailureUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutRequest) GetName ¶
func (o *CheckoutRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CheckoutRequest) GetNameOk ¶
func (o *CheckoutRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutRequest) GetOnDemandEnabled ¶
func (o *CheckoutRequest) GetOnDemandEnabled() bool
GetOnDemandEnabled returns the OnDemandEnabled field value if set, zero value otherwise.
func (*CheckoutRequest) GetOnDemandEnabledOk ¶
func (o *CheckoutRequest) GetOnDemandEnabledOk() (*bool, bool)
GetOnDemandEnabledOk returns a tuple with the OnDemandEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutRequest) GetSuccessUrl ¶
func (o *CheckoutRequest) GetSuccessUrl() string
GetSuccessUrl returns the SuccessUrl field value if set, zero value otherwise.
func (*CheckoutRequest) GetSuccessUrlOk ¶
func (o *CheckoutRequest) GetSuccessUrlOk() (*string, bool)
GetSuccessUrlOk returns a tuple with the SuccessUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutRequest) GetType ¶
func (o *CheckoutRequest) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CheckoutRequest) GetTypeOk ¶
func (o *CheckoutRequest) 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 (*CheckoutRequest) HasExpiresAt ¶
func (o *CheckoutRequest) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*CheckoutRequest) HasFailureUrl ¶
func (o *CheckoutRequest) HasFailureUrl() bool
HasFailureUrl returns a boolean if a field has been set.
func (*CheckoutRequest) HasName ¶
func (o *CheckoutRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CheckoutRequest) HasOnDemandEnabled ¶
func (o *CheckoutRequest) HasOnDemandEnabled() bool
HasOnDemandEnabled returns a boolean if a field has been set.
func (*CheckoutRequest) HasSuccessUrl ¶
func (o *CheckoutRequest) HasSuccessUrl() bool
HasSuccessUrl returns a boolean if a field has been set.
func (*CheckoutRequest) HasType ¶
func (o *CheckoutRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (CheckoutRequest) MarshalJSON ¶
func (o CheckoutRequest) MarshalJSON() ([]byte, error)
func (*CheckoutRequest) SetAllowedPaymentMethods ¶
func (o *CheckoutRequest) SetAllowedPaymentMethods(v []string)
SetAllowedPaymentMethods sets field value
func (*CheckoutRequest) SetExpiresAt ¶
func (o *CheckoutRequest) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*CheckoutRequest) SetFailureUrl ¶
func (o *CheckoutRequest) SetFailureUrl(v string)
SetFailureUrl gets a reference to the given string and assigns it to the FailureUrl field.
func (*CheckoutRequest) SetName ¶
func (o *CheckoutRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CheckoutRequest) SetOnDemandEnabled ¶
func (o *CheckoutRequest) SetOnDemandEnabled(v bool)
SetOnDemandEnabled gets a reference to the given bool and assigns it to the OnDemandEnabled field.
func (*CheckoutRequest) SetSuccessUrl ¶
func (o *CheckoutRequest) SetSuccessUrl(v string)
SetSuccessUrl gets a reference to the given string and assigns it to the SuccessUrl field.
func (*CheckoutRequest) SetType ¶
func (o *CheckoutRequest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (CheckoutRequest) ToMap ¶
func (o CheckoutRequest) ToMap() (map[string]interface{}, error)
func (*CheckoutRequest) UnmarshalJSON ¶
func (o *CheckoutRequest) UnmarshalJSON(data []byte) (err error)
type CheckoutResponse ¶
type CheckoutResponse struct {
AllowedPaymentMethods []string `json:"allowed_payment_methods,omitempty"`
CanNotExpire *bool `json:"can_not_expire,omitempty"`
EmailsSent *int32 `json:"emails_sent,omitempty"`
ExpiresAt *int64 `json:"expires_at,omitempty"`
FailureUrl *string `json:"failure_url,omitempty"`
Id string `json:"id"`
Livemode bool `json:"livemode"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
// Reason for charge
Name string `json:"name"`
NeedsShippingContact *bool `json:"needs_shipping_contact,omitempty"`
Object string `json:"object"`
PaidPaymentsCount *int32 `json:"paid_payments_count,omitempty"`
PaymentsLimitCount NullableInt32 `json:"payments_limit_count,omitempty"`
Recurrent *bool `json:"recurrent,omitempty"`
Slug *string `json:"slug,omitempty"`
SmsSent *int32 `json:"sms_sent,omitempty"`
StartsAt *int32 `json:"starts_at,omitempty"`
Status *string `json:"status,omitempty"`
SuccessUrl *string `json:"success_url,omitempty"`
Type *string `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
CheckoutResponse checkout response
func NewCheckoutResponse ¶
func NewCheckoutResponse(id string, livemode bool, name string, object string) *CheckoutResponse
NewCheckoutResponse instantiates a new CheckoutResponse 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 NewCheckoutResponseWithDefaults ¶
func NewCheckoutResponseWithDefaults() *CheckoutResponse
NewCheckoutResponseWithDefaults instantiates a new CheckoutResponse 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 (*CheckoutResponse) GetAllowedPaymentMethods ¶
func (o *CheckoutResponse) GetAllowedPaymentMethods() []string
GetAllowedPaymentMethods returns the AllowedPaymentMethods field value if set, zero value otherwise.
func (*CheckoutResponse) GetAllowedPaymentMethodsOk ¶
func (o *CheckoutResponse) GetAllowedPaymentMethodsOk() ([]string, bool)
GetAllowedPaymentMethodsOk returns a tuple with the AllowedPaymentMethods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetCanNotExpire ¶
func (o *CheckoutResponse) GetCanNotExpire() bool
GetCanNotExpire returns the CanNotExpire field value if set, zero value otherwise.
func (*CheckoutResponse) GetCanNotExpireOk ¶
func (o *CheckoutResponse) GetCanNotExpireOk() (*bool, bool)
GetCanNotExpireOk returns a tuple with the CanNotExpire field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetEmailsSent ¶
func (o *CheckoutResponse) GetEmailsSent() int32
GetEmailsSent returns the EmailsSent field value if set, zero value otherwise.
func (*CheckoutResponse) GetEmailsSentOk ¶
func (o *CheckoutResponse) GetEmailsSentOk() (*int32, bool)
GetEmailsSentOk returns a tuple with the EmailsSent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetExpiresAt ¶
func (o *CheckoutResponse) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*CheckoutResponse) GetExpiresAtOk ¶
func (o *CheckoutResponse) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetFailureUrl ¶
func (o *CheckoutResponse) GetFailureUrl() string
GetFailureUrl returns the FailureUrl field value if set, zero value otherwise.
func (*CheckoutResponse) GetFailureUrlOk ¶
func (o *CheckoutResponse) GetFailureUrlOk() (*string, bool)
GetFailureUrlOk returns a tuple with the FailureUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetId ¶
func (o *CheckoutResponse) GetId() string
GetId returns the Id field value
func (*CheckoutResponse) GetIdOk ¶
func (o *CheckoutResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CheckoutResponse) GetLivemode ¶
func (o *CheckoutResponse) GetLivemode() bool
GetLivemode returns the Livemode field value
func (*CheckoutResponse) GetLivemodeOk ¶
func (o *CheckoutResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value and a boolean to check if the value has been set.
func (*CheckoutResponse) GetMetadata ¶
func (o *CheckoutResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CheckoutResponse) GetMetadataOk ¶
func (o *CheckoutResponse) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetName ¶
func (o *CheckoutResponse) GetName() string
GetName returns the Name field value
func (*CheckoutResponse) GetNameOk ¶
func (o *CheckoutResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CheckoutResponse) GetNeedsShippingContact ¶
func (o *CheckoutResponse) GetNeedsShippingContact() bool
GetNeedsShippingContact returns the NeedsShippingContact field value if set, zero value otherwise.
func (*CheckoutResponse) GetNeedsShippingContactOk ¶
func (o *CheckoutResponse) GetNeedsShippingContactOk() (*bool, bool)
GetNeedsShippingContactOk returns a tuple with the NeedsShippingContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetObject ¶
func (o *CheckoutResponse) GetObject() string
GetObject returns the Object field value
func (*CheckoutResponse) GetObjectOk ¶
func (o *CheckoutResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CheckoutResponse) GetPaidPaymentsCount ¶
func (o *CheckoutResponse) GetPaidPaymentsCount() int32
GetPaidPaymentsCount returns the PaidPaymentsCount field value if set, zero value otherwise.
func (*CheckoutResponse) GetPaidPaymentsCountOk ¶
func (o *CheckoutResponse) GetPaidPaymentsCountOk() (*int32, bool)
GetPaidPaymentsCountOk returns a tuple with the PaidPaymentsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetPaymentsLimitCount ¶
func (o *CheckoutResponse) GetPaymentsLimitCount() int32
GetPaymentsLimitCount returns the PaymentsLimitCount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CheckoutResponse) GetPaymentsLimitCountOk ¶
func (o *CheckoutResponse) GetPaymentsLimitCountOk() (*int32, bool)
GetPaymentsLimitCountOk returns a tuple with the PaymentsLimitCount 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 (*CheckoutResponse) GetRecurrent ¶
func (o *CheckoutResponse) GetRecurrent() bool
GetRecurrent returns the Recurrent field value if set, zero value otherwise.
func (*CheckoutResponse) GetRecurrentOk ¶
func (o *CheckoutResponse) GetRecurrentOk() (*bool, bool)
GetRecurrentOk returns a tuple with the Recurrent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetSlug ¶
func (o *CheckoutResponse) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*CheckoutResponse) GetSlugOk ¶
func (o *CheckoutResponse) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetSmsSent ¶
func (o *CheckoutResponse) GetSmsSent() int32
GetSmsSent returns the SmsSent field value if set, zero value otherwise.
func (*CheckoutResponse) GetSmsSentOk ¶
func (o *CheckoutResponse) GetSmsSentOk() (*int32, bool)
GetSmsSentOk returns a tuple with the SmsSent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetStartsAt ¶
func (o *CheckoutResponse) GetStartsAt() int32
GetStartsAt returns the StartsAt field value if set, zero value otherwise.
func (*CheckoutResponse) GetStartsAtOk ¶
func (o *CheckoutResponse) GetStartsAtOk() (*int32, bool)
GetStartsAtOk returns a tuple with the StartsAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetStatus ¶
func (o *CheckoutResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*CheckoutResponse) GetStatusOk ¶
func (o *CheckoutResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetSuccessUrl ¶
func (o *CheckoutResponse) GetSuccessUrl() string
GetSuccessUrl returns the SuccessUrl field value if set, zero value otherwise.
func (*CheckoutResponse) GetSuccessUrlOk ¶
func (o *CheckoutResponse) GetSuccessUrlOk() (*string, bool)
GetSuccessUrlOk returns a tuple with the SuccessUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) GetType ¶
func (o *CheckoutResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CheckoutResponse) GetTypeOk ¶
func (o *CheckoutResponse) 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 (*CheckoutResponse) GetUrl ¶
func (o *CheckoutResponse) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*CheckoutResponse) GetUrlOk ¶
func (o *CheckoutResponse) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutResponse) HasAllowedPaymentMethods ¶
func (o *CheckoutResponse) HasAllowedPaymentMethods() bool
HasAllowedPaymentMethods returns a boolean if a field has been set.
func (*CheckoutResponse) HasCanNotExpire ¶
func (o *CheckoutResponse) HasCanNotExpire() bool
HasCanNotExpire returns a boolean if a field has been set.
func (*CheckoutResponse) HasEmailsSent ¶
func (o *CheckoutResponse) HasEmailsSent() bool
HasEmailsSent returns a boolean if a field has been set.
func (*CheckoutResponse) HasExpiresAt ¶
func (o *CheckoutResponse) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*CheckoutResponse) HasFailureUrl ¶
func (o *CheckoutResponse) HasFailureUrl() bool
HasFailureUrl returns a boolean if a field has been set.
func (*CheckoutResponse) HasMetadata ¶
func (o *CheckoutResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CheckoutResponse) HasNeedsShippingContact ¶
func (o *CheckoutResponse) HasNeedsShippingContact() bool
HasNeedsShippingContact returns a boolean if a field has been set.
func (*CheckoutResponse) HasPaidPaymentsCount ¶
func (o *CheckoutResponse) HasPaidPaymentsCount() bool
HasPaidPaymentsCount returns a boolean if a field has been set.
func (*CheckoutResponse) HasPaymentsLimitCount ¶
func (o *CheckoutResponse) HasPaymentsLimitCount() bool
HasPaymentsLimitCount returns a boolean if a field has been set.
func (*CheckoutResponse) HasRecurrent ¶
func (o *CheckoutResponse) HasRecurrent() bool
HasRecurrent returns a boolean if a field has been set.
func (*CheckoutResponse) HasSlug ¶
func (o *CheckoutResponse) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (*CheckoutResponse) HasSmsSent ¶
func (o *CheckoutResponse) HasSmsSent() bool
HasSmsSent returns a boolean if a field has been set.
func (*CheckoutResponse) HasStartsAt ¶
func (o *CheckoutResponse) HasStartsAt() bool
HasStartsAt returns a boolean if a field has been set.
func (*CheckoutResponse) HasStatus ¶
func (o *CheckoutResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*CheckoutResponse) HasSuccessUrl ¶
func (o *CheckoutResponse) HasSuccessUrl() bool
HasSuccessUrl returns a boolean if a field has been set.
func (*CheckoutResponse) HasType ¶
func (o *CheckoutResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (*CheckoutResponse) HasUrl ¶
func (o *CheckoutResponse) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (CheckoutResponse) MarshalJSON ¶
func (o CheckoutResponse) MarshalJSON() ([]byte, error)
func (*CheckoutResponse) SetAllowedPaymentMethods ¶
func (o *CheckoutResponse) SetAllowedPaymentMethods(v []string)
SetAllowedPaymentMethods gets a reference to the given []string and assigns it to the AllowedPaymentMethods field.
func (*CheckoutResponse) SetCanNotExpire ¶
func (o *CheckoutResponse) SetCanNotExpire(v bool)
SetCanNotExpire gets a reference to the given bool and assigns it to the CanNotExpire field.
func (*CheckoutResponse) SetEmailsSent ¶
func (o *CheckoutResponse) SetEmailsSent(v int32)
SetEmailsSent gets a reference to the given int32 and assigns it to the EmailsSent field.
func (*CheckoutResponse) SetExpiresAt ¶
func (o *CheckoutResponse) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*CheckoutResponse) SetFailureUrl ¶
func (o *CheckoutResponse) SetFailureUrl(v string)
SetFailureUrl gets a reference to the given string and assigns it to the FailureUrl field.
func (*CheckoutResponse) SetLivemode ¶
func (o *CheckoutResponse) SetLivemode(v bool)
SetLivemode sets field value
func (*CheckoutResponse) SetMetadata ¶
func (o *CheckoutResponse) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*CheckoutResponse) SetName ¶
func (o *CheckoutResponse) SetName(v string)
SetName sets field value
func (*CheckoutResponse) SetNeedsShippingContact ¶
func (o *CheckoutResponse) SetNeedsShippingContact(v bool)
SetNeedsShippingContact gets a reference to the given bool and assigns it to the NeedsShippingContact field.
func (*CheckoutResponse) SetObject ¶
func (o *CheckoutResponse) SetObject(v string)
SetObject sets field value
func (*CheckoutResponse) SetPaidPaymentsCount ¶
func (o *CheckoutResponse) SetPaidPaymentsCount(v int32)
SetPaidPaymentsCount gets a reference to the given int32 and assigns it to the PaidPaymentsCount field.
func (*CheckoutResponse) SetPaymentsLimitCount ¶
func (o *CheckoutResponse) SetPaymentsLimitCount(v int32)
SetPaymentsLimitCount gets a reference to the given NullableInt32 and assigns it to the PaymentsLimitCount field.
func (*CheckoutResponse) SetPaymentsLimitCountNil ¶
func (o *CheckoutResponse) SetPaymentsLimitCountNil()
SetPaymentsLimitCountNil sets the value for PaymentsLimitCount to be an explicit nil
func (*CheckoutResponse) SetRecurrent ¶
func (o *CheckoutResponse) SetRecurrent(v bool)
SetRecurrent gets a reference to the given bool and assigns it to the Recurrent field.
func (*CheckoutResponse) SetSlug ¶
func (o *CheckoutResponse) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (*CheckoutResponse) SetSmsSent ¶
func (o *CheckoutResponse) SetSmsSent(v int32)
SetSmsSent gets a reference to the given int32 and assigns it to the SmsSent field.
func (*CheckoutResponse) SetStartsAt ¶
func (o *CheckoutResponse) SetStartsAt(v int32)
SetStartsAt gets a reference to the given int32 and assigns it to the StartsAt field.
func (*CheckoutResponse) SetStatus ¶
func (o *CheckoutResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*CheckoutResponse) SetSuccessUrl ¶
func (o *CheckoutResponse) SetSuccessUrl(v string)
SetSuccessUrl gets a reference to the given string and assigns it to the SuccessUrl field.
func (*CheckoutResponse) SetType ¶
func (o *CheckoutResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*CheckoutResponse) SetUrl ¶
func (o *CheckoutResponse) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (CheckoutResponse) ToMap ¶
func (o CheckoutResponse) ToMap() (map[string]interface{}, error)
func (*CheckoutResponse) UnmarshalJSON ¶
func (o *CheckoutResponse) UnmarshalJSON(data []byte) (err error)
func (*CheckoutResponse) UnsetPaymentsLimitCount ¶
func (o *CheckoutResponse) UnsetPaymentsLimitCount()
UnsetPaymentsLimitCount ensures that no value is present for PaymentsLimitCount, not even an explicit nil
type CheckoutsResponse ¶
type CheckoutsResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []CheckoutResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
CheckoutsResponse struct for CheckoutsResponse
func NewCheckoutsResponse ¶
func NewCheckoutsResponse(hasMore bool, object string) *CheckoutsResponse
NewCheckoutsResponse instantiates a new CheckoutsResponse 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 NewCheckoutsResponseWithDefaults ¶
func NewCheckoutsResponseWithDefaults() *CheckoutsResponse
NewCheckoutsResponseWithDefaults instantiates a new CheckoutsResponse 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 (*CheckoutsResponse) GetData ¶
func (o *CheckoutsResponse) GetData() []CheckoutResponse
GetData returns the Data field value if set, zero value otherwise.
func (*CheckoutsResponse) GetDataOk ¶
func (o *CheckoutsResponse) GetDataOk() ([]CheckoutResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckoutsResponse) GetHasMore ¶
func (o *CheckoutsResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*CheckoutsResponse) GetHasMoreOk ¶
func (o *CheckoutsResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*CheckoutsResponse) GetNextPageUrl ¶
func (o *CheckoutsResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CheckoutsResponse) GetNextPageUrlOk ¶
func (o *CheckoutsResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*CheckoutsResponse) GetObject ¶
func (o *CheckoutsResponse) GetObject() string
GetObject returns the Object field value
func (*CheckoutsResponse) GetObjectOk ¶
func (o *CheckoutsResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CheckoutsResponse) GetPreviousPageUrl ¶
func (o *CheckoutsResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CheckoutsResponse) GetPreviousPageUrlOk ¶
func (o *CheckoutsResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*CheckoutsResponse) HasData ¶
func (o *CheckoutsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*CheckoutsResponse) HasNextPageUrl ¶
func (o *CheckoutsResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*CheckoutsResponse) HasPreviousPageUrl ¶
func (o *CheckoutsResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (CheckoutsResponse) MarshalJSON ¶
func (o CheckoutsResponse) MarshalJSON() ([]byte, error)
func (*CheckoutsResponse) SetData ¶
func (o *CheckoutsResponse) SetData(v []CheckoutResponse)
SetData gets a reference to the given []CheckoutResponse and assigns it to the Data field.
func (*CheckoutsResponse) SetHasMore ¶
func (o *CheckoutsResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*CheckoutsResponse) SetNextPageUrl ¶
func (o *CheckoutsResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*CheckoutsResponse) SetNextPageUrlNil ¶
func (o *CheckoutsResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*CheckoutsResponse) SetObject ¶
func (o *CheckoutsResponse) SetObject(v string)
SetObject sets field value
func (*CheckoutsResponse) SetPreviousPageUrl ¶
func (o *CheckoutsResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*CheckoutsResponse) SetPreviousPageUrlNil ¶
func (o *CheckoutsResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (CheckoutsResponse) ToMap ¶
func (o CheckoutsResponse) ToMap() (map[string]interface{}, error)
func (*CheckoutsResponse) UnmarshalJSON ¶
func (o *CheckoutsResponse) UnmarshalJSON(data []byte) (err error)
func (*CheckoutsResponse) UnsetNextPageUrl ¶
func (o *CheckoutsResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*CheckoutsResponse) UnsetPreviousPageUrl ¶
func (o *CheckoutsResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type CompaniesAPI ¶
type CompaniesAPI interface {
/*
GetCompanies Get List of Companies
Consume the list of child companies. This is used for holding companies with several child entities.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetCompaniesRequest
*/
GetCompanies(ctx context.Context) ApiGetCompaniesRequest
// GetCompaniesExecute executes the request
// @return GetCompaniesResponse
GetCompaniesExecute(r ApiGetCompaniesRequest) (*GetCompaniesResponse, *http.Response, error)
/*
GetCompany Get Company
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetCompanyRequest
*/
GetCompany(ctx context.Context, id string) ApiGetCompanyRequest
// GetCompanyExecute executes the request
// @return CompanyResponse
GetCompanyExecute(r ApiGetCompanyRequest) (*CompanyResponse, *http.Response, error)
}
type CompaniesAPIService ¶
type CompaniesAPIService service
CompaniesAPIService CompaniesAPI service
func (*CompaniesAPIService) GetCompanies ¶
func (a *CompaniesAPIService) GetCompanies(ctx context.Context) ApiGetCompaniesRequest
GetCompanies Get List of Companies
Consume the list of child companies. This is used for holding companies with several child entities.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCompaniesRequest
func (*CompaniesAPIService) GetCompaniesExecute ¶
func (a *CompaniesAPIService) GetCompaniesExecute(r ApiGetCompaniesRequest) (*GetCompaniesResponse, *http.Response, error)
Execute executes the request
@return GetCompaniesResponse
func (*CompaniesAPIService) GetCompany ¶
func (a *CompaniesAPIService) GetCompany(ctx context.Context, id string) ApiGetCompanyRequest
GetCompany Get Company
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetCompanyRequest
func (*CompaniesAPIService) GetCompanyExecute ¶
func (a *CompaniesAPIService) GetCompanyExecute(r ApiGetCompanyRequest) (*CompanyResponse, *http.Response, error)
Execute executes the request
@return CompanyResponse
type CompanyFiscalInfoAddressResponse ¶
type CompanyFiscalInfoAddressResponse struct {
// The resource's type
Object *string `json:"object,omitempty"`
// Street Address
Street1 *string `json:"street1,omitempty"`
// Colonia
Street2 *string `json:"street2,omitempty"`
// City
City *string `json:"city,omitempty"`
// State
State *string `json:"state,omitempty"`
// Country
Country *string `json:"country,omitempty"`
// Postal code
PostalCode *string `json:"postal_code,omitempty"`
// Street number
ExternalNumber *string `json:"external_number,omitempty"`
// Unit / apartment number
InternalNumber *string `json:"internal_number,omitempty"`
AdditionalProperties map[string]interface{}
}
CompanyFiscalInfoAddressResponse Company fiscal info address model
func NewCompanyFiscalInfoAddressResponse ¶
func NewCompanyFiscalInfoAddressResponse() *CompanyFiscalInfoAddressResponse
NewCompanyFiscalInfoAddressResponse instantiates a new CompanyFiscalInfoAddressResponse 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 NewCompanyFiscalInfoAddressResponseWithDefaults ¶
func NewCompanyFiscalInfoAddressResponseWithDefaults() *CompanyFiscalInfoAddressResponse
NewCompanyFiscalInfoAddressResponseWithDefaults instantiates a new CompanyFiscalInfoAddressResponse 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 (*CompanyFiscalInfoAddressResponse) GetCity ¶
func (o *CompanyFiscalInfoAddressResponse) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*CompanyFiscalInfoAddressResponse) GetCityOk ¶
func (o *CompanyFiscalInfoAddressResponse) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoAddressResponse) GetCountry ¶
func (o *CompanyFiscalInfoAddressResponse) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*CompanyFiscalInfoAddressResponse) GetCountryOk ¶
func (o *CompanyFiscalInfoAddressResponse) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoAddressResponse) GetExternalNumber ¶
func (o *CompanyFiscalInfoAddressResponse) GetExternalNumber() string
GetExternalNumber returns the ExternalNumber field value if set, zero value otherwise.
func (*CompanyFiscalInfoAddressResponse) GetExternalNumberOk ¶
func (o *CompanyFiscalInfoAddressResponse) GetExternalNumberOk() (*string, bool)
GetExternalNumberOk returns a tuple with the ExternalNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoAddressResponse) GetInternalNumber ¶
func (o *CompanyFiscalInfoAddressResponse) GetInternalNumber() string
GetInternalNumber returns the InternalNumber field value if set, zero value otherwise.
func (*CompanyFiscalInfoAddressResponse) GetInternalNumberOk ¶
func (o *CompanyFiscalInfoAddressResponse) GetInternalNumberOk() (*string, bool)
GetInternalNumberOk returns a tuple with the InternalNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoAddressResponse) GetObject ¶
func (o *CompanyFiscalInfoAddressResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CompanyFiscalInfoAddressResponse) GetObjectOk ¶
func (o *CompanyFiscalInfoAddressResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoAddressResponse) GetPostalCode ¶
func (o *CompanyFiscalInfoAddressResponse) GetPostalCode() string
GetPostalCode returns the PostalCode field value if set, zero value otherwise.
func (*CompanyFiscalInfoAddressResponse) GetPostalCodeOk ¶
func (o *CompanyFiscalInfoAddressResponse) GetPostalCodeOk() (*string, bool)
GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoAddressResponse) GetState ¶
func (o *CompanyFiscalInfoAddressResponse) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*CompanyFiscalInfoAddressResponse) GetStateOk ¶
func (o *CompanyFiscalInfoAddressResponse) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoAddressResponse) GetStreet1 ¶
func (o *CompanyFiscalInfoAddressResponse) GetStreet1() string
GetStreet1 returns the Street1 field value if set, zero value otherwise.
func (*CompanyFiscalInfoAddressResponse) GetStreet1Ok ¶
func (o *CompanyFiscalInfoAddressResponse) GetStreet1Ok() (*string, bool)
GetStreet1Ok returns a tuple with the Street1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoAddressResponse) GetStreet2 ¶
func (o *CompanyFiscalInfoAddressResponse) GetStreet2() string
GetStreet2 returns the Street2 field value if set, zero value otherwise.
func (*CompanyFiscalInfoAddressResponse) GetStreet2Ok ¶
func (o *CompanyFiscalInfoAddressResponse) GetStreet2Ok() (*string, bool)
GetStreet2Ok returns a tuple with the Street2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoAddressResponse) HasCity ¶
func (o *CompanyFiscalInfoAddressResponse) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*CompanyFiscalInfoAddressResponse) HasCountry ¶
func (o *CompanyFiscalInfoAddressResponse) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*CompanyFiscalInfoAddressResponse) HasExternalNumber ¶
func (o *CompanyFiscalInfoAddressResponse) HasExternalNumber() bool
HasExternalNumber returns a boolean if a field has been set.
func (*CompanyFiscalInfoAddressResponse) HasInternalNumber ¶
func (o *CompanyFiscalInfoAddressResponse) HasInternalNumber() bool
HasInternalNumber returns a boolean if a field has been set.
func (*CompanyFiscalInfoAddressResponse) HasObject ¶
func (o *CompanyFiscalInfoAddressResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CompanyFiscalInfoAddressResponse) HasPostalCode ¶
func (o *CompanyFiscalInfoAddressResponse) HasPostalCode() bool
HasPostalCode returns a boolean if a field has been set.
func (*CompanyFiscalInfoAddressResponse) HasState ¶
func (o *CompanyFiscalInfoAddressResponse) HasState() bool
HasState returns a boolean if a field has been set.
func (*CompanyFiscalInfoAddressResponse) HasStreet1 ¶
func (o *CompanyFiscalInfoAddressResponse) HasStreet1() bool
HasStreet1 returns a boolean if a field has been set.
func (*CompanyFiscalInfoAddressResponse) HasStreet2 ¶
func (o *CompanyFiscalInfoAddressResponse) HasStreet2() bool
HasStreet2 returns a boolean if a field has been set.
func (CompanyFiscalInfoAddressResponse) MarshalJSON ¶
func (o CompanyFiscalInfoAddressResponse) MarshalJSON() ([]byte, error)
func (*CompanyFiscalInfoAddressResponse) SetCity ¶
func (o *CompanyFiscalInfoAddressResponse) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*CompanyFiscalInfoAddressResponse) SetCountry ¶
func (o *CompanyFiscalInfoAddressResponse) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*CompanyFiscalInfoAddressResponse) SetExternalNumber ¶
func (o *CompanyFiscalInfoAddressResponse) SetExternalNumber(v string)
SetExternalNumber gets a reference to the given string and assigns it to the ExternalNumber field.
func (*CompanyFiscalInfoAddressResponse) SetInternalNumber ¶
func (o *CompanyFiscalInfoAddressResponse) SetInternalNumber(v string)
SetInternalNumber gets a reference to the given string and assigns it to the InternalNumber field.
func (*CompanyFiscalInfoAddressResponse) SetObject ¶
func (o *CompanyFiscalInfoAddressResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CompanyFiscalInfoAddressResponse) SetPostalCode ¶
func (o *CompanyFiscalInfoAddressResponse) SetPostalCode(v string)
SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.
func (*CompanyFiscalInfoAddressResponse) SetState ¶
func (o *CompanyFiscalInfoAddressResponse) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*CompanyFiscalInfoAddressResponse) SetStreet1 ¶
func (o *CompanyFiscalInfoAddressResponse) SetStreet1(v string)
SetStreet1 gets a reference to the given string and assigns it to the Street1 field.
func (*CompanyFiscalInfoAddressResponse) SetStreet2 ¶
func (o *CompanyFiscalInfoAddressResponse) SetStreet2(v string)
SetStreet2 gets a reference to the given string and assigns it to the Street2 field.
func (CompanyFiscalInfoAddressResponse) ToMap ¶
func (o CompanyFiscalInfoAddressResponse) ToMap() (map[string]interface{}, error)
func (*CompanyFiscalInfoAddressResponse) UnmarshalJSON ¶
func (o *CompanyFiscalInfoAddressResponse) UnmarshalJSON(data []byte) (err error)
type CompanyFiscalInfoResponse ¶
type CompanyFiscalInfoResponse struct {
// The resource's type
Object *string `json:"object,omitempty"`
// Tax ID of the company
TaxId *string `json:"tax_id,omitempty"`
// Legal name of the company
LegalEntityName *string `json:"legal_entity_name,omitempty"`
// Business type of the company
BusinessType *string `json:"business_type,omitempty"`
// Phone number of the company
Phone *string `json:"phone,omitempty"`
// Business type if 'persona_fisica'
PhysicalPersonBusinessType *string `json:"physical_person_business_type,omitempty"`
Address *CompanyFiscalInfoAddressResponse `json:"address,omitempty"`
AdditionalProperties map[string]interface{}
}
CompanyFiscalInfoResponse Company fiscal info model
func NewCompanyFiscalInfoResponse ¶
func NewCompanyFiscalInfoResponse() *CompanyFiscalInfoResponse
NewCompanyFiscalInfoResponse instantiates a new CompanyFiscalInfoResponse 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 NewCompanyFiscalInfoResponseWithDefaults ¶
func NewCompanyFiscalInfoResponseWithDefaults() *CompanyFiscalInfoResponse
NewCompanyFiscalInfoResponseWithDefaults instantiates a new CompanyFiscalInfoResponse 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 (*CompanyFiscalInfoResponse) GetAddress ¶
func (o *CompanyFiscalInfoResponse) GetAddress() CompanyFiscalInfoAddressResponse
GetAddress returns the Address field value if set, zero value otherwise.
func (*CompanyFiscalInfoResponse) GetAddressOk ¶
func (o *CompanyFiscalInfoResponse) GetAddressOk() (*CompanyFiscalInfoAddressResponse, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoResponse) GetBusinessType ¶
func (o *CompanyFiscalInfoResponse) GetBusinessType() string
GetBusinessType returns the BusinessType field value if set, zero value otherwise.
func (*CompanyFiscalInfoResponse) GetBusinessTypeOk ¶
func (o *CompanyFiscalInfoResponse) GetBusinessTypeOk() (*string, bool)
GetBusinessTypeOk returns a tuple with the BusinessType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoResponse) GetLegalEntityName ¶
func (o *CompanyFiscalInfoResponse) GetLegalEntityName() string
GetLegalEntityName returns the LegalEntityName field value if set, zero value otherwise.
func (*CompanyFiscalInfoResponse) GetLegalEntityNameOk ¶
func (o *CompanyFiscalInfoResponse) GetLegalEntityNameOk() (*string, bool)
GetLegalEntityNameOk returns a tuple with the LegalEntityName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoResponse) GetObject ¶
func (o *CompanyFiscalInfoResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CompanyFiscalInfoResponse) GetObjectOk ¶
func (o *CompanyFiscalInfoResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoResponse) GetPhone ¶
func (o *CompanyFiscalInfoResponse) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CompanyFiscalInfoResponse) GetPhoneOk ¶
func (o *CompanyFiscalInfoResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoResponse) GetPhysicalPersonBusinessType ¶
func (o *CompanyFiscalInfoResponse) GetPhysicalPersonBusinessType() string
GetPhysicalPersonBusinessType returns the PhysicalPersonBusinessType field value if set, zero value otherwise.
func (*CompanyFiscalInfoResponse) GetPhysicalPersonBusinessTypeOk ¶
func (o *CompanyFiscalInfoResponse) GetPhysicalPersonBusinessTypeOk() (*string, bool)
GetPhysicalPersonBusinessTypeOk returns a tuple with the PhysicalPersonBusinessType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoResponse) GetTaxId ¶
func (o *CompanyFiscalInfoResponse) GetTaxId() string
GetTaxId returns the TaxId field value if set, zero value otherwise.
func (*CompanyFiscalInfoResponse) GetTaxIdOk ¶
func (o *CompanyFiscalInfoResponse) GetTaxIdOk() (*string, bool)
GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyFiscalInfoResponse) HasAddress ¶
func (o *CompanyFiscalInfoResponse) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*CompanyFiscalInfoResponse) HasBusinessType ¶
func (o *CompanyFiscalInfoResponse) HasBusinessType() bool
HasBusinessType returns a boolean if a field has been set.
func (*CompanyFiscalInfoResponse) HasLegalEntityName ¶
func (o *CompanyFiscalInfoResponse) HasLegalEntityName() bool
HasLegalEntityName returns a boolean if a field has been set.
func (*CompanyFiscalInfoResponse) HasObject ¶
func (o *CompanyFiscalInfoResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CompanyFiscalInfoResponse) HasPhone ¶
func (o *CompanyFiscalInfoResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CompanyFiscalInfoResponse) HasPhysicalPersonBusinessType ¶
func (o *CompanyFiscalInfoResponse) HasPhysicalPersonBusinessType() bool
HasPhysicalPersonBusinessType returns a boolean if a field has been set.
func (*CompanyFiscalInfoResponse) HasTaxId ¶
func (o *CompanyFiscalInfoResponse) HasTaxId() bool
HasTaxId returns a boolean if a field has been set.
func (CompanyFiscalInfoResponse) MarshalJSON ¶
func (o CompanyFiscalInfoResponse) MarshalJSON() ([]byte, error)
func (*CompanyFiscalInfoResponse) SetAddress ¶
func (o *CompanyFiscalInfoResponse) SetAddress(v CompanyFiscalInfoAddressResponse)
SetAddress gets a reference to the given CompanyFiscalInfoAddressResponse and assigns it to the Address field.
func (*CompanyFiscalInfoResponse) SetBusinessType ¶
func (o *CompanyFiscalInfoResponse) SetBusinessType(v string)
SetBusinessType gets a reference to the given string and assigns it to the BusinessType field.
func (*CompanyFiscalInfoResponse) SetLegalEntityName ¶
func (o *CompanyFiscalInfoResponse) SetLegalEntityName(v string)
SetLegalEntityName gets a reference to the given string and assigns it to the LegalEntityName field.
func (*CompanyFiscalInfoResponse) SetObject ¶
func (o *CompanyFiscalInfoResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CompanyFiscalInfoResponse) SetPhone ¶
func (o *CompanyFiscalInfoResponse) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CompanyFiscalInfoResponse) SetPhysicalPersonBusinessType ¶
func (o *CompanyFiscalInfoResponse) SetPhysicalPersonBusinessType(v string)
SetPhysicalPersonBusinessType gets a reference to the given string and assigns it to the PhysicalPersonBusinessType field.
func (*CompanyFiscalInfoResponse) SetTaxId ¶
func (o *CompanyFiscalInfoResponse) SetTaxId(v string)
SetTaxId gets a reference to the given string and assigns it to the TaxId field.
func (CompanyFiscalInfoResponse) ToMap ¶
func (o CompanyFiscalInfoResponse) ToMap() (map[string]interface{}, error)
func (*CompanyFiscalInfoResponse) UnmarshalJSON ¶
func (o *CompanyFiscalInfoResponse) UnmarshalJSON(data []byte) (err error)
type CompanyPayoutDestinationResponse ¶
type CompanyPayoutDestinationResponse struct {
// The resource's type
Object *string `json:"object,omitempty"`
// currency of the receiving account
Currency *string `json:"currency,omitempty"`
// Name of the account holder
AccountHolderName *string `json:"account_holder_name,omitempty"`
// Name of the bank
Bank *string `json:"bank,omitempty"`
// Type of the payout destination
Type *string `json:"type,omitempty"`
// Account number of the receiving account
AccountNumber *string `json:"account_number,omitempty"`
AdditionalProperties map[string]interface{}
}
CompanyPayoutDestinationResponse Company payout destination model
func NewCompanyPayoutDestinationResponse ¶
func NewCompanyPayoutDestinationResponse() *CompanyPayoutDestinationResponse
NewCompanyPayoutDestinationResponse instantiates a new CompanyPayoutDestinationResponse 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 NewCompanyPayoutDestinationResponseWithDefaults ¶
func NewCompanyPayoutDestinationResponseWithDefaults() *CompanyPayoutDestinationResponse
NewCompanyPayoutDestinationResponseWithDefaults instantiates a new CompanyPayoutDestinationResponse 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 (*CompanyPayoutDestinationResponse) GetAccountHolderName ¶
func (o *CompanyPayoutDestinationResponse) GetAccountHolderName() string
GetAccountHolderName returns the AccountHolderName field value if set, zero value otherwise.
func (*CompanyPayoutDestinationResponse) GetAccountHolderNameOk ¶
func (o *CompanyPayoutDestinationResponse) GetAccountHolderNameOk() (*string, bool)
GetAccountHolderNameOk returns a tuple with the AccountHolderName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyPayoutDestinationResponse) GetAccountNumber ¶
func (o *CompanyPayoutDestinationResponse) GetAccountNumber() string
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*CompanyPayoutDestinationResponse) GetAccountNumberOk ¶
func (o *CompanyPayoutDestinationResponse) GetAccountNumberOk() (*string, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyPayoutDestinationResponse) GetBank ¶
func (o *CompanyPayoutDestinationResponse) GetBank() string
GetBank returns the Bank field value if set, zero value otherwise.
func (*CompanyPayoutDestinationResponse) GetBankOk ¶
func (o *CompanyPayoutDestinationResponse) GetBankOk() (*string, bool)
GetBankOk returns a tuple with the Bank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyPayoutDestinationResponse) GetCurrency ¶
func (o *CompanyPayoutDestinationResponse) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*CompanyPayoutDestinationResponse) GetCurrencyOk ¶
func (o *CompanyPayoutDestinationResponse) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyPayoutDestinationResponse) GetObject ¶
func (o *CompanyPayoutDestinationResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CompanyPayoutDestinationResponse) GetObjectOk ¶
func (o *CompanyPayoutDestinationResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyPayoutDestinationResponse) GetType ¶
func (o *CompanyPayoutDestinationResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CompanyPayoutDestinationResponse) GetTypeOk ¶
func (o *CompanyPayoutDestinationResponse) 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 (*CompanyPayoutDestinationResponse) HasAccountHolderName ¶
func (o *CompanyPayoutDestinationResponse) HasAccountHolderName() bool
HasAccountHolderName returns a boolean if a field has been set.
func (*CompanyPayoutDestinationResponse) HasAccountNumber ¶
func (o *CompanyPayoutDestinationResponse) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*CompanyPayoutDestinationResponse) HasBank ¶
func (o *CompanyPayoutDestinationResponse) HasBank() bool
HasBank returns a boolean if a field has been set.
func (*CompanyPayoutDestinationResponse) HasCurrency ¶
func (o *CompanyPayoutDestinationResponse) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*CompanyPayoutDestinationResponse) HasObject ¶
func (o *CompanyPayoutDestinationResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CompanyPayoutDestinationResponse) HasType ¶
func (o *CompanyPayoutDestinationResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (CompanyPayoutDestinationResponse) MarshalJSON ¶
func (o CompanyPayoutDestinationResponse) MarshalJSON() ([]byte, error)
func (*CompanyPayoutDestinationResponse) SetAccountHolderName ¶
func (o *CompanyPayoutDestinationResponse) SetAccountHolderName(v string)
SetAccountHolderName gets a reference to the given string and assigns it to the AccountHolderName field.
func (*CompanyPayoutDestinationResponse) SetAccountNumber ¶
func (o *CompanyPayoutDestinationResponse) SetAccountNumber(v string)
SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (*CompanyPayoutDestinationResponse) SetBank ¶
func (o *CompanyPayoutDestinationResponse) SetBank(v string)
SetBank gets a reference to the given string and assigns it to the Bank field.
func (*CompanyPayoutDestinationResponse) SetCurrency ¶
func (o *CompanyPayoutDestinationResponse) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*CompanyPayoutDestinationResponse) SetObject ¶
func (o *CompanyPayoutDestinationResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CompanyPayoutDestinationResponse) SetType ¶
func (o *CompanyPayoutDestinationResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (CompanyPayoutDestinationResponse) ToMap ¶
func (o CompanyPayoutDestinationResponse) ToMap() (map[string]interface{}, error)
func (*CompanyPayoutDestinationResponse) UnmarshalJSON ¶
func (o *CompanyPayoutDestinationResponse) UnmarshalJSON(data []byte) (err error)
type CompanyResponse ¶
type CompanyResponse struct {
// The child company's unique identifier
Id *string `json:"id,omitempty"`
// The resource's creation date (unix timestamp)
CreatedAt *int64 `json:"created_at,omitempty"`
// The child company's name
Name *string `json:"name,omitempty"`
// The resource's type
Object *string `json:"object,omitempty"`
// Id of the parent company
ParentCompanyId *string `json:"parent_company_id,omitempty"`
// Whether the parent company's fiscal data is to be used for liquidation and tax purposes
UseParentFiscalData *bool `json:"use_parent_fiscal_data,omitempty"`
PayoutDestination *CompanyPayoutDestinationResponse `json:"payout_destination,omitempty"`
FiscalInfo *CompanyFiscalInfoResponse `json:"fiscal_info,omitempty"`
AdditionalProperties map[string]interface{}
}
CompanyResponse Company model
func NewCompanyResponse ¶
func NewCompanyResponse() *CompanyResponse
NewCompanyResponse instantiates a new CompanyResponse 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 NewCompanyResponseWithDefaults ¶
func NewCompanyResponseWithDefaults() *CompanyResponse
NewCompanyResponseWithDefaults instantiates a new CompanyResponse 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 (*CompanyResponse) GetCreatedAt ¶
func (o *CompanyResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CompanyResponse) GetCreatedAtOk ¶
func (o *CompanyResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyResponse) GetFiscalInfo ¶
func (o *CompanyResponse) GetFiscalInfo() CompanyFiscalInfoResponse
GetFiscalInfo returns the FiscalInfo field value if set, zero value otherwise.
func (*CompanyResponse) GetFiscalInfoOk ¶
func (o *CompanyResponse) GetFiscalInfoOk() (*CompanyFiscalInfoResponse, bool)
GetFiscalInfoOk returns a tuple with the FiscalInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyResponse) GetId ¶
func (o *CompanyResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CompanyResponse) GetIdOk ¶
func (o *CompanyResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyResponse) GetName ¶
func (o *CompanyResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CompanyResponse) GetNameOk ¶
func (o *CompanyResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyResponse) GetObject ¶
func (o *CompanyResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CompanyResponse) GetObjectOk ¶
func (o *CompanyResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyResponse) GetParentCompanyId ¶
func (o *CompanyResponse) GetParentCompanyId() string
GetParentCompanyId returns the ParentCompanyId field value if set, zero value otherwise.
func (*CompanyResponse) GetParentCompanyIdOk ¶
func (o *CompanyResponse) GetParentCompanyIdOk() (*string, bool)
GetParentCompanyIdOk returns a tuple with the ParentCompanyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyResponse) GetPayoutDestination ¶
func (o *CompanyResponse) GetPayoutDestination() CompanyPayoutDestinationResponse
GetPayoutDestination returns the PayoutDestination field value if set, zero value otherwise.
func (*CompanyResponse) GetPayoutDestinationOk ¶
func (o *CompanyResponse) GetPayoutDestinationOk() (*CompanyPayoutDestinationResponse, bool)
GetPayoutDestinationOk returns a tuple with the PayoutDestination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyResponse) GetUseParentFiscalData ¶
func (o *CompanyResponse) GetUseParentFiscalData() bool
GetUseParentFiscalData returns the UseParentFiscalData field value if set, zero value otherwise.
func (*CompanyResponse) GetUseParentFiscalDataOk ¶
func (o *CompanyResponse) GetUseParentFiscalDataOk() (*bool, bool)
GetUseParentFiscalDataOk returns a tuple with the UseParentFiscalData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompanyResponse) HasCreatedAt ¶
func (o *CompanyResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CompanyResponse) HasFiscalInfo ¶
func (o *CompanyResponse) HasFiscalInfo() bool
HasFiscalInfo returns a boolean if a field has been set.
func (*CompanyResponse) HasId ¶
func (o *CompanyResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*CompanyResponse) HasName ¶
func (o *CompanyResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*CompanyResponse) HasObject ¶
func (o *CompanyResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CompanyResponse) HasParentCompanyId ¶
func (o *CompanyResponse) HasParentCompanyId() bool
HasParentCompanyId returns a boolean if a field has been set.
func (*CompanyResponse) HasPayoutDestination ¶
func (o *CompanyResponse) HasPayoutDestination() bool
HasPayoutDestination returns a boolean if a field has been set.
func (*CompanyResponse) HasUseParentFiscalData ¶
func (o *CompanyResponse) HasUseParentFiscalData() bool
HasUseParentFiscalData returns a boolean if a field has been set.
func (CompanyResponse) MarshalJSON ¶
func (o CompanyResponse) MarshalJSON() ([]byte, error)
func (*CompanyResponse) SetCreatedAt ¶
func (o *CompanyResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*CompanyResponse) SetFiscalInfo ¶
func (o *CompanyResponse) SetFiscalInfo(v CompanyFiscalInfoResponse)
SetFiscalInfo gets a reference to the given CompanyFiscalInfoResponse and assigns it to the FiscalInfo field.
func (*CompanyResponse) SetId ¶
func (o *CompanyResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CompanyResponse) SetName ¶
func (o *CompanyResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CompanyResponse) SetObject ¶
func (o *CompanyResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CompanyResponse) SetParentCompanyId ¶
func (o *CompanyResponse) SetParentCompanyId(v string)
SetParentCompanyId gets a reference to the given string and assigns it to the ParentCompanyId field.
func (*CompanyResponse) SetPayoutDestination ¶
func (o *CompanyResponse) SetPayoutDestination(v CompanyPayoutDestinationResponse)
SetPayoutDestination gets a reference to the given CompanyPayoutDestinationResponse and assigns it to the PayoutDestination field.
func (*CompanyResponse) SetUseParentFiscalData ¶
func (o *CompanyResponse) SetUseParentFiscalData(v bool)
SetUseParentFiscalData gets a reference to the given bool and assigns it to the UseParentFiscalData field.
func (CompanyResponse) ToMap ¶
func (o CompanyResponse) ToMap() (map[string]interface{}, error)
func (*CompanyResponse) UnmarshalJSON ¶
func (o *CompanyResponse) UnmarshalJSON(data []byte) (err error)
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 CreateCustomerFiscalEntitiesResponse ¶
type CreateCustomerFiscalEntitiesResponse struct {
Address CustomerAddress `json:"address"`
TaxId *string `json:"tax_id,omitempty"`
Email *string `json:"email,omitempty"`
Phone *string `json:"phone,omitempty"`
Metadata map[string]map[string]interface{} `json:"metadata,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Id string `json:"id"`
Object string `json:"object"`
CreatedAt int64 `json:"created_at"`
ParentId *string `json:"parent_id,omitempty"`
Default *bool `json:"default,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateCustomerFiscalEntitiesResponse struct for CreateCustomerFiscalEntitiesResponse
func NewCreateCustomerFiscalEntitiesResponse ¶
func NewCreateCustomerFiscalEntitiesResponse(address CustomerAddress, id string, object string, createdAt int64) *CreateCustomerFiscalEntitiesResponse
NewCreateCustomerFiscalEntitiesResponse instantiates a new CreateCustomerFiscalEntitiesResponse 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 NewCreateCustomerFiscalEntitiesResponseWithDefaults ¶
func NewCreateCustomerFiscalEntitiesResponseWithDefaults() *CreateCustomerFiscalEntitiesResponse
NewCreateCustomerFiscalEntitiesResponseWithDefaults instantiates a new CreateCustomerFiscalEntitiesResponse 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 (*CreateCustomerFiscalEntitiesResponse) GetAddress ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetAddress() CustomerAddress
GetAddress returns the Address field value
func (*CreateCustomerFiscalEntitiesResponse) GetAddressOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetAddressOk() (*CustomerAddress, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetCompanyName ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetCompanyName() string
GetCompanyName returns the CompanyName field value if set, zero value otherwise.
func (*CreateCustomerFiscalEntitiesResponse) GetCompanyNameOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetCompanyNameOk() (*string, bool)
GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetCreatedAt ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*CreateCustomerFiscalEntitiesResponse) GetCreatedAtOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetDefault ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*CreateCustomerFiscalEntitiesResponse) GetDefaultOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetEmail ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*CreateCustomerFiscalEntitiesResponse) GetEmailOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetId ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetId() string
GetId returns the Id field value
func (*CreateCustomerFiscalEntitiesResponse) GetIdOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetMetadata ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetMetadata() map[string]map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CreateCustomerFiscalEntitiesResponse) GetMetadataOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetMetadataOk() (map[string]map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetObject ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetObject() string
GetObject returns the Object field value
func (*CreateCustomerFiscalEntitiesResponse) GetObjectOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetParentId ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*CreateCustomerFiscalEntitiesResponse) GetParentIdOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetPhone ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CreateCustomerFiscalEntitiesResponse) GetPhoneOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) GetTaxId ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetTaxId() string
GetTaxId returns the TaxId field value if set, zero value otherwise.
func (*CreateCustomerFiscalEntitiesResponse) GetTaxIdOk ¶
func (o *CreateCustomerFiscalEntitiesResponse) GetTaxIdOk() (*string, bool)
GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomerFiscalEntitiesResponse) HasCompanyName ¶
func (o *CreateCustomerFiscalEntitiesResponse) HasCompanyName() bool
HasCompanyName returns a boolean if a field has been set.
func (*CreateCustomerFiscalEntitiesResponse) HasDefault ¶
func (o *CreateCustomerFiscalEntitiesResponse) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*CreateCustomerFiscalEntitiesResponse) HasEmail ¶
func (o *CreateCustomerFiscalEntitiesResponse) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*CreateCustomerFiscalEntitiesResponse) HasMetadata ¶
func (o *CreateCustomerFiscalEntitiesResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CreateCustomerFiscalEntitiesResponse) HasParentId ¶
func (o *CreateCustomerFiscalEntitiesResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*CreateCustomerFiscalEntitiesResponse) HasPhone ¶
func (o *CreateCustomerFiscalEntitiesResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CreateCustomerFiscalEntitiesResponse) HasTaxId ¶
func (o *CreateCustomerFiscalEntitiesResponse) HasTaxId() bool
HasTaxId returns a boolean if a field has been set.
func (CreateCustomerFiscalEntitiesResponse) MarshalJSON ¶
func (o CreateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
func (*CreateCustomerFiscalEntitiesResponse) SetAddress ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetAddress(v CustomerAddress)
SetAddress sets field value
func (*CreateCustomerFiscalEntitiesResponse) SetCompanyName ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetCompanyName(v string)
SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.
func (*CreateCustomerFiscalEntitiesResponse) SetCreatedAt ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*CreateCustomerFiscalEntitiesResponse) SetDefault ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*CreateCustomerFiscalEntitiesResponse) SetEmail ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*CreateCustomerFiscalEntitiesResponse) SetId ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetId(v string)
SetId sets field value
func (*CreateCustomerFiscalEntitiesResponse) SetMetadata ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetMetadata(v map[string]map[string]interface{})
SetMetadata gets a reference to the given map[string]map[string]interface{} and assigns it to the Metadata field.
func (*CreateCustomerFiscalEntitiesResponse) SetObject ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetObject(v string)
SetObject sets field value
func (*CreateCustomerFiscalEntitiesResponse) SetParentId ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*CreateCustomerFiscalEntitiesResponse) SetPhone ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CreateCustomerFiscalEntitiesResponse) SetTaxId ¶
func (o *CreateCustomerFiscalEntitiesResponse) SetTaxId(v string)
SetTaxId gets a reference to the given string and assigns it to the TaxId field.
func (CreateCustomerFiscalEntitiesResponse) ToMap ¶
func (o CreateCustomerFiscalEntitiesResponse) ToMap() (map[string]interface{}, error)
func (*CreateCustomerFiscalEntitiesResponse) UnmarshalJSON ¶
func (o *CreateCustomerFiscalEntitiesResponse) UnmarshalJSON(data []byte) (err error)
type CreateCustomerPaymentMethodsRequest ¶
type CreateCustomerPaymentMethodsRequest struct {
PaymentMethodCashRequest *PaymentMethodCashRequest
}
CreateCustomerPaymentMethodsRequest - Contains details of the payment methods that the customer has active or has used in Femsa
func PaymentMethodCashRequestAsCreateCustomerPaymentMethodsRequest ¶
func PaymentMethodCashRequestAsCreateCustomerPaymentMethodsRequest(v *PaymentMethodCashRequest) CreateCustomerPaymentMethodsRequest
PaymentMethodCashRequestAsCreateCustomerPaymentMethodsRequest is a convenience function that returns PaymentMethodCashRequest wrapped in CreateCustomerPaymentMethodsRequest
func (*CreateCustomerPaymentMethodsRequest) GetActualInstance ¶
func (obj *CreateCustomerPaymentMethodsRequest) GetActualInstance() interface{}
Get the actual instance
func (CreateCustomerPaymentMethodsRequest) MarshalJSON ¶
func (src CreateCustomerPaymentMethodsRequest) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateCustomerPaymentMethodsRequest) UnmarshalJSON ¶
func (dst *CreateCustomerPaymentMethodsRequest) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CreateCustomerPaymentMethodsResponse ¶
type CreateCustomerPaymentMethodsResponse struct {
PaymentMethodCashResponse *PaymentMethodCashResponse
}
CreateCustomerPaymentMethodsResponse - struct for CreateCustomerPaymentMethodsResponse
func PaymentMethodCashResponseAsCreateCustomerPaymentMethodsResponse ¶
func PaymentMethodCashResponseAsCreateCustomerPaymentMethodsResponse(v *PaymentMethodCashResponse) CreateCustomerPaymentMethodsResponse
PaymentMethodCashResponseAsCreateCustomerPaymentMethodsResponse is a convenience function that returns PaymentMethodCashResponse wrapped in CreateCustomerPaymentMethodsResponse
func (*CreateCustomerPaymentMethodsResponse) GetActualInstance ¶
func (obj *CreateCustomerPaymentMethodsResponse) GetActualInstance() interface{}
Get the actual instance
func (CreateCustomerPaymentMethodsResponse) MarshalJSON ¶
func (src CreateCustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateCustomerPaymentMethodsResponse) UnmarshalJSON ¶
func (dst *CreateCustomerPaymentMethodsResponse) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type Customer ¶
type Customer struct {
AntifraudInfo NullableCustomerAntifraudInfo `json:"antifraud_info,omitempty"`
// It is a value that allows identifying if the email is corporate or not.
Corporate *bool `json:"corporate,omitempty"`
// It is an undefined value.
CustomReference *string `json:"custom_reference,omitempty"`
// An email address is a series of customizable characters followed by a universal Internet symbol, the at symbol (@), the name of a host server, and a web domain ending (.mx, .com, .org, . net, etc).
Email string `json:"email"`
// It is a parameter that allows to identify in the response, the Femsa ID of a payment method (payment_id)
DefaultPaymentSourceId *string `json:"default_payment_source_id,omitempty"`
// It is a parameter that allows to identify in the response, the Femsa ID of the shipping address (shipping_contact)
DefaultShippingContactId *string `json:"default_shipping_contact_id,omitempty"`
FiscalEntities []CustomerFiscalEntitiesRequest `json:"fiscal_entities,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
// Client's name
Name string `json:"name"`
// Contains details of the payment methods that the customer has active or has used in Femsa
PaymentSources []CustomerPaymentMethodsRequest `json:"payment_sources,omitempty"`
// Is the customer's phone number
Phone string `json:"phone"`
// Contains the detail of the shipping addresses that the client has active or has used in Femsa
ShippingContacts []CustomerShippingContacts `json:"shipping_contacts,omitempty"`
AdditionalProperties map[string]interface{}
}
Customer a customer
func NewCustomer ¶
NewCustomer instantiates a new Customer 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 NewCustomerWithDefaults ¶
func NewCustomerWithDefaults() *Customer
NewCustomerWithDefaults instantiates a new Customer 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 (*Customer) GetAntifraudInfo ¶
func (o *Customer) GetAntifraudInfo() CustomerAntifraudInfo
GetAntifraudInfo returns the AntifraudInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Customer) GetAntifraudInfoOk ¶
func (o *Customer) GetAntifraudInfoOk() (*CustomerAntifraudInfo, bool)
GetAntifraudInfoOk returns a tuple with the AntifraudInfo 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 (*Customer) GetCorporate ¶
GetCorporate returns the Corporate field value if set, zero value otherwise.
func (*Customer) GetCorporateOk ¶
GetCorporateOk returns a tuple with the Corporate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Customer) GetCustomReference ¶
GetCustomReference returns the CustomReference field value if set, zero value otherwise.
func (*Customer) GetCustomReferenceOk ¶
GetCustomReferenceOk returns a tuple with the CustomReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Customer) GetDefaultPaymentSourceId ¶
GetDefaultPaymentSourceId returns the DefaultPaymentSourceId field value if set, zero value otherwise.
func (*Customer) GetDefaultPaymentSourceIdOk ¶
GetDefaultPaymentSourceIdOk returns a tuple with the DefaultPaymentSourceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Customer) GetDefaultShippingContactId ¶
GetDefaultShippingContactId returns the DefaultShippingContactId field value if set, zero value otherwise.
func (*Customer) GetDefaultShippingContactIdOk ¶
GetDefaultShippingContactIdOk returns a tuple with the DefaultShippingContactId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Customer) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*Customer) GetFiscalEntities ¶
func (o *Customer) GetFiscalEntities() []CustomerFiscalEntitiesRequest
GetFiscalEntities returns the FiscalEntities field value if set, zero value otherwise.
func (*Customer) GetFiscalEntitiesOk ¶
func (o *Customer) GetFiscalEntitiesOk() ([]CustomerFiscalEntitiesRequest, bool)
GetFiscalEntitiesOk returns a tuple with the FiscalEntities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Customer) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Customer) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Customer) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Customer) GetPaymentSources ¶
func (o *Customer) GetPaymentSources() []CustomerPaymentMethodsRequest
GetPaymentSources returns the PaymentSources field value if set, zero value otherwise.
func (*Customer) GetPaymentSourcesOk ¶
func (o *Customer) GetPaymentSourcesOk() ([]CustomerPaymentMethodsRequest, bool)
GetPaymentSourcesOk returns a tuple with the PaymentSources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Customer) GetPhoneOk ¶
GetPhoneOk returns a tuple with the Phone field value and a boolean to check if the value has been set.
func (*Customer) GetShippingContacts ¶
func (o *Customer) GetShippingContacts() []CustomerShippingContacts
GetShippingContacts returns the ShippingContacts field value if set, zero value otherwise.
func (*Customer) GetShippingContactsOk ¶
func (o *Customer) GetShippingContactsOk() ([]CustomerShippingContacts, bool)
GetShippingContactsOk returns a tuple with the ShippingContacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Customer) HasAntifraudInfo ¶
HasAntifraudInfo returns a boolean if a field has been set.
func (*Customer) HasCorporate ¶
HasCorporate returns a boolean if a field has been set.
func (*Customer) HasCustomReference ¶
HasCustomReference returns a boolean if a field has been set.
func (*Customer) HasDefaultPaymentSourceId ¶
HasDefaultPaymentSourceId returns a boolean if a field has been set.
func (*Customer) HasDefaultShippingContactId ¶
HasDefaultShippingContactId returns a boolean if a field has been set.
func (*Customer) HasFiscalEntities ¶
HasFiscalEntities returns a boolean if a field has been set.
func (*Customer) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*Customer) HasPaymentSources ¶
HasPaymentSources returns a boolean if a field has been set.
func (*Customer) HasShippingContacts ¶
HasShippingContacts returns a boolean if a field has been set.
func (Customer) MarshalJSON ¶
func (*Customer) SetAntifraudInfo ¶
func (o *Customer) SetAntifraudInfo(v CustomerAntifraudInfo)
SetAntifraudInfo gets a reference to the given NullableCustomerAntifraudInfo and assigns it to the AntifraudInfo field.
func (*Customer) SetAntifraudInfoNil ¶
func (o *Customer) SetAntifraudInfoNil()
SetAntifraudInfoNil sets the value for AntifraudInfo to be an explicit nil
func (*Customer) SetCorporate ¶
SetCorporate gets a reference to the given bool and assigns it to the Corporate field.
func (*Customer) SetCustomReference ¶
SetCustomReference gets a reference to the given string and assigns it to the CustomReference field.
func (*Customer) SetDefaultPaymentSourceId ¶
SetDefaultPaymentSourceId gets a reference to the given string and assigns it to the DefaultPaymentSourceId field.
func (*Customer) SetDefaultShippingContactId ¶
SetDefaultShippingContactId gets a reference to the given string and assigns it to the DefaultShippingContactId field.
func (*Customer) SetFiscalEntities ¶
func (o *Customer) SetFiscalEntities(v []CustomerFiscalEntitiesRequest)
SetFiscalEntities gets a reference to the given []CustomerFiscalEntitiesRequest and assigns it to the FiscalEntities field.
func (*Customer) SetMetadata ¶
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*Customer) SetPaymentSources ¶
func (o *Customer) SetPaymentSources(v []CustomerPaymentMethodsRequest)
SetPaymentSources gets a reference to the given []CustomerPaymentMethodsRequest and assigns it to the PaymentSources field.
func (*Customer) SetShippingContacts ¶
func (o *Customer) SetShippingContacts(v []CustomerShippingContacts)
SetShippingContacts gets a reference to the given []CustomerShippingContacts and assigns it to the ShippingContacts field.
func (*Customer) UnmarshalJSON ¶
func (*Customer) UnsetAntifraudInfo ¶
func (o *Customer) UnsetAntifraudInfo()
UnsetAntifraudInfo ensures that no value is present for AntifraudInfo, not even an explicit nil
type CustomerAddress ¶
type CustomerAddress struct {
Street1 string `json:"street1"`
Street2 *string `json:"street2,omitempty"`
PostalCode string `json:"postal_code"`
City string `json:"city"`
State *string `json:"state,omitempty"`
// this field follows the [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
Country *string `json:"country,omitempty"`
Residential *bool `json:"residential,omitempty"`
ExternalNumber *string `json:"external_number,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerAddress struct for CustomerAddress
func NewCustomerAddress ¶
func NewCustomerAddress(street1 string, postalCode string, city string) *CustomerAddress
NewCustomerAddress instantiates a new CustomerAddress 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 NewCustomerAddressWithDefaults ¶
func NewCustomerAddressWithDefaults() *CustomerAddress
NewCustomerAddressWithDefaults instantiates a new CustomerAddress 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 (*CustomerAddress) GetCity ¶
func (o *CustomerAddress) GetCity() string
GetCity returns the City field value
func (*CustomerAddress) GetCityOk ¶
func (o *CustomerAddress) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value and a boolean to check if the value has been set.
func (*CustomerAddress) GetCountry ¶
func (o *CustomerAddress) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*CustomerAddress) GetCountryOk ¶
func (o *CustomerAddress) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerAddress) GetExternalNumber ¶
func (o *CustomerAddress) GetExternalNumber() string
GetExternalNumber returns the ExternalNumber field value if set, zero value otherwise.
func (*CustomerAddress) GetExternalNumberOk ¶
func (o *CustomerAddress) GetExternalNumberOk() (*string, bool)
GetExternalNumberOk returns a tuple with the ExternalNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerAddress) GetPostalCode ¶
func (o *CustomerAddress) GetPostalCode() string
GetPostalCode returns the PostalCode field value
func (*CustomerAddress) GetPostalCodeOk ¶
func (o *CustomerAddress) GetPostalCodeOk() (*string, bool)
GetPostalCodeOk returns a tuple with the PostalCode field value and a boolean to check if the value has been set.
func (*CustomerAddress) GetResidential ¶
func (o *CustomerAddress) GetResidential() bool
GetResidential returns the Residential field value if set, zero value otherwise.
func (*CustomerAddress) GetResidentialOk ¶
func (o *CustomerAddress) GetResidentialOk() (*bool, bool)
GetResidentialOk returns a tuple with the Residential field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerAddress) GetState ¶
func (o *CustomerAddress) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*CustomerAddress) GetStateOk ¶
func (o *CustomerAddress) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerAddress) GetStreet1 ¶
func (o *CustomerAddress) GetStreet1() string
GetStreet1 returns the Street1 field value
func (*CustomerAddress) GetStreet1Ok ¶
func (o *CustomerAddress) GetStreet1Ok() (*string, bool)
GetStreet1Ok returns a tuple with the Street1 field value and a boolean to check if the value has been set.
func (*CustomerAddress) GetStreet2 ¶
func (o *CustomerAddress) GetStreet2() string
GetStreet2 returns the Street2 field value if set, zero value otherwise.
func (*CustomerAddress) GetStreet2Ok ¶
func (o *CustomerAddress) GetStreet2Ok() (*string, bool)
GetStreet2Ok returns a tuple with the Street2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerAddress) HasCountry ¶
func (o *CustomerAddress) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*CustomerAddress) HasExternalNumber ¶
func (o *CustomerAddress) HasExternalNumber() bool
HasExternalNumber returns a boolean if a field has been set.
func (*CustomerAddress) HasResidential ¶
func (o *CustomerAddress) HasResidential() bool
HasResidential returns a boolean if a field has been set.
func (*CustomerAddress) HasState ¶
func (o *CustomerAddress) HasState() bool
HasState returns a boolean if a field has been set.
func (*CustomerAddress) HasStreet2 ¶
func (o *CustomerAddress) HasStreet2() bool
HasStreet2 returns a boolean if a field has been set.
func (CustomerAddress) MarshalJSON ¶
func (o CustomerAddress) MarshalJSON() ([]byte, error)
func (*CustomerAddress) SetCity ¶
func (o *CustomerAddress) SetCity(v string)
SetCity sets field value
func (*CustomerAddress) SetCountry ¶
func (o *CustomerAddress) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*CustomerAddress) SetExternalNumber ¶
func (o *CustomerAddress) SetExternalNumber(v string)
SetExternalNumber gets a reference to the given string and assigns it to the ExternalNumber field.
func (*CustomerAddress) SetPostalCode ¶
func (o *CustomerAddress) SetPostalCode(v string)
SetPostalCode sets field value
func (*CustomerAddress) SetResidential ¶
func (o *CustomerAddress) SetResidential(v bool)
SetResidential gets a reference to the given bool and assigns it to the Residential field.
func (*CustomerAddress) SetState ¶
func (o *CustomerAddress) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*CustomerAddress) SetStreet1 ¶
func (o *CustomerAddress) SetStreet1(v string)
SetStreet1 sets field value
func (*CustomerAddress) SetStreet2 ¶
func (o *CustomerAddress) SetStreet2(v string)
SetStreet2 gets a reference to the given string and assigns it to the Street2 field.
func (CustomerAddress) ToMap ¶
func (o CustomerAddress) ToMap() (map[string]interface{}, error)
func (*CustomerAddress) UnmarshalJSON ¶
func (o *CustomerAddress) UnmarshalJSON(data []byte) (err error)
type CustomerAntifraudInfo ¶
type CustomerAntifraudInfo struct {
AccountCreatedAt *int64 `json:"account_created_at,omitempty"`
FirstPaidAt *int64 `json:"first_paid_at,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerAntifraudInfo struct for CustomerAntifraudInfo
func NewCustomerAntifraudInfo ¶
func NewCustomerAntifraudInfo() *CustomerAntifraudInfo
NewCustomerAntifraudInfo instantiates a new CustomerAntifraudInfo 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 NewCustomerAntifraudInfoWithDefaults ¶
func NewCustomerAntifraudInfoWithDefaults() *CustomerAntifraudInfo
NewCustomerAntifraudInfoWithDefaults instantiates a new CustomerAntifraudInfo 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 (*CustomerAntifraudInfo) GetAccountCreatedAt ¶
func (o *CustomerAntifraudInfo) GetAccountCreatedAt() int64
GetAccountCreatedAt returns the AccountCreatedAt field value if set, zero value otherwise.
func (*CustomerAntifraudInfo) GetAccountCreatedAtOk ¶
func (o *CustomerAntifraudInfo) GetAccountCreatedAtOk() (*int64, bool)
GetAccountCreatedAtOk returns a tuple with the AccountCreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerAntifraudInfo) GetFirstPaidAt ¶
func (o *CustomerAntifraudInfo) GetFirstPaidAt() int64
GetFirstPaidAt returns the FirstPaidAt field value if set, zero value otherwise.
func (*CustomerAntifraudInfo) GetFirstPaidAtOk ¶
func (o *CustomerAntifraudInfo) GetFirstPaidAtOk() (*int64, bool)
GetFirstPaidAtOk returns a tuple with the FirstPaidAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerAntifraudInfo) HasAccountCreatedAt ¶
func (o *CustomerAntifraudInfo) HasAccountCreatedAt() bool
HasAccountCreatedAt returns a boolean if a field has been set.
func (*CustomerAntifraudInfo) HasFirstPaidAt ¶
func (o *CustomerAntifraudInfo) HasFirstPaidAt() bool
HasFirstPaidAt returns a boolean if a field has been set.
func (CustomerAntifraudInfo) MarshalJSON ¶
func (o CustomerAntifraudInfo) MarshalJSON() ([]byte, error)
func (*CustomerAntifraudInfo) SetAccountCreatedAt ¶
func (o *CustomerAntifraudInfo) SetAccountCreatedAt(v int64)
SetAccountCreatedAt gets a reference to the given int64 and assigns it to the AccountCreatedAt field.
func (*CustomerAntifraudInfo) SetFirstPaidAt ¶
func (o *CustomerAntifraudInfo) SetFirstPaidAt(v int64)
SetFirstPaidAt gets a reference to the given int64 and assigns it to the FirstPaidAt field.
func (CustomerAntifraudInfo) ToMap ¶
func (o CustomerAntifraudInfo) ToMap() (map[string]interface{}, error)
func (*CustomerAntifraudInfo) UnmarshalJSON ¶
func (o *CustomerAntifraudInfo) UnmarshalJSON(data []byte) (err error)
type CustomerAntifraudInfoResponse ¶
type CustomerAntifraudInfoResponse struct {
FirstPaidAt *int32 `json:"first_paid_at,omitempty"`
AccountCreatedAt *int64 `json:"account_created_at,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerAntifraudInfoResponse struct for CustomerAntifraudInfoResponse
func NewCustomerAntifraudInfoResponse ¶
func NewCustomerAntifraudInfoResponse() *CustomerAntifraudInfoResponse
NewCustomerAntifraudInfoResponse instantiates a new CustomerAntifraudInfoResponse 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 NewCustomerAntifraudInfoResponseWithDefaults ¶
func NewCustomerAntifraudInfoResponseWithDefaults() *CustomerAntifraudInfoResponse
NewCustomerAntifraudInfoResponseWithDefaults instantiates a new CustomerAntifraudInfoResponse 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 (*CustomerAntifraudInfoResponse) GetAccountCreatedAt ¶
func (o *CustomerAntifraudInfoResponse) GetAccountCreatedAt() int64
GetAccountCreatedAt returns the AccountCreatedAt field value if set, zero value otherwise.
func (*CustomerAntifraudInfoResponse) GetAccountCreatedAtOk ¶
func (o *CustomerAntifraudInfoResponse) GetAccountCreatedAtOk() (*int64, bool)
GetAccountCreatedAtOk returns a tuple with the AccountCreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerAntifraudInfoResponse) GetFirstPaidAt ¶
func (o *CustomerAntifraudInfoResponse) GetFirstPaidAt() int32
GetFirstPaidAt returns the FirstPaidAt field value if set, zero value otherwise.
func (*CustomerAntifraudInfoResponse) GetFirstPaidAtOk ¶
func (o *CustomerAntifraudInfoResponse) GetFirstPaidAtOk() (*int32, bool)
GetFirstPaidAtOk returns a tuple with the FirstPaidAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerAntifraudInfoResponse) HasAccountCreatedAt ¶
func (o *CustomerAntifraudInfoResponse) HasAccountCreatedAt() bool
HasAccountCreatedAt returns a boolean if a field has been set.
func (*CustomerAntifraudInfoResponse) HasFirstPaidAt ¶
func (o *CustomerAntifraudInfoResponse) HasFirstPaidAt() bool
HasFirstPaidAt returns a boolean if a field has been set.
func (CustomerAntifraudInfoResponse) MarshalJSON ¶
func (o CustomerAntifraudInfoResponse) MarshalJSON() ([]byte, error)
func (*CustomerAntifraudInfoResponse) SetAccountCreatedAt ¶
func (o *CustomerAntifraudInfoResponse) SetAccountCreatedAt(v int64)
SetAccountCreatedAt gets a reference to the given int64 and assigns it to the AccountCreatedAt field.
func (*CustomerAntifraudInfoResponse) SetFirstPaidAt ¶
func (o *CustomerAntifraudInfoResponse) SetFirstPaidAt(v int32)
SetFirstPaidAt gets a reference to the given int32 and assigns it to the FirstPaidAt field.
func (CustomerAntifraudInfoResponse) ToMap ¶
func (o CustomerAntifraudInfoResponse) ToMap() (map[string]interface{}, error)
func (*CustomerAntifraudInfoResponse) UnmarshalJSON ¶
func (o *CustomerAntifraudInfoResponse) UnmarshalJSON(data []byte) (err error)
type CustomerFiscalEntitiesDataResponse ¶
type CustomerFiscalEntitiesDataResponse struct {
Address CustomerAddress `json:"address"`
TaxId *string `json:"tax_id,omitempty"`
Email *string `json:"email,omitempty"`
Phone *string `json:"phone,omitempty"`
Metadata map[string]map[string]interface{} `json:"metadata,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Id string `json:"id"`
Object string `json:"object"`
CreatedAt int64 `json:"created_at"`
ParentId *string `json:"parent_id,omitempty"`
Default *bool `json:"default,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerFiscalEntitiesDataResponse struct for CustomerFiscalEntitiesDataResponse
func NewCustomerFiscalEntitiesDataResponse ¶
func NewCustomerFiscalEntitiesDataResponse(address CustomerAddress, id string, object string, createdAt int64) *CustomerFiscalEntitiesDataResponse
NewCustomerFiscalEntitiesDataResponse instantiates a new CustomerFiscalEntitiesDataResponse 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 NewCustomerFiscalEntitiesDataResponseWithDefaults ¶
func NewCustomerFiscalEntitiesDataResponseWithDefaults() *CustomerFiscalEntitiesDataResponse
NewCustomerFiscalEntitiesDataResponseWithDefaults instantiates a new CustomerFiscalEntitiesDataResponse 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 (*CustomerFiscalEntitiesDataResponse) GetAddress ¶
func (o *CustomerFiscalEntitiesDataResponse) GetAddress() CustomerAddress
GetAddress returns the Address field value
func (*CustomerFiscalEntitiesDataResponse) GetAddressOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetAddressOk() (*CustomerAddress, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetCompanyName ¶
func (o *CustomerFiscalEntitiesDataResponse) GetCompanyName() string
GetCompanyName returns the CompanyName field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesDataResponse) GetCompanyNameOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetCompanyNameOk() (*string, bool)
GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetCreatedAt ¶
func (o *CustomerFiscalEntitiesDataResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*CustomerFiscalEntitiesDataResponse) GetCreatedAtOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetDefault ¶
func (o *CustomerFiscalEntitiesDataResponse) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesDataResponse) GetDefaultOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetEmail ¶
func (o *CustomerFiscalEntitiesDataResponse) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesDataResponse) GetEmailOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetId ¶
func (o *CustomerFiscalEntitiesDataResponse) GetId() string
GetId returns the Id field value
func (*CustomerFiscalEntitiesDataResponse) GetIdOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetMetadata ¶
func (o *CustomerFiscalEntitiesDataResponse) GetMetadata() map[string]map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesDataResponse) GetMetadataOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetMetadataOk() (map[string]map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetObject ¶
func (o *CustomerFiscalEntitiesDataResponse) GetObject() string
GetObject returns the Object field value
func (*CustomerFiscalEntitiesDataResponse) GetObjectOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetParentId ¶
func (o *CustomerFiscalEntitiesDataResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesDataResponse) GetParentIdOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetPhone ¶
func (o *CustomerFiscalEntitiesDataResponse) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesDataResponse) GetPhoneOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) GetTaxId ¶
func (o *CustomerFiscalEntitiesDataResponse) GetTaxId() string
GetTaxId returns the TaxId field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesDataResponse) GetTaxIdOk ¶
func (o *CustomerFiscalEntitiesDataResponse) GetTaxIdOk() (*string, bool)
GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesDataResponse) HasCompanyName ¶
func (o *CustomerFiscalEntitiesDataResponse) HasCompanyName() bool
HasCompanyName returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesDataResponse) HasDefault ¶
func (o *CustomerFiscalEntitiesDataResponse) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesDataResponse) HasEmail ¶
func (o *CustomerFiscalEntitiesDataResponse) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesDataResponse) HasMetadata ¶
func (o *CustomerFiscalEntitiesDataResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesDataResponse) HasParentId ¶
func (o *CustomerFiscalEntitiesDataResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesDataResponse) HasPhone ¶
func (o *CustomerFiscalEntitiesDataResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesDataResponse) HasTaxId ¶
func (o *CustomerFiscalEntitiesDataResponse) HasTaxId() bool
HasTaxId returns a boolean if a field has been set.
func (CustomerFiscalEntitiesDataResponse) MarshalJSON ¶
func (o CustomerFiscalEntitiesDataResponse) MarshalJSON() ([]byte, error)
func (*CustomerFiscalEntitiesDataResponse) SetAddress ¶
func (o *CustomerFiscalEntitiesDataResponse) SetAddress(v CustomerAddress)
SetAddress sets field value
func (*CustomerFiscalEntitiesDataResponse) SetCompanyName ¶
func (o *CustomerFiscalEntitiesDataResponse) SetCompanyName(v string)
SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.
func (*CustomerFiscalEntitiesDataResponse) SetCreatedAt ¶
func (o *CustomerFiscalEntitiesDataResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*CustomerFiscalEntitiesDataResponse) SetDefault ¶
func (o *CustomerFiscalEntitiesDataResponse) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*CustomerFiscalEntitiesDataResponse) SetEmail ¶
func (o *CustomerFiscalEntitiesDataResponse) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*CustomerFiscalEntitiesDataResponse) SetId ¶
func (o *CustomerFiscalEntitiesDataResponse) SetId(v string)
SetId sets field value
func (*CustomerFiscalEntitiesDataResponse) SetMetadata ¶
func (o *CustomerFiscalEntitiesDataResponse) SetMetadata(v map[string]map[string]interface{})
SetMetadata gets a reference to the given map[string]map[string]interface{} and assigns it to the Metadata field.
func (*CustomerFiscalEntitiesDataResponse) SetObject ¶
func (o *CustomerFiscalEntitiesDataResponse) SetObject(v string)
SetObject sets field value
func (*CustomerFiscalEntitiesDataResponse) SetParentId ¶
func (o *CustomerFiscalEntitiesDataResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*CustomerFiscalEntitiesDataResponse) SetPhone ¶
func (o *CustomerFiscalEntitiesDataResponse) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CustomerFiscalEntitiesDataResponse) SetTaxId ¶
func (o *CustomerFiscalEntitiesDataResponse) SetTaxId(v string)
SetTaxId gets a reference to the given string and assigns it to the TaxId field.
func (CustomerFiscalEntitiesDataResponse) ToMap ¶
func (o CustomerFiscalEntitiesDataResponse) ToMap() (map[string]interface{}, error)
func (*CustomerFiscalEntitiesDataResponse) UnmarshalJSON ¶
func (o *CustomerFiscalEntitiesDataResponse) UnmarshalJSON(data []byte) (err error)
type CustomerFiscalEntitiesRequest ¶
type CustomerFiscalEntitiesRequest struct {
Address CustomerAddress `json:"address"`
TaxId *string `json:"tax_id,omitempty"`
Email *string `json:"email,omitempty"`
Phone *string `json:"phone,omitempty"`
Metadata map[string]map[string]interface{} `json:"metadata,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerFiscalEntitiesRequest struct for CustomerFiscalEntitiesRequest
func NewCustomerFiscalEntitiesRequest ¶
func NewCustomerFiscalEntitiesRequest(address CustomerAddress) *CustomerFiscalEntitiesRequest
NewCustomerFiscalEntitiesRequest instantiates a new CustomerFiscalEntitiesRequest 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 NewCustomerFiscalEntitiesRequestWithDefaults ¶
func NewCustomerFiscalEntitiesRequestWithDefaults() *CustomerFiscalEntitiesRequest
NewCustomerFiscalEntitiesRequestWithDefaults instantiates a new CustomerFiscalEntitiesRequest 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 (*CustomerFiscalEntitiesRequest) GetAddress ¶
func (o *CustomerFiscalEntitiesRequest) GetAddress() CustomerAddress
GetAddress returns the Address field value
func (*CustomerFiscalEntitiesRequest) GetAddressOk ¶
func (o *CustomerFiscalEntitiesRequest) GetAddressOk() (*CustomerAddress, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesRequest) GetCompanyName ¶
func (o *CustomerFiscalEntitiesRequest) GetCompanyName() string
GetCompanyName returns the CompanyName field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesRequest) GetCompanyNameOk ¶
func (o *CustomerFiscalEntitiesRequest) GetCompanyNameOk() (*string, bool)
GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesRequest) GetEmail ¶
func (o *CustomerFiscalEntitiesRequest) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesRequest) GetEmailOk ¶
func (o *CustomerFiscalEntitiesRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesRequest) GetMetadata ¶
func (o *CustomerFiscalEntitiesRequest) GetMetadata() map[string]map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesRequest) GetMetadataOk ¶
func (o *CustomerFiscalEntitiesRequest) GetMetadataOk() (map[string]map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesRequest) GetPhone ¶
func (o *CustomerFiscalEntitiesRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesRequest) GetPhoneOk ¶
func (o *CustomerFiscalEntitiesRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesRequest) GetTaxId ¶
func (o *CustomerFiscalEntitiesRequest) GetTaxId() string
GetTaxId returns the TaxId field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesRequest) GetTaxIdOk ¶
func (o *CustomerFiscalEntitiesRequest) GetTaxIdOk() (*string, bool)
GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesRequest) HasCompanyName ¶
func (o *CustomerFiscalEntitiesRequest) HasCompanyName() bool
HasCompanyName returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesRequest) HasEmail ¶
func (o *CustomerFiscalEntitiesRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesRequest) HasMetadata ¶
func (o *CustomerFiscalEntitiesRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesRequest) HasPhone ¶
func (o *CustomerFiscalEntitiesRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CustomerFiscalEntitiesRequest) HasTaxId ¶
func (o *CustomerFiscalEntitiesRequest) HasTaxId() bool
HasTaxId returns a boolean if a field has been set.
func (CustomerFiscalEntitiesRequest) MarshalJSON ¶
func (o CustomerFiscalEntitiesRequest) MarshalJSON() ([]byte, error)
func (*CustomerFiscalEntitiesRequest) SetAddress ¶
func (o *CustomerFiscalEntitiesRequest) SetAddress(v CustomerAddress)
SetAddress sets field value
func (*CustomerFiscalEntitiesRequest) SetCompanyName ¶
func (o *CustomerFiscalEntitiesRequest) SetCompanyName(v string)
SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.
func (*CustomerFiscalEntitiesRequest) SetEmail ¶
func (o *CustomerFiscalEntitiesRequest) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*CustomerFiscalEntitiesRequest) SetMetadata ¶
func (o *CustomerFiscalEntitiesRequest) SetMetadata(v map[string]map[string]interface{})
SetMetadata gets a reference to the given map[string]map[string]interface{} and assigns it to the Metadata field.
func (*CustomerFiscalEntitiesRequest) SetPhone ¶
func (o *CustomerFiscalEntitiesRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CustomerFiscalEntitiesRequest) SetTaxId ¶
func (o *CustomerFiscalEntitiesRequest) SetTaxId(v string)
SetTaxId gets a reference to the given string and assigns it to the TaxId field.
func (CustomerFiscalEntitiesRequest) ToMap ¶
func (o CustomerFiscalEntitiesRequest) ToMap() (map[string]interface{}, error)
func (*CustomerFiscalEntitiesRequest) UnmarshalJSON ¶
func (o *CustomerFiscalEntitiesRequest) UnmarshalJSON(data []byte) (err error)
type CustomerFiscalEntitiesResponse ¶
type CustomerFiscalEntitiesResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
Data []CustomerFiscalEntitiesDataResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerFiscalEntitiesResponse struct for CustomerFiscalEntitiesResponse
func NewCustomerFiscalEntitiesResponse ¶
func NewCustomerFiscalEntitiesResponse(hasMore bool, object string) *CustomerFiscalEntitiesResponse
NewCustomerFiscalEntitiesResponse instantiates a new CustomerFiscalEntitiesResponse 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 NewCustomerFiscalEntitiesResponseWithDefaults ¶
func NewCustomerFiscalEntitiesResponseWithDefaults() *CustomerFiscalEntitiesResponse
NewCustomerFiscalEntitiesResponseWithDefaults instantiates a new CustomerFiscalEntitiesResponse 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 (*CustomerFiscalEntitiesResponse) GetData ¶
func (o *CustomerFiscalEntitiesResponse) GetData() []CustomerFiscalEntitiesDataResponse
GetData returns the Data field value if set, zero value otherwise.
func (*CustomerFiscalEntitiesResponse) GetDataOk ¶
func (o *CustomerFiscalEntitiesResponse) GetDataOk() ([]CustomerFiscalEntitiesDataResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesResponse) GetHasMore ¶
func (o *CustomerFiscalEntitiesResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*CustomerFiscalEntitiesResponse) GetHasMoreOk ¶
func (o *CustomerFiscalEntitiesResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesResponse) GetObject ¶
func (o *CustomerFiscalEntitiesResponse) GetObject() string
GetObject returns the Object field value
func (*CustomerFiscalEntitiesResponse) GetObjectOk ¶
func (o *CustomerFiscalEntitiesResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CustomerFiscalEntitiesResponse) HasData ¶
func (o *CustomerFiscalEntitiesResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (CustomerFiscalEntitiesResponse) MarshalJSON ¶
func (o CustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
func (*CustomerFiscalEntitiesResponse) SetData ¶
func (o *CustomerFiscalEntitiesResponse) SetData(v []CustomerFiscalEntitiesDataResponse)
SetData gets a reference to the given []CustomerFiscalEntitiesDataResponse and assigns it to the Data field.
func (*CustomerFiscalEntitiesResponse) SetHasMore ¶
func (o *CustomerFiscalEntitiesResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*CustomerFiscalEntitiesResponse) SetObject ¶
func (o *CustomerFiscalEntitiesResponse) SetObject(v string)
SetObject sets field value
func (CustomerFiscalEntitiesResponse) ToMap ¶
func (o CustomerFiscalEntitiesResponse) ToMap() (map[string]interface{}, error)
func (*CustomerFiscalEntitiesResponse) UnmarshalJSON ¶
func (o *CustomerFiscalEntitiesResponse) UnmarshalJSON(data []byte) (err error)
type CustomerInfo ¶
type CustomerInfo struct {
Name string `json:"name"`
Email string `json:"email"`
Phone string `json:"phone"`
Corporate *bool `json:"corporate,omitempty"`
Object *string `json:"object,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerInfo struct for CustomerInfo
func NewCustomerInfo ¶
func NewCustomerInfo(name string, email string, phone string) *CustomerInfo
NewCustomerInfo instantiates a new CustomerInfo 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 NewCustomerInfoWithDefaults ¶
func NewCustomerInfoWithDefaults() *CustomerInfo
NewCustomerInfoWithDefaults instantiates a new CustomerInfo 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 (*CustomerInfo) GetCorporate ¶
func (o *CustomerInfo) GetCorporate() bool
GetCorporate returns the Corporate field value if set, zero value otherwise.
func (*CustomerInfo) GetCorporateOk ¶
func (o *CustomerInfo) GetCorporateOk() (*bool, bool)
GetCorporateOk returns a tuple with the Corporate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerInfo) GetEmail ¶
func (o *CustomerInfo) GetEmail() string
GetEmail returns the Email field value
func (*CustomerInfo) GetEmailOk ¶
func (o *CustomerInfo) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*CustomerInfo) GetName ¶
func (o *CustomerInfo) GetName() string
GetName returns the Name field value
func (*CustomerInfo) GetNameOk ¶
func (o *CustomerInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CustomerInfo) GetObject ¶
func (o *CustomerInfo) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CustomerInfo) GetObjectOk ¶
func (o *CustomerInfo) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerInfo) GetPhone ¶
func (o *CustomerInfo) GetPhone() string
GetPhone returns the Phone field value
func (*CustomerInfo) GetPhoneOk ¶
func (o *CustomerInfo) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value and a boolean to check if the value has been set.
func (*CustomerInfo) HasCorporate ¶
func (o *CustomerInfo) HasCorporate() bool
HasCorporate returns a boolean if a field has been set.
func (*CustomerInfo) HasObject ¶
func (o *CustomerInfo) HasObject() bool
HasObject returns a boolean if a field has been set.
func (CustomerInfo) MarshalJSON ¶
func (o CustomerInfo) MarshalJSON() ([]byte, error)
func (*CustomerInfo) SetCorporate ¶
func (o *CustomerInfo) SetCorporate(v bool)
SetCorporate gets a reference to the given bool and assigns it to the Corporate field.
func (*CustomerInfo) SetObject ¶
func (o *CustomerInfo) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (CustomerInfo) ToMap ¶
func (o CustomerInfo) ToMap() (map[string]interface{}, error)
func (*CustomerInfo) UnmarshalJSON ¶
func (o *CustomerInfo) UnmarshalJSON(data []byte) (err error)
type CustomerInfoJustCustomerId ¶
type CustomerInfoJustCustomerId struct {
CustomerId string `json:"customer_id"`
AdditionalProperties map[string]interface{}
}
CustomerInfoJustCustomerId struct for CustomerInfoJustCustomerId
func NewCustomerInfoJustCustomerId ¶
func NewCustomerInfoJustCustomerId(customerId string) *CustomerInfoJustCustomerId
NewCustomerInfoJustCustomerId instantiates a new CustomerInfoJustCustomerId 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 NewCustomerInfoJustCustomerIdWithDefaults ¶
func NewCustomerInfoJustCustomerIdWithDefaults() *CustomerInfoJustCustomerId
NewCustomerInfoJustCustomerIdWithDefaults instantiates a new CustomerInfoJustCustomerId 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 (*CustomerInfoJustCustomerId) GetCustomerId ¶
func (o *CustomerInfoJustCustomerId) GetCustomerId() string
GetCustomerId returns the CustomerId field value
func (*CustomerInfoJustCustomerId) GetCustomerIdOk ¶
func (o *CustomerInfoJustCustomerId) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field value and a boolean to check if the value has been set.
func (CustomerInfoJustCustomerId) MarshalJSON ¶
func (o CustomerInfoJustCustomerId) MarshalJSON() ([]byte, error)
func (*CustomerInfoJustCustomerId) SetCustomerId ¶
func (o *CustomerInfoJustCustomerId) SetCustomerId(v string)
SetCustomerId sets field value
func (CustomerInfoJustCustomerId) ToMap ¶
func (o CustomerInfoJustCustomerId) ToMap() (map[string]interface{}, error)
func (*CustomerInfoJustCustomerId) UnmarshalJSON ¶
func (o *CustomerInfoJustCustomerId) UnmarshalJSON(data []byte) (err error)
type CustomerInfoJustCustomerIdResponse ¶
type CustomerInfoJustCustomerIdResponse struct {
CustomerId *string `json:"customer_id,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerInfoJustCustomerIdResponse struct for CustomerInfoJustCustomerIdResponse
func NewCustomerInfoJustCustomerIdResponse ¶
func NewCustomerInfoJustCustomerIdResponse() *CustomerInfoJustCustomerIdResponse
NewCustomerInfoJustCustomerIdResponse instantiates a new CustomerInfoJustCustomerIdResponse 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 NewCustomerInfoJustCustomerIdResponseWithDefaults ¶
func NewCustomerInfoJustCustomerIdResponseWithDefaults() *CustomerInfoJustCustomerIdResponse
NewCustomerInfoJustCustomerIdResponseWithDefaults instantiates a new CustomerInfoJustCustomerIdResponse 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 (*CustomerInfoJustCustomerIdResponse) GetCustomerId ¶
func (o *CustomerInfoJustCustomerIdResponse) GetCustomerId() string
GetCustomerId returns the CustomerId field value if set, zero value otherwise.
func (*CustomerInfoJustCustomerIdResponse) GetCustomerIdOk ¶
func (o *CustomerInfoJustCustomerIdResponse) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerInfoJustCustomerIdResponse) HasCustomerId ¶
func (o *CustomerInfoJustCustomerIdResponse) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (CustomerInfoJustCustomerIdResponse) MarshalJSON ¶
func (o CustomerInfoJustCustomerIdResponse) MarshalJSON() ([]byte, error)
func (*CustomerInfoJustCustomerIdResponse) SetCustomerId ¶
func (o *CustomerInfoJustCustomerIdResponse) SetCustomerId(v string)
SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.
func (CustomerInfoJustCustomerIdResponse) ToMap ¶
func (o CustomerInfoJustCustomerIdResponse) ToMap() (map[string]interface{}, error)
func (*CustomerInfoJustCustomerIdResponse) UnmarshalJSON ¶
func (o *CustomerInfoJustCustomerIdResponse) UnmarshalJSON(data []byte) (err error)
type CustomerPaymentMethodRequest ¶
type CustomerPaymentMethodRequest struct {
// Type of payment method
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
CustomerPaymentMethodRequest Contains details of the payment methods that the customer has active or has used in Femsa
func NewCustomerPaymentMethodRequest ¶
func NewCustomerPaymentMethodRequest(type_ string) *CustomerPaymentMethodRequest
NewCustomerPaymentMethodRequest instantiates a new CustomerPaymentMethodRequest 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 NewCustomerPaymentMethodRequestWithDefaults ¶
func NewCustomerPaymentMethodRequestWithDefaults() *CustomerPaymentMethodRequest
NewCustomerPaymentMethodRequestWithDefaults instantiates a new CustomerPaymentMethodRequest 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 (*CustomerPaymentMethodRequest) GetType ¶
func (o *CustomerPaymentMethodRequest) GetType() string
GetType returns the Type field value
func (*CustomerPaymentMethodRequest) GetTypeOk ¶
func (o *CustomerPaymentMethodRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (CustomerPaymentMethodRequest) MarshalJSON ¶
func (o CustomerPaymentMethodRequest) MarshalJSON() ([]byte, error)
func (*CustomerPaymentMethodRequest) SetType ¶
func (o *CustomerPaymentMethodRequest) SetType(v string)
SetType sets field value
func (CustomerPaymentMethodRequest) ToMap ¶
func (o CustomerPaymentMethodRequest) ToMap() (map[string]interface{}, error)
func (*CustomerPaymentMethodRequest) UnmarshalJSON ¶
func (o *CustomerPaymentMethodRequest) UnmarshalJSON(data []byte) (err error)
type CustomerPaymentMethodsData ¶
type CustomerPaymentMethodsData struct {
PaymentMethodCashResponse *PaymentMethodCashResponse
}
CustomerPaymentMethodsData - struct for CustomerPaymentMethodsData
func PaymentMethodCashResponseAsCustomerPaymentMethodsData ¶
func PaymentMethodCashResponseAsCustomerPaymentMethodsData(v *PaymentMethodCashResponse) CustomerPaymentMethodsData
PaymentMethodCashResponseAsCustomerPaymentMethodsData is a convenience function that returns PaymentMethodCashResponse wrapped in CustomerPaymentMethodsData
func (*CustomerPaymentMethodsData) GetActualInstance ¶
func (obj *CustomerPaymentMethodsData) GetActualInstance() interface{}
Get the actual instance
func (CustomerPaymentMethodsData) MarshalJSON ¶
func (src CustomerPaymentMethodsData) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CustomerPaymentMethodsData) UnmarshalJSON ¶
func (dst *CustomerPaymentMethodsData) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CustomerPaymentMethodsRequest ¶
type CustomerPaymentMethodsRequest struct {
PaymentMethodCashRequest *PaymentMethodCashRequest
}
CustomerPaymentMethodsRequest - struct for CustomerPaymentMethodsRequest
func PaymentMethodCashRequestAsCustomerPaymentMethodsRequest ¶
func PaymentMethodCashRequestAsCustomerPaymentMethodsRequest(v *PaymentMethodCashRequest) CustomerPaymentMethodsRequest
PaymentMethodCashRequestAsCustomerPaymentMethodsRequest is a convenience function that returns PaymentMethodCashRequest wrapped in CustomerPaymentMethodsRequest
func (*CustomerPaymentMethodsRequest) GetActualInstance ¶
func (obj *CustomerPaymentMethodsRequest) GetActualInstance() interface{}
Get the actual instance
func (CustomerPaymentMethodsRequest) MarshalJSON ¶
func (src CustomerPaymentMethodsRequest) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CustomerPaymentMethodsRequest) UnmarshalJSON ¶
func (dst *CustomerPaymentMethodsRequest) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CustomerPaymentMethodsResponse ¶
type CustomerPaymentMethodsResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []CustomerPaymentMethodsData `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerPaymentMethodsResponse struct for CustomerPaymentMethodsResponse
func NewCustomerPaymentMethodsResponse ¶
func NewCustomerPaymentMethodsResponse(hasMore bool, object string) *CustomerPaymentMethodsResponse
NewCustomerPaymentMethodsResponse instantiates a new CustomerPaymentMethodsResponse 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 NewCustomerPaymentMethodsResponseWithDefaults ¶
func NewCustomerPaymentMethodsResponseWithDefaults() *CustomerPaymentMethodsResponse
NewCustomerPaymentMethodsResponseWithDefaults instantiates a new CustomerPaymentMethodsResponse 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 (*CustomerPaymentMethodsResponse) GetData ¶
func (o *CustomerPaymentMethodsResponse) GetData() []CustomerPaymentMethodsData
GetData returns the Data field value if set, zero value otherwise.
func (*CustomerPaymentMethodsResponse) GetDataOk ¶
func (o *CustomerPaymentMethodsResponse) GetDataOk() ([]CustomerPaymentMethodsData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerPaymentMethodsResponse) GetHasMore ¶
func (o *CustomerPaymentMethodsResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*CustomerPaymentMethodsResponse) GetHasMoreOk ¶
func (o *CustomerPaymentMethodsResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*CustomerPaymentMethodsResponse) GetNextPageUrl ¶
func (o *CustomerPaymentMethodsResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerPaymentMethodsResponse) GetNextPageUrlOk ¶
func (o *CustomerPaymentMethodsResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*CustomerPaymentMethodsResponse) GetObject ¶
func (o *CustomerPaymentMethodsResponse) GetObject() string
GetObject returns the Object field value
func (*CustomerPaymentMethodsResponse) GetObjectOk ¶
func (o *CustomerPaymentMethodsResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CustomerPaymentMethodsResponse) GetPreviousPageUrl ¶
func (o *CustomerPaymentMethodsResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerPaymentMethodsResponse) GetPreviousPageUrlOk ¶
func (o *CustomerPaymentMethodsResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*CustomerPaymentMethodsResponse) HasData ¶
func (o *CustomerPaymentMethodsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*CustomerPaymentMethodsResponse) HasNextPageUrl ¶
func (o *CustomerPaymentMethodsResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*CustomerPaymentMethodsResponse) HasPreviousPageUrl ¶
func (o *CustomerPaymentMethodsResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (CustomerPaymentMethodsResponse) MarshalJSON ¶
func (o CustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
func (*CustomerPaymentMethodsResponse) SetData ¶
func (o *CustomerPaymentMethodsResponse) SetData(v []CustomerPaymentMethodsData)
SetData gets a reference to the given []CustomerPaymentMethodsData and assigns it to the Data field.
func (*CustomerPaymentMethodsResponse) SetHasMore ¶
func (o *CustomerPaymentMethodsResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*CustomerPaymentMethodsResponse) SetNextPageUrl ¶
func (o *CustomerPaymentMethodsResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*CustomerPaymentMethodsResponse) SetNextPageUrlNil ¶
func (o *CustomerPaymentMethodsResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*CustomerPaymentMethodsResponse) SetObject ¶
func (o *CustomerPaymentMethodsResponse) SetObject(v string)
SetObject sets field value
func (*CustomerPaymentMethodsResponse) SetPreviousPageUrl ¶
func (o *CustomerPaymentMethodsResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*CustomerPaymentMethodsResponse) SetPreviousPageUrlNil ¶
func (o *CustomerPaymentMethodsResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (CustomerPaymentMethodsResponse) ToMap ¶
func (o CustomerPaymentMethodsResponse) ToMap() (map[string]interface{}, error)
func (*CustomerPaymentMethodsResponse) UnmarshalJSON ¶
func (o *CustomerPaymentMethodsResponse) UnmarshalJSON(data []byte) (err error)
func (*CustomerPaymentMethodsResponse) UnsetNextPageUrl ¶
func (o *CustomerPaymentMethodsResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*CustomerPaymentMethodsResponse) UnsetPreviousPageUrl ¶
func (o *CustomerPaymentMethodsResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type CustomerResponse ¶
type CustomerResponse struct {
AntifraudInfo NullableCustomerAntifraudInfoResponse `json:"antifraud_info,omitempty"`
// true if the customer is a company
Corporate *bool `json:"corporate,omitempty"`
// Creation date of the object
CreatedAt int64 `json:"created_at"`
// Custom reference
CustomReference *string `json:"custom_reference,omitempty"`
DefaultFiscalEntityId NullableString `json:"default_fiscal_entity_id,omitempty"`
DefaultShippingContactId *string `json:"default_shipping_contact_id,omitempty"`
DefaultPaymentSourceId NullableString `json:"default_payment_source_id,omitempty"`
Email *string `json:"email,omitempty"`
FiscalEntities *CustomerFiscalEntitiesResponse `json:"fiscal_entities,omitempty"`
// Customer's ID
Id string `json:"id"`
// true if the object exists in live mode or the value false if the object exists in test mode
Livemode bool `json:"livemode"`
// Customer's name
Name string `json:"name"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Object string `json:"object"`
PaymentSources *CustomerPaymentMethodsResponse `json:"payment_sources,omitempty"`
// Customer's phone number
Phone *string `json:"phone,omitempty"`
ShippingContacts *CustomerResponseShippingContacts `json:"shipping_contacts,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerResponse customer response
func NewCustomerResponse ¶
func NewCustomerResponse(createdAt int64, id string, livemode bool, name string, object string) *CustomerResponse
NewCustomerResponse instantiates a new CustomerResponse 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 NewCustomerResponseWithDefaults ¶
func NewCustomerResponseWithDefaults() *CustomerResponse
NewCustomerResponseWithDefaults instantiates a new CustomerResponse 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 (*CustomerResponse) GetAntifraudInfo ¶
func (o *CustomerResponse) GetAntifraudInfo() CustomerAntifraudInfoResponse
GetAntifraudInfo returns the AntifraudInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerResponse) GetAntifraudInfoOk ¶
func (o *CustomerResponse) GetAntifraudInfoOk() (*CustomerAntifraudInfoResponse, bool)
GetAntifraudInfoOk returns a tuple with the AntifraudInfo 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 (*CustomerResponse) GetCorporate ¶
func (o *CustomerResponse) GetCorporate() bool
GetCorporate returns the Corporate field value if set, zero value otherwise.
func (*CustomerResponse) GetCorporateOk ¶
func (o *CustomerResponse) GetCorporateOk() (*bool, bool)
GetCorporateOk returns a tuple with the Corporate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponse) GetCreatedAt ¶
func (o *CustomerResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*CustomerResponse) GetCreatedAtOk ¶
func (o *CustomerResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CustomerResponse) GetCustomReference ¶
func (o *CustomerResponse) GetCustomReference() string
GetCustomReference returns the CustomReference field value if set, zero value otherwise.
func (*CustomerResponse) GetCustomReferenceOk ¶
func (o *CustomerResponse) GetCustomReferenceOk() (*string, bool)
GetCustomReferenceOk returns a tuple with the CustomReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponse) GetDefaultFiscalEntityId ¶
func (o *CustomerResponse) GetDefaultFiscalEntityId() string
GetDefaultFiscalEntityId returns the DefaultFiscalEntityId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerResponse) GetDefaultFiscalEntityIdOk ¶
func (o *CustomerResponse) GetDefaultFiscalEntityIdOk() (*string, bool)
GetDefaultFiscalEntityIdOk returns a tuple with the DefaultFiscalEntityId 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 (*CustomerResponse) GetDefaultPaymentSourceId ¶
func (o *CustomerResponse) GetDefaultPaymentSourceId() string
GetDefaultPaymentSourceId returns the DefaultPaymentSourceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerResponse) GetDefaultPaymentSourceIdOk ¶
func (o *CustomerResponse) GetDefaultPaymentSourceIdOk() (*string, bool)
GetDefaultPaymentSourceIdOk returns a tuple with the DefaultPaymentSourceId 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 (*CustomerResponse) GetDefaultShippingContactId ¶
func (o *CustomerResponse) GetDefaultShippingContactId() string
GetDefaultShippingContactId returns the DefaultShippingContactId field value if set, zero value otherwise.
func (*CustomerResponse) GetDefaultShippingContactIdOk ¶
func (o *CustomerResponse) GetDefaultShippingContactIdOk() (*string, bool)
GetDefaultShippingContactIdOk returns a tuple with the DefaultShippingContactId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponse) GetEmail ¶
func (o *CustomerResponse) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*CustomerResponse) GetEmailOk ¶
func (o *CustomerResponse) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponse) GetFiscalEntities ¶
func (o *CustomerResponse) GetFiscalEntities() CustomerFiscalEntitiesResponse
GetFiscalEntities returns the FiscalEntities field value if set, zero value otherwise.
func (*CustomerResponse) GetFiscalEntitiesOk ¶
func (o *CustomerResponse) GetFiscalEntitiesOk() (*CustomerFiscalEntitiesResponse, bool)
GetFiscalEntitiesOk returns a tuple with the FiscalEntities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponse) GetId ¶
func (o *CustomerResponse) GetId() string
GetId returns the Id field value
func (*CustomerResponse) GetIdOk ¶
func (o *CustomerResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CustomerResponse) GetLivemode ¶
func (o *CustomerResponse) GetLivemode() bool
GetLivemode returns the Livemode field value
func (*CustomerResponse) GetLivemodeOk ¶
func (o *CustomerResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value and a boolean to check if the value has been set.
func (*CustomerResponse) GetMetadata ¶
func (o *CustomerResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CustomerResponse) GetMetadataOk ¶
func (o *CustomerResponse) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponse) GetName ¶
func (o *CustomerResponse) GetName() string
GetName returns the Name field value
func (*CustomerResponse) GetNameOk ¶
func (o *CustomerResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CustomerResponse) GetObject ¶
func (o *CustomerResponse) GetObject() string
GetObject returns the Object field value
func (*CustomerResponse) GetObjectOk ¶
func (o *CustomerResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CustomerResponse) GetPaymentSources ¶
func (o *CustomerResponse) GetPaymentSources() CustomerPaymentMethodsResponse
GetPaymentSources returns the PaymentSources field value if set, zero value otherwise.
func (*CustomerResponse) GetPaymentSourcesOk ¶
func (o *CustomerResponse) GetPaymentSourcesOk() (*CustomerPaymentMethodsResponse, bool)
GetPaymentSourcesOk returns a tuple with the PaymentSources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponse) GetPhone ¶
func (o *CustomerResponse) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CustomerResponse) GetPhoneOk ¶
func (o *CustomerResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponse) GetShippingContacts ¶
func (o *CustomerResponse) GetShippingContacts() CustomerResponseShippingContacts
GetShippingContacts returns the ShippingContacts field value if set, zero value otherwise.
func (*CustomerResponse) GetShippingContactsOk ¶
func (o *CustomerResponse) GetShippingContactsOk() (*CustomerResponseShippingContacts, bool)
GetShippingContactsOk returns a tuple with the ShippingContacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponse) HasAntifraudInfo ¶
func (o *CustomerResponse) HasAntifraudInfo() bool
HasAntifraudInfo returns a boolean if a field has been set.
func (*CustomerResponse) HasCorporate ¶
func (o *CustomerResponse) HasCorporate() bool
HasCorporate returns a boolean if a field has been set.
func (*CustomerResponse) HasCustomReference ¶
func (o *CustomerResponse) HasCustomReference() bool
HasCustomReference returns a boolean if a field has been set.
func (*CustomerResponse) HasDefaultFiscalEntityId ¶
func (o *CustomerResponse) HasDefaultFiscalEntityId() bool
HasDefaultFiscalEntityId returns a boolean if a field has been set.
func (*CustomerResponse) HasDefaultPaymentSourceId ¶
func (o *CustomerResponse) HasDefaultPaymentSourceId() bool
HasDefaultPaymentSourceId returns a boolean if a field has been set.
func (*CustomerResponse) HasDefaultShippingContactId ¶
func (o *CustomerResponse) HasDefaultShippingContactId() bool
HasDefaultShippingContactId returns a boolean if a field has been set.
func (*CustomerResponse) HasEmail ¶
func (o *CustomerResponse) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*CustomerResponse) HasFiscalEntities ¶
func (o *CustomerResponse) HasFiscalEntities() bool
HasFiscalEntities returns a boolean if a field has been set.
func (*CustomerResponse) HasMetadata ¶
func (o *CustomerResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CustomerResponse) HasPaymentSources ¶
func (o *CustomerResponse) HasPaymentSources() bool
HasPaymentSources returns a boolean if a field has been set.
func (*CustomerResponse) HasPhone ¶
func (o *CustomerResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CustomerResponse) HasShippingContacts ¶
func (o *CustomerResponse) HasShippingContacts() bool
HasShippingContacts returns a boolean if a field has been set.
func (CustomerResponse) MarshalJSON ¶
func (o CustomerResponse) MarshalJSON() ([]byte, error)
func (*CustomerResponse) SetAntifraudInfo ¶
func (o *CustomerResponse) SetAntifraudInfo(v CustomerAntifraudInfoResponse)
SetAntifraudInfo gets a reference to the given NullableCustomerAntifraudInfoResponse and assigns it to the AntifraudInfo field.
func (*CustomerResponse) SetAntifraudInfoNil ¶
func (o *CustomerResponse) SetAntifraudInfoNil()
SetAntifraudInfoNil sets the value for AntifraudInfo to be an explicit nil
func (*CustomerResponse) SetCorporate ¶
func (o *CustomerResponse) SetCorporate(v bool)
SetCorporate gets a reference to the given bool and assigns it to the Corporate field.
func (*CustomerResponse) SetCreatedAt ¶
func (o *CustomerResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*CustomerResponse) SetCustomReference ¶
func (o *CustomerResponse) SetCustomReference(v string)
SetCustomReference gets a reference to the given string and assigns it to the CustomReference field.
func (*CustomerResponse) SetDefaultFiscalEntityId ¶
func (o *CustomerResponse) SetDefaultFiscalEntityId(v string)
SetDefaultFiscalEntityId gets a reference to the given NullableString and assigns it to the DefaultFiscalEntityId field.
func (*CustomerResponse) SetDefaultFiscalEntityIdNil ¶
func (o *CustomerResponse) SetDefaultFiscalEntityIdNil()
SetDefaultFiscalEntityIdNil sets the value for DefaultFiscalEntityId to be an explicit nil
func (*CustomerResponse) SetDefaultPaymentSourceId ¶
func (o *CustomerResponse) SetDefaultPaymentSourceId(v string)
SetDefaultPaymentSourceId gets a reference to the given NullableString and assigns it to the DefaultPaymentSourceId field.
func (*CustomerResponse) SetDefaultPaymentSourceIdNil ¶
func (o *CustomerResponse) SetDefaultPaymentSourceIdNil()
SetDefaultPaymentSourceIdNil sets the value for DefaultPaymentSourceId to be an explicit nil
func (*CustomerResponse) SetDefaultShippingContactId ¶
func (o *CustomerResponse) SetDefaultShippingContactId(v string)
SetDefaultShippingContactId gets a reference to the given string and assigns it to the DefaultShippingContactId field.
func (*CustomerResponse) SetEmail ¶
func (o *CustomerResponse) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*CustomerResponse) SetFiscalEntities ¶
func (o *CustomerResponse) SetFiscalEntities(v CustomerFiscalEntitiesResponse)
SetFiscalEntities gets a reference to the given CustomerFiscalEntitiesResponse and assigns it to the FiscalEntities field.
func (*CustomerResponse) SetLivemode ¶
func (o *CustomerResponse) SetLivemode(v bool)
SetLivemode sets field value
func (*CustomerResponse) SetMetadata ¶
func (o *CustomerResponse) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*CustomerResponse) SetName ¶
func (o *CustomerResponse) SetName(v string)
SetName sets field value
func (*CustomerResponse) SetObject ¶
func (o *CustomerResponse) SetObject(v string)
SetObject sets field value
func (*CustomerResponse) SetPaymentSources ¶
func (o *CustomerResponse) SetPaymentSources(v CustomerPaymentMethodsResponse)
SetPaymentSources gets a reference to the given CustomerPaymentMethodsResponse and assigns it to the PaymentSources field.
func (*CustomerResponse) SetPhone ¶
func (o *CustomerResponse) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CustomerResponse) SetShippingContacts ¶
func (o *CustomerResponse) SetShippingContacts(v CustomerResponseShippingContacts)
SetShippingContacts gets a reference to the given CustomerResponseShippingContacts and assigns it to the ShippingContacts field.
func (CustomerResponse) ToMap ¶
func (o CustomerResponse) ToMap() (map[string]interface{}, error)
func (*CustomerResponse) UnmarshalJSON ¶
func (o *CustomerResponse) UnmarshalJSON(data []byte) (err error)
func (*CustomerResponse) UnsetAntifraudInfo ¶
func (o *CustomerResponse) UnsetAntifraudInfo()
UnsetAntifraudInfo ensures that no value is present for AntifraudInfo, not even an explicit nil
func (*CustomerResponse) UnsetDefaultFiscalEntityId ¶
func (o *CustomerResponse) UnsetDefaultFiscalEntityId()
UnsetDefaultFiscalEntityId ensures that no value is present for DefaultFiscalEntityId, not even an explicit nil
func (*CustomerResponse) UnsetDefaultPaymentSourceId ¶
func (o *CustomerResponse) UnsetDefaultPaymentSourceId()
UnsetDefaultPaymentSourceId ensures that no value is present for DefaultPaymentSourceId, not even an explicit nil
type CustomerResponseShippingContacts ¶
type CustomerResponseShippingContacts struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
Data []CustomerShippingContactsDataResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerResponseShippingContacts struct for CustomerResponseShippingContacts
func NewCustomerResponseShippingContacts ¶
func NewCustomerResponseShippingContacts(hasMore bool, object string) *CustomerResponseShippingContacts
NewCustomerResponseShippingContacts instantiates a new CustomerResponseShippingContacts 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 NewCustomerResponseShippingContactsWithDefaults ¶
func NewCustomerResponseShippingContactsWithDefaults() *CustomerResponseShippingContacts
NewCustomerResponseShippingContactsWithDefaults instantiates a new CustomerResponseShippingContacts 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 (*CustomerResponseShippingContacts) GetData ¶
func (o *CustomerResponseShippingContacts) GetData() []CustomerShippingContactsDataResponse
GetData returns the Data field value if set, zero value otherwise.
func (*CustomerResponseShippingContacts) GetDataOk ¶
func (o *CustomerResponseShippingContacts) GetDataOk() ([]CustomerShippingContactsDataResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerResponseShippingContacts) GetHasMore ¶
func (o *CustomerResponseShippingContacts) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*CustomerResponseShippingContacts) GetHasMoreOk ¶
func (o *CustomerResponseShippingContacts) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*CustomerResponseShippingContacts) GetObject ¶
func (o *CustomerResponseShippingContacts) GetObject() string
GetObject returns the Object field value
func (*CustomerResponseShippingContacts) GetObjectOk ¶
func (o *CustomerResponseShippingContacts) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CustomerResponseShippingContacts) HasData ¶
func (o *CustomerResponseShippingContacts) HasData() bool
HasData returns a boolean if a field has been set.
func (CustomerResponseShippingContacts) MarshalJSON ¶
func (o CustomerResponseShippingContacts) MarshalJSON() ([]byte, error)
func (*CustomerResponseShippingContacts) SetData ¶
func (o *CustomerResponseShippingContacts) SetData(v []CustomerShippingContactsDataResponse)
SetData gets a reference to the given []CustomerShippingContactsDataResponse and assigns it to the Data field.
func (*CustomerResponseShippingContacts) SetHasMore ¶
func (o *CustomerResponseShippingContacts) SetHasMore(v bool)
SetHasMore sets field value
func (*CustomerResponseShippingContacts) SetObject ¶
func (o *CustomerResponseShippingContacts) SetObject(v string)
SetObject sets field value
func (CustomerResponseShippingContacts) ToMap ¶
func (o CustomerResponseShippingContacts) ToMap() (map[string]interface{}, error)
func (*CustomerResponseShippingContacts) UnmarshalJSON ¶
func (o *CustomerResponseShippingContacts) UnmarshalJSON(data []byte) (err error)
type CustomerShippingContacts ¶
type CustomerShippingContacts struct {
// Phone contact
Phone *string `json:"phone,omitempty"`
// Name of the person who will receive the order
Receiver *string `json:"receiver,omitempty"`
// The street names between which the order will be delivered.
BetweenStreets *string `json:"between_streets,omitempty"`
Address CustomerShippingContactsAddress `json:"address"`
ParentId *string `json:"parent_id,omitempty"`
Default NullableBool `json:"default,omitempty"`
Deleted NullableBool `json:"deleted,omitempty"`
// Metadata associated with the shipping contact
Metadata map[string]interface{} `json:"metadata,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerShippingContacts [Shipping](https://developers.femsa.com/v2.1.0/reference/createcustomershippingcontacts) details, required in case of sending a shipping. If we do not receive a shipping_contact on the order, the default shipping_contact of the customer will be used.
func NewCustomerShippingContacts ¶
func NewCustomerShippingContacts(address CustomerShippingContactsAddress) *CustomerShippingContacts
NewCustomerShippingContacts instantiates a new CustomerShippingContacts 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 NewCustomerShippingContactsWithDefaults ¶
func NewCustomerShippingContactsWithDefaults() *CustomerShippingContacts
NewCustomerShippingContactsWithDefaults instantiates a new CustomerShippingContacts 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 (*CustomerShippingContacts) GetAddress ¶
func (o *CustomerShippingContacts) GetAddress() CustomerShippingContactsAddress
GetAddress returns the Address field value
func (*CustomerShippingContacts) GetAddressOk ¶
func (o *CustomerShippingContacts) GetAddressOk() (*CustomerShippingContactsAddress, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*CustomerShippingContacts) GetBetweenStreets ¶
func (o *CustomerShippingContacts) GetBetweenStreets() string
GetBetweenStreets returns the BetweenStreets field value if set, zero value otherwise.
func (*CustomerShippingContacts) GetBetweenStreetsOk ¶
func (o *CustomerShippingContacts) GetBetweenStreetsOk() (*string, bool)
GetBetweenStreetsOk returns a tuple with the BetweenStreets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContacts) GetDefault ¶
func (o *CustomerShippingContacts) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerShippingContacts) GetDefaultOk ¶
func (o *CustomerShippingContacts) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default 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 (*CustomerShippingContacts) GetDeleted ¶
func (o *CustomerShippingContacts) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerShippingContacts) GetDeletedOk ¶
func (o *CustomerShippingContacts) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted 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 (*CustomerShippingContacts) GetMetadata ¶
func (o *CustomerShippingContacts) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CustomerShippingContacts) GetMetadataOk ¶
func (o *CustomerShippingContacts) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContacts) GetParentId ¶
func (o *CustomerShippingContacts) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*CustomerShippingContacts) GetParentIdOk ¶
func (o *CustomerShippingContacts) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContacts) GetPhone ¶
func (o *CustomerShippingContacts) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CustomerShippingContacts) GetPhoneOk ¶
func (o *CustomerShippingContacts) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContacts) GetReceiver ¶
func (o *CustomerShippingContacts) GetReceiver() string
GetReceiver returns the Receiver field value if set, zero value otherwise.
func (*CustomerShippingContacts) GetReceiverOk ¶
func (o *CustomerShippingContacts) GetReceiverOk() (*string, bool)
GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContacts) HasBetweenStreets ¶
func (o *CustomerShippingContacts) HasBetweenStreets() bool
HasBetweenStreets returns a boolean if a field has been set.
func (*CustomerShippingContacts) HasDefault ¶
func (o *CustomerShippingContacts) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*CustomerShippingContacts) HasDeleted ¶
func (o *CustomerShippingContacts) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*CustomerShippingContacts) HasMetadata ¶
func (o *CustomerShippingContacts) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CustomerShippingContacts) HasParentId ¶
func (o *CustomerShippingContacts) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*CustomerShippingContacts) HasPhone ¶
func (o *CustomerShippingContacts) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CustomerShippingContacts) HasReceiver ¶
func (o *CustomerShippingContacts) HasReceiver() bool
HasReceiver returns a boolean if a field has been set.
func (CustomerShippingContacts) MarshalJSON ¶
func (o CustomerShippingContacts) MarshalJSON() ([]byte, error)
func (*CustomerShippingContacts) SetAddress ¶
func (o *CustomerShippingContacts) SetAddress(v CustomerShippingContactsAddress)
SetAddress sets field value
func (*CustomerShippingContacts) SetBetweenStreets ¶
func (o *CustomerShippingContacts) SetBetweenStreets(v string)
SetBetweenStreets gets a reference to the given string and assigns it to the BetweenStreets field.
func (*CustomerShippingContacts) SetDefault ¶
func (o *CustomerShippingContacts) SetDefault(v bool)
SetDefault gets a reference to the given NullableBool and assigns it to the Default field.
func (*CustomerShippingContacts) SetDefaultNil ¶
func (o *CustomerShippingContacts) SetDefaultNil()
SetDefaultNil sets the value for Default to be an explicit nil
func (*CustomerShippingContacts) SetDeleted ¶
func (o *CustomerShippingContacts) SetDeleted(v bool)
SetDeleted gets a reference to the given NullableBool and assigns it to the Deleted field.
func (*CustomerShippingContacts) SetDeletedNil ¶
func (o *CustomerShippingContacts) SetDeletedNil()
SetDeletedNil sets the value for Deleted to be an explicit nil
func (*CustomerShippingContacts) SetMetadata ¶
func (o *CustomerShippingContacts) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*CustomerShippingContacts) SetParentId ¶
func (o *CustomerShippingContacts) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*CustomerShippingContacts) SetPhone ¶
func (o *CustomerShippingContacts) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CustomerShippingContacts) SetReceiver ¶
func (o *CustomerShippingContacts) SetReceiver(v string)
SetReceiver gets a reference to the given string and assigns it to the Receiver field.
func (CustomerShippingContacts) ToMap ¶
func (o CustomerShippingContacts) ToMap() (map[string]interface{}, error)
func (*CustomerShippingContacts) UnmarshalJSON ¶
func (o *CustomerShippingContacts) UnmarshalJSON(data []byte) (err error)
func (*CustomerShippingContacts) UnsetDefault ¶
func (o *CustomerShippingContacts) UnsetDefault()
UnsetDefault ensures that no value is present for Default, not even an explicit nil
func (*CustomerShippingContacts) UnsetDeleted ¶
func (o *CustomerShippingContacts) UnsetDeleted()
UnsetDeleted ensures that no value is present for Deleted, not even an explicit nil
type CustomerShippingContactsAddress ¶
type CustomerShippingContactsAddress struct {
Street1 *string `json:"street1,omitempty"`
Street2 *string `json:"street2,omitempty"`
PostalCode *string `json:"postal_code,omitempty"`
City *string `json:"city,omitempty"`
State *string `json:"state,omitempty"`
// this field follows the [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
Country *string `json:"country,omitempty"`
Residential NullableBool `json:"residential,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerShippingContactsAddress Address of the person who will receive the order
func NewCustomerShippingContactsAddress ¶
func NewCustomerShippingContactsAddress() *CustomerShippingContactsAddress
NewCustomerShippingContactsAddress instantiates a new CustomerShippingContactsAddress 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 NewCustomerShippingContactsAddressWithDefaults ¶
func NewCustomerShippingContactsAddressWithDefaults() *CustomerShippingContactsAddress
NewCustomerShippingContactsAddressWithDefaults instantiates a new CustomerShippingContactsAddress 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 (*CustomerShippingContactsAddress) GetCity ¶
func (o *CustomerShippingContactsAddress) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*CustomerShippingContactsAddress) GetCityOk ¶
func (o *CustomerShippingContactsAddress) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsAddress) GetCountry ¶
func (o *CustomerShippingContactsAddress) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*CustomerShippingContactsAddress) GetCountryOk ¶
func (o *CustomerShippingContactsAddress) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsAddress) GetPostalCode ¶
func (o *CustomerShippingContactsAddress) GetPostalCode() string
GetPostalCode returns the PostalCode field value if set, zero value otherwise.
func (*CustomerShippingContactsAddress) GetPostalCodeOk ¶
func (o *CustomerShippingContactsAddress) GetPostalCodeOk() (*string, bool)
GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsAddress) GetResidential ¶
func (o *CustomerShippingContactsAddress) GetResidential() bool
GetResidential returns the Residential field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerShippingContactsAddress) GetResidentialOk ¶
func (o *CustomerShippingContactsAddress) GetResidentialOk() (*bool, bool)
GetResidentialOk returns a tuple with the Residential 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 (*CustomerShippingContactsAddress) GetState ¶
func (o *CustomerShippingContactsAddress) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*CustomerShippingContactsAddress) GetStateOk ¶
func (o *CustomerShippingContactsAddress) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsAddress) GetStreet1 ¶
func (o *CustomerShippingContactsAddress) GetStreet1() string
GetStreet1 returns the Street1 field value if set, zero value otherwise.
func (*CustomerShippingContactsAddress) GetStreet1Ok ¶
func (o *CustomerShippingContactsAddress) GetStreet1Ok() (*string, bool)
GetStreet1Ok returns a tuple with the Street1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsAddress) GetStreet2 ¶
func (o *CustomerShippingContactsAddress) GetStreet2() string
GetStreet2 returns the Street2 field value if set, zero value otherwise.
func (*CustomerShippingContactsAddress) GetStreet2Ok ¶
func (o *CustomerShippingContactsAddress) GetStreet2Ok() (*string, bool)
GetStreet2Ok returns a tuple with the Street2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsAddress) HasCity ¶
func (o *CustomerShippingContactsAddress) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*CustomerShippingContactsAddress) HasCountry ¶
func (o *CustomerShippingContactsAddress) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*CustomerShippingContactsAddress) HasPostalCode ¶
func (o *CustomerShippingContactsAddress) HasPostalCode() bool
HasPostalCode returns a boolean if a field has been set.
func (*CustomerShippingContactsAddress) HasResidential ¶
func (o *CustomerShippingContactsAddress) HasResidential() bool
HasResidential returns a boolean if a field has been set.
func (*CustomerShippingContactsAddress) HasState ¶
func (o *CustomerShippingContactsAddress) HasState() bool
HasState returns a boolean if a field has been set.
func (*CustomerShippingContactsAddress) HasStreet1 ¶
func (o *CustomerShippingContactsAddress) HasStreet1() bool
HasStreet1 returns a boolean if a field has been set.
func (*CustomerShippingContactsAddress) HasStreet2 ¶
func (o *CustomerShippingContactsAddress) HasStreet2() bool
HasStreet2 returns a boolean if a field has been set.
func (CustomerShippingContactsAddress) MarshalJSON ¶
func (o CustomerShippingContactsAddress) MarshalJSON() ([]byte, error)
func (*CustomerShippingContactsAddress) SetCity ¶
func (o *CustomerShippingContactsAddress) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*CustomerShippingContactsAddress) SetCountry ¶
func (o *CustomerShippingContactsAddress) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*CustomerShippingContactsAddress) SetPostalCode ¶
func (o *CustomerShippingContactsAddress) SetPostalCode(v string)
SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.
func (*CustomerShippingContactsAddress) SetResidential ¶
func (o *CustomerShippingContactsAddress) SetResidential(v bool)
SetResidential gets a reference to the given NullableBool and assigns it to the Residential field.
func (*CustomerShippingContactsAddress) SetResidentialNil ¶
func (o *CustomerShippingContactsAddress) SetResidentialNil()
SetResidentialNil sets the value for Residential to be an explicit nil
func (*CustomerShippingContactsAddress) SetState ¶
func (o *CustomerShippingContactsAddress) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*CustomerShippingContactsAddress) SetStreet1 ¶
func (o *CustomerShippingContactsAddress) SetStreet1(v string)
SetStreet1 gets a reference to the given string and assigns it to the Street1 field.
func (*CustomerShippingContactsAddress) SetStreet2 ¶
func (o *CustomerShippingContactsAddress) SetStreet2(v string)
SetStreet2 gets a reference to the given string and assigns it to the Street2 field.
func (CustomerShippingContactsAddress) ToMap ¶
func (o CustomerShippingContactsAddress) ToMap() (map[string]interface{}, error)
func (*CustomerShippingContactsAddress) UnmarshalJSON ¶
func (o *CustomerShippingContactsAddress) UnmarshalJSON(data []byte) (err error)
func (*CustomerShippingContactsAddress) UnsetResidential ¶
func (o *CustomerShippingContactsAddress) UnsetResidential()
UnsetResidential ensures that no value is present for Residential, not even an explicit nil
type CustomerShippingContactsDataResponse ¶
type CustomerShippingContactsDataResponse struct {
// Phone contact
Phone *string `json:"phone,omitempty"`
// Name of the person who will receive the order
Receiver *string `json:"receiver,omitempty"`
// The street names between which the order will be delivered.
BetweenStreets *string `json:"between_streets,omitempty"`
Address CustomerShippingContactsAddress `json:"address"`
ParentId *string `json:"parent_id,omitempty"`
Default NullableBool `json:"default,omitempty"`
Deleted NullableBool `json:"deleted,omitempty"`
// Metadata associated with the shipping contact
Metadata map[string]interface{} `json:"metadata,omitempty"`
Id string `json:"id"`
Object string `json:"object"`
CreatedAt int64 `json:"created_at"`
AdditionalProperties map[string]interface{}
}
CustomerShippingContactsDataResponse struct for CustomerShippingContactsDataResponse
func NewCustomerShippingContactsDataResponse ¶
func NewCustomerShippingContactsDataResponse(address CustomerShippingContactsAddress, id string, object string, createdAt int64) *CustomerShippingContactsDataResponse
NewCustomerShippingContactsDataResponse instantiates a new CustomerShippingContactsDataResponse 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 NewCustomerShippingContactsDataResponseWithDefaults ¶
func NewCustomerShippingContactsDataResponseWithDefaults() *CustomerShippingContactsDataResponse
NewCustomerShippingContactsDataResponseWithDefaults instantiates a new CustomerShippingContactsDataResponse 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 (*CustomerShippingContactsDataResponse) GetAddress ¶
func (o *CustomerShippingContactsDataResponse) GetAddress() CustomerShippingContactsAddress
GetAddress returns the Address field value
func (*CustomerShippingContactsDataResponse) GetAddressOk ¶
func (o *CustomerShippingContactsDataResponse) GetAddressOk() (*CustomerShippingContactsAddress, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*CustomerShippingContactsDataResponse) GetBetweenStreets ¶
func (o *CustomerShippingContactsDataResponse) GetBetweenStreets() string
GetBetweenStreets returns the BetweenStreets field value if set, zero value otherwise.
func (*CustomerShippingContactsDataResponse) GetBetweenStreetsOk ¶
func (o *CustomerShippingContactsDataResponse) GetBetweenStreetsOk() (*string, bool)
GetBetweenStreetsOk returns a tuple with the BetweenStreets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsDataResponse) GetCreatedAt ¶
func (o *CustomerShippingContactsDataResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*CustomerShippingContactsDataResponse) GetCreatedAtOk ¶
func (o *CustomerShippingContactsDataResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CustomerShippingContactsDataResponse) GetDefault ¶
func (o *CustomerShippingContactsDataResponse) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerShippingContactsDataResponse) GetDefaultOk ¶
func (o *CustomerShippingContactsDataResponse) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default 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 (*CustomerShippingContactsDataResponse) GetDeleted ¶
func (o *CustomerShippingContactsDataResponse) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerShippingContactsDataResponse) GetDeletedOk ¶
func (o *CustomerShippingContactsDataResponse) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted 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 (*CustomerShippingContactsDataResponse) GetId ¶
func (o *CustomerShippingContactsDataResponse) GetId() string
GetId returns the Id field value
func (*CustomerShippingContactsDataResponse) GetIdOk ¶
func (o *CustomerShippingContactsDataResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CustomerShippingContactsDataResponse) GetMetadata ¶
func (o *CustomerShippingContactsDataResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CustomerShippingContactsDataResponse) GetMetadataOk ¶
func (o *CustomerShippingContactsDataResponse) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsDataResponse) GetObject ¶
func (o *CustomerShippingContactsDataResponse) GetObject() string
GetObject returns the Object field value
func (*CustomerShippingContactsDataResponse) GetObjectOk ¶
func (o *CustomerShippingContactsDataResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CustomerShippingContactsDataResponse) GetParentId ¶
func (o *CustomerShippingContactsDataResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*CustomerShippingContactsDataResponse) GetParentIdOk ¶
func (o *CustomerShippingContactsDataResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsDataResponse) GetPhone ¶
func (o *CustomerShippingContactsDataResponse) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CustomerShippingContactsDataResponse) GetPhoneOk ¶
func (o *CustomerShippingContactsDataResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsDataResponse) GetReceiver ¶
func (o *CustomerShippingContactsDataResponse) GetReceiver() string
GetReceiver returns the Receiver field value if set, zero value otherwise.
func (*CustomerShippingContactsDataResponse) GetReceiverOk ¶
func (o *CustomerShippingContactsDataResponse) GetReceiverOk() (*string, bool)
GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsDataResponse) HasBetweenStreets ¶
func (o *CustomerShippingContactsDataResponse) HasBetweenStreets() bool
HasBetweenStreets returns a boolean if a field has been set.
func (*CustomerShippingContactsDataResponse) HasDefault ¶
func (o *CustomerShippingContactsDataResponse) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*CustomerShippingContactsDataResponse) HasDeleted ¶
func (o *CustomerShippingContactsDataResponse) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*CustomerShippingContactsDataResponse) HasMetadata ¶
func (o *CustomerShippingContactsDataResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CustomerShippingContactsDataResponse) HasParentId ¶
func (o *CustomerShippingContactsDataResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*CustomerShippingContactsDataResponse) HasPhone ¶
func (o *CustomerShippingContactsDataResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CustomerShippingContactsDataResponse) HasReceiver ¶
func (o *CustomerShippingContactsDataResponse) HasReceiver() bool
HasReceiver returns a boolean if a field has been set.
func (CustomerShippingContactsDataResponse) MarshalJSON ¶
func (o CustomerShippingContactsDataResponse) MarshalJSON() ([]byte, error)
func (*CustomerShippingContactsDataResponse) SetAddress ¶
func (o *CustomerShippingContactsDataResponse) SetAddress(v CustomerShippingContactsAddress)
SetAddress sets field value
func (*CustomerShippingContactsDataResponse) SetBetweenStreets ¶
func (o *CustomerShippingContactsDataResponse) SetBetweenStreets(v string)
SetBetweenStreets gets a reference to the given string and assigns it to the BetweenStreets field.
func (*CustomerShippingContactsDataResponse) SetCreatedAt ¶
func (o *CustomerShippingContactsDataResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*CustomerShippingContactsDataResponse) SetDefault ¶
func (o *CustomerShippingContactsDataResponse) SetDefault(v bool)
SetDefault gets a reference to the given NullableBool and assigns it to the Default field.
func (*CustomerShippingContactsDataResponse) SetDefaultNil ¶
func (o *CustomerShippingContactsDataResponse) SetDefaultNil()
SetDefaultNil sets the value for Default to be an explicit nil
func (*CustomerShippingContactsDataResponse) SetDeleted ¶
func (o *CustomerShippingContactsDataResponse) SetDeleted(v bool)
SetDeleted gets a reference to the given NullableBool and assigns it to the Deleted field.
func (*CustomerShippingContactsDataResponse) SetDeletedNil ¶
func (o *CustomerShippingContactsDataResponse) SetDeletedNil()
SetDeletedNil sets the value for Deleted to be an explicit nil
func (*CustomerShippingContactsDataResponse) SetId ¶
func (o *CustomerShippingContactsDataResponse) SetId(v string)
SetId sets field value
func (*CustomerShippingContactsDataResponse) SetMetadata ¶
func (o *CustomerShippingContactsDataResponse) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*CustomerShippingContactsDataResponse) SetObject ¶
func (o *CustomerShippingContactsDataResponse) SetObject(v string)
SetObject sets field value
func (*CustomerShippingContactsDataResponse) SetParentId ¶
func (o *CustomerShippingContactsDataResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*CustomerShippingContactsDataResponse) SetPhone ¶
func (o *CustomerShippingContactsDataResponse) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CustomerShippingContactsDataResponse) SetReceiver ¶
func (o *CustomerShippingContactsDataResponse) SetReceiver(v string)
SetReceiver gets a reference to the given string and assigns it to the Receiver field.
func (CustomerShippingContactsDataResponse) ToMap ¶
func (o CustomerShippingContactsDataResponse) ToMap() (map[string]interface{}, error)
func (*CustomerShippingContactsDataResponse) UnmarshalJSON ¶
func (o *CustomerShippingContactsDataResponse) UnmarshalJSON(data []byte) (err error)
func (*CustomerShippingContactsDataResponse) UnsetDefault ¶
func (o *CustomerShippingContactsDataResponse) UnsetDefault()
UnsetDefault ensures that no value is present for Default, not even an explicit nil
func (*CustomerShippingContactsDataResponse) UnsetDeleted ¶
func (o *CustomerShippingContactsDataResponse) UnsetDeleted()
UnsetDeleted ensures that no value is present for Deleted, not even an explicit nil
type CustomerShippingContactsResponse ¶
type CustomerShippingContactsResponse struct {
Phone *string `json:"phone,omitempty"`
Receiver *string `json:"receiver,omitempty"`
BetweenStreets NullableString `json:"between_streets,omitempty"`
Address *CustomerShippingContactsResponseAddress `json:"address,omitempty"`
ParentId *string `json:"parent_id,omitempty"`
Default *bool `json:"default,omitempty"`
Id *string `json:"id,omitempty"`
CreatedAt *int64 `json:"created_at,omitempty"`
// Metadata associated with the shipping contact
Metadata map[string]interface{} `json:"metadata,omitempty"`
Object *string `json:"object,omitempty"`
Deleted *bool `json:"deleted,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerShippingContactsResponse Contains the detail of the shipping addresses that the client has active or has used in Femsa
func NewCustomerShippingContactsResponse ¶
func NewCustomerShippingContactsResponse() *CustomerShippingContactsResponse
NewCustomerShippingContactsResponse instantiates a new CustomerShippingContactsResponse 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 NewCustomerShippingContactsResponseWithDefaults ¶
func NewCustomerShippingContactsResponseWithDefaults() *CustomerShippingContactsResponse
NewCustomerShippingContactsResponseWithDefaults instantiates a new CustomerShippingContactsResponse 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 (*CustomerShippingContactsResponse) GetAddress ¶
func (o *CustomerShippingContactsResponse) GetAddress() CustomerShippingContactsResponseAddress
GetAddress returns the Address field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetAddressOk ¶
func (o *CustomerShippingContactsResponse) GetAddressOk() (*CustomerShippingContactsResponseAddress, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) GetBetweenStreets ¶
func (o *CustomerShippingContactsResponse) GetBetweenStreets() string
GetBetweenStreets returns the BetweenStreets field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerShippingContactsResponse) GetBetweenStreetsOk ¶
func (o *CustomerShippingContactsResponse) GetBetweenStreetsOk() (*string, bool)
GetBetweenStreetsOk returns a tuple with the BetweenStreets 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 (*CustomerShippingContactsResponse) GetCreatedAt ¶
func (o *CustomerShippingContactsResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetCreatedAtOk ¶
func (o *CustomerShippingContactsResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) GetDefault ¶
func (o *CustomerShippingContactsResponse) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetDefaultOk ¶
func (o *CustomerShippingContactsResponse) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) GetDeleted ¶
func (o *CustomerShippingContactsResponse) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetDeletedOk ¶
func (o *CustomerShippingContactsResponse) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) GetId ¶
func (o *CustomerShippingContactsResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetIdOk ¶
func (o *CustomerShippingContactsResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) GetMetadata ¶
func (o *CustomerShippingContactsResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetMetadataOk ¶
func (o *CustomerShippingContactsResponse) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) GetObject ¶
func (o *CustomerShippingContactsResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetObjectOk ¶
func (o *CustomerShippingContactsResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) GetParentId ¶
func (o *CustomerShippingContactsResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetParentIdOk ¶
func (o *CustomerShippingContactsResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) GetPhone ¶
func (o *CustomerShippingContactsResponse) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetPhoneOk ¶
func (o *CustomerShippingContactsResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) GetReceiver ¶
func (o *CustomerShippingContactsResponse) GetReceiver() string
GetReceiver returns the Receiver field value if set, zero value otherwise.
func (*CustomerShippingContactsResponse) GetReceiverOk ¶
func (o *CustomerShippingContactsResponse) GetReceiverOk() (*string, bool)
GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponse) HasAddress ¶
func (o *CustomerShippingContactsResponse) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasBetweenStreets ¶
func (o *CustomerShippingContactsResponse) HasBetweenStreets() bool
HasBetweenStreets returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasCreatedAt ¶
func (o *CustomerShippingContactsResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasDefault ¶
func (o *CustomerShippingContactsResponse) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasDeleted ¶
func (o *CustomerShippingContactsResponse) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasId ¶
func (o *CustomerShippingContactsResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasMetadata ¶
func (o *CustomerShippingContactsResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasObject ¶
func (o *CustomerShippingContactsResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasParentId ¶
func (o *CustomerShippingContactsResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasPhone ¶
func (o *CustomerShippingContactsResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CustomerShippingContactsResponse) HasReceiver ¶
func (o *CustomerShippingContactsResponse) HasReceiver() bool
HasReceiver returns a boolean if a field has been set.
func (CustomerShippingContactsResponse) MarshalJSON ¶
func (o CustomerShippingContactsResponse) MarshalJSON() ([]byte, error)
func (*CustomerShippingContactsResponse) SetAddress ¶
func (o *CustomerShippingContactsResponse) SetAddress(v CustomerShippingContactsResponseAddress)
SetAddress gets a reference to the given CustomerShippingContactsResponseAddress and assigns it to the Address field.
func (*CustomerShippingContactsResponse) SetBetweenStreets ¶
func (o *CustomerShippingContactsResponse) SetBetweenStreets(v string)
SetBetweenStreets gets a reference to the given NullableString and assigns it to the BetweenStreets field.
func (*CustomerShippingContactsResponse) SetBetweenStreetsNil ¶
func (o *CustomerShippingContactsResponse) SetBetweenStreetsNil()
SetBetweenStreetsNil sets the value for BetweenStreets to be an explicit nil
func (*CustomerShippingContactsResponse) SetCreatedAt ¶
func (o *CustomerShippingContactsResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*CustomerShippingContactsResponse) SetDefault ¶
func (o *CustomerShippingContactsResponse) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*CustomerShippingContactsResponse) SetDeleted ¶
func (o *CustomerShippingContactsResponse) SetDeleted(v bool)
SetDeleted gets a reference to the given bool and assigns it to the Deleted field.
func (*CustomerShippingContactsResponse) SetId ¶
func (o *CustomerShippingContactsResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CustomerShippingContactsResponse) SetMetadata ¶
func (o *CustomerShippingContactsResponse) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*CustomerShippingContactsResponse) SetObject ¶
func (o *CustomerShippingContactsResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CustomerShippingContactsResponse) SetParentId ¶
func (o *CustomerShippingContactsResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*CustomerShippingContactsResponse) SetPhone ¶
func (o *CustomerShippingContactsResponse) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CustomerShippingContactsResponse) SetReceiver ¶
func (o *CustomerShippingContactsResponse) SetReceiver(v string)
SetReceiver gets a reference to the given string and assigns it to the Receiver field.
func (CustomerShippingContactsResponse) ToMap ¶
func (o CustomerShippingContactsResponse) ToMap() (map[string]interface{}, error)
func (*CustomerShippingContactsResponse) UnmarshalJSON ¶
func (o *CustomerShippingContactsResponse) UnmarshalJSON(data []byte) (err error)
func (*CustomerShippingContactsResponse) UnsetBetweenStreets ¶
func (o *CustomerShippingContactsResponse) UnsetBetweenStreets()
UnsetBetweenStreets ensures that no value is present for BetweenStreets, not even an explicit nil
type CustomerShippingContactsResponseAddress ¶
type CustomerShippingContactsResponseAddress struct {
Object *string `json:"object,omitempty"`
Street1 *string `json:"street1,omitempty"`
Street2 *string `json:"street2,omitempty"`
PostalCode *string `json:"postal_code,omitempty"`
City *string `json:"city,omitempty"`
State *string `json:"state,omitempty"`
Country *string `json:"country,omitempty"`
Residential NullableBool `json:"residential,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerShippingContactsResponseAddress struct for CustomerShippingContactsResponseAddress
func NewCustomerShippingContactsResponseAddress ¶
func NewCustomerShippingContactsResponseAddress() *CustomerShippingContactsResponseAddress
NewCustomerShippingContactsResponseAddress instantiates a new CustomerShippingContactsResponseAddress 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 NewCustomerShippingContactsResponseAddressWithDefaults ¶
func NewCustomerShippingContactsResponseAddressWithDefaults() *CustomerShippingContactsResponseAddress
NewCustomerShippingContactsResponseAddressWithDefaults instantiates a new CustomerShippingContactsResponseAddress 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 (*CustomerShippingContactsResponseAddress) GetCity ¶
func (o *CustomerShippingContactsResponseAddress) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*CustomerShippingContactsResponseAddress) GetCityOk ¶
func (o *CustomerShippingContactsResponseAddress) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponseAddress) GetCountry ¶
func (o *CustomerShippingContactsResponseAddress) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*CustomerShippingContactsResponseAddress) GetCountryOk ¶
func (o *CustomerShippingContactsResponseAddress) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponseAddress) GetObject ¶
func (o *CustomerShippingContactsResponseAddress) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CustomerShippingContactsResponseAddress) GetObjectOk ¶
func (o *CustomerShippingContactsResponseAddress) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponseAddress) GetPostalCode ¶
func (o *CustomerShippingContactsResponseAddress) GetPostalCode() string
GetPostalCode returns the PostalCode field value if set, zero value otherwise.
func (*CustomerShippingContactsResponseAddress) GetPostalCodeOk ¶
func (o *CustomerShippingContactsResponseAddress) GetPostalCodeOk() (*string, bool)
GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponseAddress) GetResidential ¶
func (o *CustomerShippingContactsResponseAddress) GetResidential() bool
GetResidential returns the Residential field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerShippingContactsResponseAddress) GetResidentialOk ¶
func (o *CustomerShippingContactsResponseAddress) GetResidentialOk() (*bool, bool)
GetResidentialOk returns a tuple with the Residential 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 (*CustomerShippingContactsResponseAddress) GetState ¶
func (o *CustomerShippingContactsResponseAddress) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*CustomerShippingContactsResponseAddress) GetStateOk ¶
func (o *CustomerShippingContactsResponseAddress) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponseAddress) GetStreet1 ¶
func (o *CustomerShippingContactsResponseAddress) GetStreet1() string
GetStreet1 returns the Street1 field value if set, zero value otherwise.
func (*CustomerShippingContactsResponseAddress) GetStreet1Ok ¶
func (o *CustomerShippingContactsResponseAddress) GetStreet1Ok() (*string, bool)
GetStreet1Ok returns a tuple with the Street1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponseAddress) GetStreet2 ¶
func (o *CustomerShippingContactsResponseAddress) GetStreet2() string
GetStreet2 returns the Street2 field value if set, zero value otherwise.
func (*CustomerShippingContactsResponseAddress) GetStreet2Ok ¶
func (o *CustomerShippingContactsResponseAddress) GetStreet2Ok() (*string, bool)
GetStreet2Ok returns a tuple with the Street2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerShippingContactsResponseAddress) HasCity ¶
func (o *CustomerShippingContactsResponseAddress) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*CustomerShippingContactsResponseAddress) HasCountry ¶
func (o *CustomerShippingContactsResponseAddress) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*CustomerShippingContactsResponseAddress) HasObject ¶
func (o *CustomerShippingContactsResponseAddress) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CustomerShippingContactsResponseAddress) HasPostalCode ¶
func (o *CustomerShippingContactsResponseAddress) HasPostalCode() bool
HasPostalCode returns a boolean if a field has been set.
func (*CustomerShippingContactsResponseAddress) HasResidential ¶
func (o *CustomerShippingContactsResponseAddress) HasResidential() bool
HasResidential returns a boolean if a field has been set.
func (*CustomerShippingContactsResponseAddress) HasState ¶
func (o *CustomerShippingContactsResponseAddress) HasState() bool
HasState returns a boolean if a field has been set.
func (*CustomerShippingContactsResponseAddress) HasStreet1 ¶
func (o *CustomerShippingContactsResponseAddress) HasStreet1() bool
HasStreet1 returns a boolean if a field has been set.
func (*CustomerShippingContactsResponseAddress) HasStreet2 ¶
func (o *CustomerShippingContactsResponseAddress) HasStreet2() bool
HasStreet2 returns a boolean if a field has been set.
func (CustomerShippingContactsResponseAddress) MarshalJSON ¶
func (o CustomerShippingContactsResponseAddress) MarshalJSON() ([]byte, error)
func (*CustomerShippingContactsResponseAddress) SetCity ¶
func (o *CustomerShippingContactsResponseAddress) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*CustomerShippingContactsResponseAddress) SetCountry ¶
func (o *CustomerShippingContactsResponseAddress) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*CustomerShippingContactsResponseAddress) SetObject ¶
func (o *CustomerShippingContactsResponseAddress) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CustomerShippingContactsResponseAddress) SetPostalCode ¶
func (o *CustomerShippingContactsResponseAddress) SetPostalCode(v string)
SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.
func (*CustomerShippingContactsResponseAddress) SetResidential ¶
func (o *CustomerShippingContactsResponseAddress) SetResidential(v bool)
SetResidential gets a reference to the given NullableBool and assigns it to the Residential field.
func (*CustomerShippingContactsResponseAddress) SetResidentialNil ¶
func (o *CustomerShippingContactsResponseAddress) SetResidentialNil()
SetResidentialNil sets the value for Residential to be an explicit nil
func (*CustomerShippingContactsResponseAddress) SetState ¶
func (o *CustomerShippingContactsResponseAddress) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*CustomerShippingContactsResponseAddress) SetStreet1 ¶
func (o *CustomerShippingContactsResponseAddress) SetStreet1(v string)
SetStreet1 gets a reference to the given string and assigns it to the Street1 field.
func (*CustomerShippingContactsResponseAddress) SetStreet2 ¶
func (o *CustomerShippingContactsResponseAddress) SetStreet2(v string)
SetStreet2 gets a reference to the given string and assigns it to the Street2 field.
func (CustomerShippingContactsResponseAddress) ToMap ¶
func (o CustomerShippingContactsResponseAddress) ToMap() (map[string]interface{}, error)
func (*CustomerShippingContactsResponseAddress) UnmarshalJSON ¶
func (o *CustomerShippingContactsResponseAddress) UnmarshalJSON(data []byte) (err error)
func (*CustomerShippingContactsResponseAddress) UnsetResidential ¶
func (o *CustomerShippingContactsResponseAddress) UnsetResidential()
UnsetResidential ensures that no value is present for Residential, not even an explicit nil
type CustomerUpdateFiscalEntitiesRequest ¶
type CustomerUpdateFiscalEntitiesRequest struct {
Address *CustomerAddress `json:"address,omitempty"`
TaxId *string `json:"tax_id,omitempty"`
Email *string `json:"email,omitempty"`
Phone *string `json:"phone,omitempty"`
Metadata map[string]map[string]interface{} `json:"metadata,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerUpdateFiscalEntitiesRequest struct for CustomerUpdateFiscalEntitiesRequest
func NewCustomerUpdateFiscalEntitiesRequest ¶
func NewCustomerUpdateFiscalEntitiesRequest() *CustomerUpdateFiscalEntitiesRequest
NewCustomerUpdateFiscalEntitiesRequest instantiates a new CustomerUpdateFiscalEntitiesRequest 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 NewCustomerUpdateFiscalEntitiesRequestWithDefaults ¶
func NewCustomerUpdateFiscalEntitiesRequestWithDefaults() *CustomerUpdateFiscalEntitiesRequest
NewCustomerUpdateFiscalEntitiesRequestWithDefaults instantiates a new CustomerUpdateFiscalEntitiesRequest 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 (*CustomerUpdateFiscalEntitiesRequest) GetAddress ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetAddress() CustomerAddress
GetAddress returns the Address field value if set, zero value otherwise.
func (*CustomerUpdateFiscalEntitiesRequest) GetAddressOk ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetAddressOk() (*CustomerAddress, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateFiscalEntitiesRequest) GetCompanyName ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetCompanyName() string
GetCompanyName returns the CompanyName field value if set, zero value otherwise.
func (*CustomerUpdateFiscalEntitiesRequest) GetCompanyNameOk ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetCompanyNameOk() (*string, bool)
GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateFiscalEntitiesRequest) GetEmail ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*CustomerUpdateFiscalEntitiesRequest) GetEmailOk ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateFiscalEntitiesRequest) GetMetadata ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetMetadata() map[string]map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CustomerUpdateFiscalEntitiesRequest) GetMetadataOk ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetMetadataOk() (map[string]map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateFiscalEntitiesRequest) GetPhone ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CustomerUpdateFiscalEntitiesRequest) GetPhoneOk ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateFiscalEntitiesRequest) GetTaxId ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetTaxId() string
GetTaxId returns the TaxId field value if set, zero value otherwise.
func (*CustomerUpdateFiscalEntitiesRequest) GetTaxIdOk ¶
func (o *CustomerUpdateFiscalEntitiesRequest) GetTaxIdOk() (*string, bool)
GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateFiscalEntitiesRequest) HasAddress ¶
func (o *CustomerUpdateFiscalEntitiesRequest) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*CustomerUpdateFiscalEntitiesRequest) HasCompanyName ¶
func (o *CustomerUpdateFiscalEntitiesRequest) HasCompanyName() bool
HasCompanyName returns a boolean if a field has been set.
func (*CustomerUpdateFiscalEntitiesRequest) HasEmail ¶
func (o *CustomerUpdateFiscalEntitiesRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*CustomerUpdateFiscalEntitiesRequest) HasMetadata ¶
func (o *CustomerUpdateFiscalEntitiesRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CustomerUpdateFiscalEntitiesRequest) HasPhone ¶
func (o *CustomerUpdateFiscalEntitiesRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CustomerUpdateFiscalEntitiesRequest) HasTaxId ¶
func (o *CustomerUpdateFiscalEntitiesRequest) HasTaxId() bool
HasTaxId returns a boolean if a field has been set.
func (CustomerUpdateFiscalEntitiesRequest) MarshalJSON ¶
func (o CustomerUpdateFiscalEntitiesRequest) MarshalJSON() ([]byte, error)
func (*CustomerUpdateFiscalEntitiesRequest) SetAddress ¶
func (o *CustomerUpdateFiscalEntitiesRequest) SetAddress(v CustomerAddress)
SetAddress gets a reference to the given CustomerAddress and assigns it to the Address field.
func (*CustomerUpdateFiscalEntitiesRequest) SetCompanyName ¶
func (o *CustomerUpdateFiscalEntitiesRequest) SetCompanyName(v string)
SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.
func (*CustomerUpdateFiscalEntitiesRequest) SetEmail ¶
func (o *CustomerUpdateFiscalEntitiesRequest) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*CustomerUpdateFiscalEntitiesRequest) SetMetadata ¶
func (o *CustomerUpdateFiscalEntitiesRequest) SetMetadata(v map[string]map[string]interface{})
SetMetadata gets a reference to the given map[string]map[string]interface{} and assigns it to the Metadata field.
func (*CustomerUpdateFiscalEntitiesRequest) SetPhone ¶
func (o *CustomerUpdateFiscalEntitiesRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CustomerUpdateFiscalEntitiesRequest) SetTaxId ¶
func (o *CustomerUpdateFiscalEntitiesRequest) SetTaxId(v string)
SetTaxId gets a reference to the given string and assigns it to the TaxId field.
func (CustomerUpdateFiscalEntitiesRequest) ToMap ¶
func (o CustomerUpdateFiscalEntitiesRequest) ToMap() (map[string]interface{}, error)
func (*CustomerUpdateFiscalEntitiesRequest) UnmarshalJSON ¶
func (o *CustomerUpdateFiscalEntitiesRequest) UnmarshalJSON(data []byte) (err error)
type CustomerUpdateShippingContacts ¶
type CustomerUpdateShippingContacts struct {
// Phone contact
Phone *string `json:"phone,omitempty"`
// Name of the person who will receive the order
Receiver *string `json:"receiver,omitempty"`
// The street names between which the order will be delivered.
BetweenStreets *string `json:"between_streets,omitempty"`
Address *CustomerShippingContactsAddress `json:"address,omitempty"`
ParentId *string `json:"parent_id,omitempty"`
Default NullableBool `json:"default,omitempty"`
Deleted NullableBool `json:"deleted,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomerUpdateShippingContacts [Shipping](https://developers.femsa.com/v2.1.0/reference/createcustomershippingcontacts) details, required in case of sending a shipping. If we do not receive a shipping_contact on the order, the default shipping_contact of the customer will be used.
func NewCustomerUpdateShippingContacts ¶
func NewCustomerUpdateShippingContacts() *CustomerUpdateShippingContacts
NewCustomerUpdateShippingContacts instantiates a new CustomerUpdateShippingContacts 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 NewCustomerUpdateShippingContactsWithDefaults ¶
func NewCustomerUpdateShippingContactsWithDefaults() *CustomerUpdateShippingContacts
NewCustomerUpdateShippingContactsWithDefaults instantiates a new CustomerUpdateShippingContacts 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 (*CustomerUpdateShippingContacts) GetAddress ¶
func (o *CustomerUpdateShippingContacts) GetAddress() CustomerShippingContactsAddress
GetAddress returns the Address field value if set, zero value otherwise.
func (*CustomerUpdateShippingContacts) GetAddressOk ¶
func (o *CustomerUpdateShippingContacts) GetAddressOk() (*CustomerShippingContactsAddress, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateShippingContacts) GetBetweenStreets ¶
func (o *CustomerUpdateShippingContacts) GetBetweenStreets() string
GetBetweenStreets returns the BetweenStreets field value if set, zero value otherwise.
func (*CustomerUpdateShippingContacts) GetBetweenStreetsOk ¶
func (o *CustomerUpdateShippingContacts) GetBetweenStreetsOk() (*string, bool)
GetBetweenStreetsOk returns a tuple with the BetweenStreets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateShippingContacts) GetDefault ¶
func (o *CustomerUpdateShippingContacts) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerUpdateShippingContacts) GetDefaultOk ¶
func (o *CustomerUpdateShippingContacts) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default 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 (*CustomerUpdateShippingContacts) GetDeleted ¶
func (o *CustomerUpdateShippingContacts) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerUpdateShippingContacts) GetDeletedOk ¶
func (o *CustomerUpdateShippingContacts) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted 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 (*CustomerUpdateShippingContacts) GetParentId ¶
func (o *CustomerUpdateShippingContacts) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*CustomerUpdateShippingContacts) GetParentIdOk ¶
func (o *CustomerUpdateShippingContacts) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateShippingContacts) GetPhone ¶
func (o *CustomerUpdateShippingContacts) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*CustomerUpdateShippingContacts) GetPhoneOk ¶
func (o *CustomerUpdateShippingContacts) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateShippingContacts) GetReceiver ¶
func (o *CustomerUpdateShippingContacts) GetReceiver() string
GetReceiver returns the Receiver field value if set, zero value otherwise.
func (*CustomerUpdateShippingContacts) GetReceiverOk ¶
func (o *CustomerUpdateShippingContacts) GetReceiverOk() (*string, bool)
GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerUpdateShippingContacts) HasAddress ¶
func (o *CustomerUpdateShippingContacts) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*CustomerUpdateShippingContacts) HasBetweenStreets ¶
func (o *CustomerUpdateShippingContacts) HasBetweenStreets() bool
HasBetweenStreets returns a boolean if a field has been set.
func (*CustomerUpdateShippingContacts) HasDefault ¶
func (o *CustomerUpdateShippingContacts) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*CustomerUpdateShippingContacts) HasDeleted ¶
func (o *CustomerUpdateShippingContacts) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*CustomerUpdateShippingContacts) HasParentId ¶
func (o *CustomerUpdateShippingContacts) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*CustomerUpdateShippingContacts) HasPhone ¶
func (o *CustomerUpdateShippingContacts) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*CustomerUpdateShippingContacts) HasReceiver ¶
func (o *CustomerUpdateShippingContacts) HasReceiver() bool
HasReceiver returns a boolean if a field has been set.
func (CustomerUpdateShippingContacts) MarshalJSON ¶
func (o CustomerUpdateShippingContacts) MarshalJSON() ([]byte, error)
func (*CustomerUpdateShippingContacts) SetAddress ¶
func (o *CustomerUpdateShippingContacts) SetAddress(v CustomerShippingContactsAddress)
SetAddress gets a reference to the given CustomerShippingContactsAddress and assigns it to the Address field.
func (*CustomerUpdateShippingContacts) SetBetweenStreets ¶
func (o *CustomerUpdateShippingContacts) SetBetweenStreets(v string)
SetBetweenStreets gets a reference to the given string and assigns it to the BetweenStreets field.
func (*CustomerUpdateShippingContacts) SetDefault ¶
func (o *CustomerUpdateShippingContacts) SetDefault(v bool)
SetDefault gets a reference to the given NullableBool and assigns it to the Default field.
func (*CustomerUpdateShippingContacts) SetDefaultNil ¶
func (o *CustomerUpdateShippingContacts) SetDefaultNil()
SetDefaultNil sets the value for Default to be an explicit nil
func (*CustomerUpdateShippingContacts) SetDeleted ¶
func (o *CustomerUpdateShippingContacts) SetDeleted(v bool)
SetDeleted gets a reference to the given NullableBool and assigns it to the Deleted field.
func (*CustomerUpdateShippingContacts) SetDeletedNil ¶
func (o *CustomerUpdateShippingContacts) SetDeletedNil()
SetDeletedNil sets the value for Deleted to be an explicit nil
func (*CustomerUpdateShippingContacts) SetParentId ¶
func (o *CustomerUpdateShippingContacts) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*CustomerUpdateShippingContacts) SetPhone ¶
func (o *CustomerUpdateShippingContacts) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*CustomerUpdateShippingContacts) SetReceiver ¶
func (o *CustomerUpdateShippingContacts) SetReceiver(v string)
SetReceiver gets a reference to the given string and assigns it to the Receiver field.
func (CustomerUpdateShippingContacts) ToMap ¶
func (o CustomerUpdateShippingContacts) ToMap() (map[string]interface{}, error)
func (*CustomerUpdateShippingContacts) UnmarshalJSON ¶
func (o *CustomerUpdateShippingContacts) UnmarshalJSON(data []byte) (err error)
func (*CustomerUpdateShippingContacts) UnsetDefault ¶
func (o *CustomerUpdateShippingContacts) UnsetDefault()
UnsetDefault ensures that no value is present for Default, not even an explicit nil
func (*CustomerUpdateShippingContacts) UnsetDeleted ¶
func (o *CustomerUpdateShippingContacts) UnsetDeleted()
UnsetDeleted ensures that no value is present for Deleted, not even an explicit nil
type CustomersAPI ¶
type CustomersAPI interface {
/*
CreateCustomer Create customer
The purpose of business is to create and keep a customer, you will learn what elements you need to create a customer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateCustomerRequest
*/
CreateCustomer(ctx context.Context) ApiCreateCustomerRequest
// CreateCustomerExecute executes the request
// @return CustomerResponse
CreateCustomerExecute(r ApiCreateCustomerRequest) (*CustomerResponse, *http.Response, error)
/*
CreateCustomerFiscalEntities Create Fiscal Entity
Create Fiscal entity resource that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiCreateCustomerFiscalEntitiesRequest
*/
CreateCustomerFiscalEntities(ctx context.Context, id string) ApiCreateCustomerFiscalEntitiesRequest
// CreateCustomerFiscalEntitiesExecute executes the request
// @return CreateCustomerFiscalEntitiesResponse
CreateCustomerFiscalEntitiesExecute(r ApiCreateCustomerFiscalEntitiesRequest) (*CreateCustomerFiscalEntitiesResponse, *http.Response, error)
/*
DeleteCustomerById Delete Customer
Deleted a customer resource that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiDeleteCustomerByIdRequest
*/
DeleteCustomerById(ctx context.Context, id string) ApiDeleteCustomerByIdRequest
// DeleteCustomerByIdExecute executes the request
// @return CustomerResponse
DeleteCustomerByIdExecute(r ApiDeleteCustomerByIdRequest) (*CustomerResponse, *http.Response, error)
/*
GetCustomerById Get Customer
Gets a customer resource that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetCustomerByIdRequest
*/
GetCustomerById(ctx context.Context, id string) ApiGetCustomerByIdRequest
// GetCustomerByIdExecute executes the request
// @return CustomerResponse
GetCustomerByIdExecute(r ApiGetCustomerByIdRequest) (*CustomerResponse, *http.Response, error)
/*
GetCustomers Get a list of customers
The purpose of business is to create and maintain a client, you will learn what elements you need to obtain a list of clients, which can be paged.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetCustomersRequest
*/
GetCustomers(ctx context.Context) ApiGetCustomersRequest
// GetCustomersExecute executes the request
// @return CustomersResponse
GetCustomersExecute(r ApiGetCustomersRequest) (*CustomersResponse, *http.Response, error)
/*
UpdateCustomer Update customer
You can update customer-related data
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiUpdateCustomerRequest
*/
UpdateCustomer(ctx context.Context, id string) ApiUpdateCustomerRequest
// UpdateCustomerExecute executes the request
// @return CustomerResponse
UpdateCustomerExecute(r ApiUpdateCustomerRequest) (*CustomerResponse, *http.Response, error)
/*
UpdateCustomerFiscalEntities Update Fiscal Entity
Update Fiscal Entity resource that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param fiscalEntitiesId identifier
@return ApiUpdateCustomerFiscalEntitiesRequest
*/
UpdateCustomerFiscalEntities(ctx context.Context, id string, fiscalEntitiesId string) ApiUpdateCustomerFiscalEntitiesRequest
// UpdateCustomerFiscalEntitiesExecute executes the request
// @return UpdateCustomerFiscalEntitiesResponse
UpdateCustomerFiscalEntitiesExecute(r ApiUpdateCustomerFiscalEntitiesRequest) (*UpdateCustomerFiscalEntitiesResponse, *http.Response, error)
}
type CustomersAPIService ¶
type CustomersAPIService service
CustomersAPIService CustomersAPI service
func (*CustomersAPIService) CreateCustomer ¶
func (a *CustomersAPIService) CreateCustomer(ctx context.Context) ApiCreateCustomerRequest
CreateCustomer Create customer
The purpose of business is to create and keep a customer, you will learn what elements you need to create a customer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCustomerRequest
func (*CustomersAPIService) CreateCustomerExecute ¶
func (a *CustomersAPIService) CreateCustomerExecute(r ApiCreateCustomerRequest) (*CustomerResponse, *http.Response, error)
Execute executes the request
@return CustomerResponse
func (*CustomersAPIService) CreateCustomerFiscalEntities ¶
func (a *CustomersAPIService) CreateCustomerFiscalEntities(ctx context.Context, id string) ApiCreateCustomerFiscalEntitiesRequest
CreateCustomerFiscalEntities Create Fiscal Entity
Create Fiscal entity resource that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiCreateCustomerFiscalEntitiesRequest
func (*CustomersAPIService) CreateCustomerFiscalEntitiesExecute ¶
func (a *CustomersAPIService) CreateCustomerFiscalEntitiesExecute(r ApiCreateCustomerFiscalEntitiesRequest) (*CreateCustomerFiscalEntitiesResponse, *http.Response, error)
Execute executes the request
@return CreateCustomerFiscalEntitiesResponse
func (*CustomersAPIService) DeleteCustomerById ¶
func (a *CustomersAPIService) DeleteCustomerById(ctx context.Context, id string) ApiDeleteCustomerByIdRequest
DeleteCustomerById Delete Customer
Deleted a customer resource that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiDeleteCustomerByIdRequest
func (*CustomersAPIService) DeleteCustomerByIdExecute ¶
func (a *CustomersAPIService) DeleteCustomerByIdExecute(r ApiDeleteCustomerByIdRequest) (*CustomerResponse, *http.Response, error)
Execute executes the request
@return CustomerResponse
func (*CustomersAPIService) GetCustomerById ¶
func (a *CustomersAPIService) GetCustomerById(ctx context.Context, id string) ApiGetCustomerByIdRequest
GetCustomerById Get Customer
Gets a customer resource that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetCustomerByIdRequest
func (*CustomersAPIService) GetCustomerByIdExecute ¶
func (a *CustomersAPIService) GetCustomerByIdExecute(r ApiGetCustomerByIdRequest) (*CustomerResponse, *http.Response, error)
Execute executes the request
@return CustomerResponse
func (*CustomersAPIService) GetCustomers ¶
func (a *CustomersAPIService) GetCustomers(ctx context.Context) ApiGetCustomersRequest
GetCustomers Get a list of customers
The purpose of business is to create and maintain a client, you will learn what elements you need to obtain a list of clients, which can be paged.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCustomersRequest
func (*CustomersAPIService) GetCustomersExecute ¶
func (a *CustomersAPIService) GetCustomersExecute(r ApiGetCustomersRequest) (*CustomersResponse, *http.Response, error)
Execute executes the request
@return CustomersResponse
func (*CustomersAPIService) UpdateCustomer ¶
func (a *CustomersAPIService) UpdateCustomer(ctx context.Context, id string) ApiUpdateCustomerRequest
UpdateCustomer Update customer
You can update customer-related data
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiUpdateCustomerRequest
func (*CustomersAPIService) UpdateCustomerExecute ¶
func (a *CustomersAPIService) UpdateCustomerExecute(r ApiUpdateCustomerRequest) (*CustomerResponse, *http.Response, error)
Execute executes the request
@return CustomerResponse
func (*CustomersAPIService) UpdateCustomerFiscalEntities ¶
func (a *CustomersAPIService) UpdateCustomerFiscalEntities(ctx context.Context, id string, fiscalEntitiesId string) ApiUpdateCustomerFiscalEntitiesRequest
UpdateCustomerFiscalEntities Update Fiscal Entity
Update Fiscal Entity resource that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param fiscalEntitiesId identifier @return ApiUpdateCustomerFiscalEntitiesRequest
func (*CustomersAPIService) UpdateCustomerFiscalEntitiesExecute ¶
func (a *CustomersAPIService) UpdateCustomerFiscalEntitiesExecute(r ApiUpdateCustomerFiscalEntitiesRequest) (*UpdateCustomerFiscalEntitiesResponse, *http.Response, error)
Execute executes the request
@return UpdateCustomerFiscalEntitiesResponse
type CustomersResponse ¶
type CustomersResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []CustomerResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
CustomersResponse struct for CustomersResponse
func NewCustomersResponse ¶
func NewCustomersResponse(hasMore bool, object string) *CustomersResponse
NewCustomersResponse instantiates a new CustomersResponse 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 NewCustomersResponseWithDefaults ¶
func NewCustomersResponseWithDefaults() *CustomersResponse
NewCustomersResponseWithDefaults instantiates a new CustomersResponse 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 (*CustomersResponse) GetData ¶
func (o *CustomersResponse) GetData() []CustomerResponse
GetData returns the Data field value if set, zero value otherwise.
func (*CustomersResponse) GetDataOk ¶
func (o *CustomersResponse) GetDataOk() ([]CustomerResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomersResponse) GetHasMore ¶
func (o *CustomersResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*CustomersResponse) GetHasMoreOk ¶
func (o *CustomersResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*CustomersResponse) GetNextPageUrl ¶
func (o *CustomersResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomersResponse) GetNextPageUrlOk ¶
func (o *CustomersResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*CustomersResponse) GetObject ¶
func (o *CustomersResponse) GetObject() string
GetObject returns the Object field value
func (*CustomersResponse) GetObjectOk ¶
func (o *CustomersResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CustomersResponse) GetPreviousPageUrl ¶
func (o *CustomersResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomersResponse) GetPreviousPageUrlOk ¶
func (o *CustomersResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*CustomersResponse) HasData ¶
func (o *CustomersResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*CustomersResponse) HasNextPageUrl ¶
func (o *CustomersResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*CustomersResponse) HasPreviousPageUrl ¶
func (o *CustomersResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (CustomersResponse) MarshalJSON ¶
func (o CustomersResponse) MarshalJSON() ([]byte, error)
func (*CustomersResponse) SetData ¶
func (o *CustomersResponse) SetData(v []CustomerResponse)
SetData gets a reference to the given []CustomerResponse and assigns it to the Data field.
func (*CustomersResponse) SetHasMore ¶
func (o *CustomersResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*CustomersResponse) SetNextPageUrl ¶
func (o *CustomersResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*CustomersResponse) SetNextPageUrlNil ¶
func (o *CustomersResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*CustomersResponse) SetObject ¶
func (o *CustomersResponse) SetObject(v string)
SetObject sets field value
func (*CustomersResponse) SetPreviousPageUrl ¶
func (o *CustomersResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*CustomersResponse) SetPreviousPageUrlNil ¶
func (o *CustomersResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (CustomersResponse) ToMap ¶
func (o CustomersResponse) ToMap() (map[string]interface{}, error)
func (*CustomersResponse) UnmarshalJSON ¶
func (o *CustomersResponse) UnmarshalJSON(data []byte) (err error)
func (*CustomersResponse) UnsetNextPageUrl ¶
func (o *CustomersResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*CustomersResponse) UnsetPreviousPageUrl ¶
func (o *CustomersResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type DeleteApiKeysResponse ¶
type DeleteApiKeysResponse struct {
// Indicates if the api key is active
Active *bool `json:"active,omitempty"`
// Unix timestamp in seconds of when the api key was created
CreatedAt *int64 `json:"created_at,omitempty"`
// A name or brief explanation of what this api key is used for
Description *string `json:"description,omitempty"`
// Indicates if the api key is in production
Livemode *bool `json:"livemode,omitempty"`
// The first few characters of the authentication_token
Prefix *string `json:"prefix,omitempty"`
// Unique identifier of the api key
Id *string `json:"id,omitempty"`
// Object name, value is 'api_key'
Object *string `json:"object,omitempty"`
Deleted *bool `json:"deleted,omitempty"`
// Indicates if the api key is private or public
Role *string `json:"role,omitempty"`
AdditionalProperties map[string]interface{}
}
DeleteApiKeysResponse struct for DeleteApiKeysResponse
func NewDeleteApiKeysResponse ¶
func NewDeleteApiKeysResponse() *DeleteApiKeysResponse
NewDeleteApiKeysResponse instantiates a new DeleteApiKeysResponse 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 NewDeleteApiKeysResponseWithDefaults ¶
func NewDeleteApiKeysResponseWithDefaults() *DeleteApiKeysResponse
NewDeleteApiKeysResponseWithDefaults instantiates a new DeleteApiKeysResponse 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 (*DeleteApiKeysResponse) GetActive ¶
func (o *DeleteApiKeysResponse) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*DeleteApiKeysResponse) GetActiveOk ¶
func (o *DeleteApiKeysResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteApiKeysResponse) GetCreatedAt ¶
func (o *DeleteApiKeysResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*DeleteApiKeysResponse) GetCreatedAtOk ¶
func (o *DeleteApiKeysResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteApiKeysResponse) GetDeleted ¶
func (o *DeleteApiKeysResponse) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*DeleteApiKeysResponse) GetDeletedOk ¶
func (o *DeleteApiKeysResponse) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteApiKeysResponse) GetDescription ¶
func (o *DeleteApiKeysResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DeleteApiKeysResponse) GetDescriptionOk ¶
func (o *DeleteApiKeysResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteApiKeysResponse) GetId ¶
func (o *DeleteApiKeysResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DeleteApiKeysResponse) GetIdOk ¶
func (o *DeleteApiKeysResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteApiKeysResponse) GetLivemode ¶
func (o *DeleteApiKeysResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*DeleteApiKeysResponse) GetLivemodeOk ¶
func (o *DeleteApiKeysResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteApiKeysResponse) GetObject ¶
func (o *DeleteApiKeysResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*DeleteApiKeysResponse) GetObjectOk ¶
func (o *DeleteApiKeysResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteApiKeysResponse) GetPrefix ¶
func (o *DeleteApiKeysResponse) GetPrefix() string
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*DeleteApiKeysResponse) GetPrefixOk ¶
func (o *DeleteApiKeysResponse) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteApiKeysResponse) GetRole ¶
func (o *DeleteApiKeysResponse) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*DeleteApiKeysResponse) GetRoleOk ¶
func (o *DeleteApiKeysResponse) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteApiKeysResponse) HasActive ¶
func (o *DeleteApiKeysResponse) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*DeleteApiKeysResponse) HasCreatedAt ¶
func (o *DeleteApiKeysResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*DeleteApiKeysResponse) HasDeleted ¶
func (o *DeleteApiKeysResponse) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*DeleteApiKeysResponse) HasDescription ¶
func (o *DeleteApiKeysResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*DeleteApiKeysResponse) HasId ¶
func (o *DeleteApiKeysResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*DeleteApiKeysResponse) HasLivemode ¶
func (o *DeleteApiKeysResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*DeleteApiKeysResponse) HasObject ¶
func (o *DeleteApiKeysResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*DeleteApiKeysResponse) HasPrefix ¶
func (o *DeleteApiKeysResponse) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*DeleteApiKeysResponse) HasRole ¶
func (o *DeleteApiKeysResponse) HasRole() bool
HasRole returns a boolean if a field has been set.
func (DeleteApiKeysResponse) MarshalJSON ¶
func (o DeleteApiKeysResponse) MarshalJSON() ([]byte, error)
func (*DeleteApiKeysResponse) SetActive ¶
func (o *DeleteApiKeysResponse) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*DeleteApiKeysResponse) SetCreatedAt ¶
func (o *DeleteApiKeysResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*DeleteApiKeysResponse) SetDeleted ¶
func (o *DeleteApiKeysResponse) SetDeleted(v bool)
SetDeleted gets a reference to the given bool and assigns it to the Deleted field.
func (*DeleteApiKeysResponse) SetDescription ¶
func (o *DeleteApiKeysResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DeleteApiKeysResponse) SetId ¶
func (o *DeleteApiKeysResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DeleteApiKeysResponse) SetLivemode ¶
func (o *DeleteApiKeysResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*DeleteApiKeysResponse) SetObject ¶
func (o *DeleteApiKeysResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*DeleteApiKeysResponse) SetPrefix ¶
func (o *DeleteApiKeysResponse) SetPrefix(v string)
SetPrefix gets a reference to the given string and assigns it to the Prefix field.
func (*DeleteApiKeysResponse) SetRole ¶
func (o *DeleteApiKeysResponse) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (DeleteApiKeysResponse) ToMap ¶
func (o DeleteApiKeysResponse) ToMap() (map[string]interface{}, error)
func (*DeleteApiKeysResponse) UnmarshalJSON ¶
func (o *DeleteApiKeysResponse) UnmarshalJSON(data []byte) (err error)
type Details ¶
type Details struct {
Details []DetailsError `json:"details,omitempty"`
AdditionalProperties map[string]interface{}
}
Details struct for Details
func NewDetails ¶
func NewDetails() *Details
NewDetails instantiates a new Details 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 NewDetailsWithDefaults ¶
func NewDetailsWithDefaults() *Details
NewDetailsWithDefaults instantiates a new Details 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 (*Details) GetDetails ¶
func (o *Details) GetDetails() []DetailsError
GetDetails returns the Details field value if set, zero value otherwise.
func (*Details) GetDetailsOk ¶
func (o *Details) GetDetailsOk() ([]DetailsError, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Details) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (Details) MarshalJSON ¶
func (*Details) SetDetails ¶
func (o *Details) SetDetails(v []DetailsError)
SetDetails gets a reference to the given []DetailsError and assigns it to the Details field.
func (*Details) UnmarshalJSON ¶
type DetailsError ¶
type DetailsError struct {
Code *string `json:"code,omitempty"`
Param NullableString `json:"param,omitempty"`
Message *string `json:"message,omitempty"`
DebugMessage *string `json:"debug_message,omitempty"`
AdditionalProperties map[string]interface{}
}
DetailsError struct for DetailsError
func NewDetailsError ¶
func NewDetailsError() *DetailsError
NewDetailsError instantiates a new DetailsError 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 NewDetailsErrorWithDefaults ¶
func NewDetailsErrorWithDefaults() *DetailsError
NewDetailsErrorWithDefaults instantiates a new DetailsError 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 (*DetailsError) GetCode ¶
func (o *DetailsError) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*DetailsError) GetCodeOk ¶
func (o *DetailsError) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailsError) GetDebugMessage ¶
func (o *DetailsError) GetDebugMessage() string
GetDebugMessage returns the DebugMessage field value if set, zero value otherwise.
func (*DetailsError) GetDebugMessageOk ¶
func (o *DetailsError) GetDebugMessageOk() (*string, bool)
GetDebugMessageOk returns a tuple with the DebugMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailsError) GetMessage ¶
func (o *DetailsError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*DetailsError) GetMessageOk ¶
func (o *DetailsError) 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 (*DetailsError) GetParam ¶
func (o *DetailsError) GetParam() string
GetParam returns the Param field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DetailsError) GetParamOk ¶
func (o *DetailsError) GetParamOk() (*string, bool)
GetParamOk returns a tuple with the Param 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 (*DetailsError) HasCode ¶
func (o *DetailsError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*DetailsError) HasDebugMessage ¶
func (o *DetailsError) HasDebugMessage() bool
HasDebugMessage returns a boolean if a field has been set.
func (*DetailsError) HasMessage ¶
func (o *DetailsError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*DetailsError) HasParam ¶
func (o *DetailsError) HasParam() bool
HasParam returns a boolean if a field has been set.
func (DetailsError) MarshalJSON ¶
func (o DetailsError) MarshalJSON() ([]byte, error)
func (*DetailsError) SetCode ¶
func (o *DetailsError) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*DetailsError) SetDebugMessage ¶
func (o *DetailsError) SetDebugMessage(v string)
SetDebugMessage gets a reference to the given string and assigns it to the DebugMessage field.
func (*DetailsError) SetMessage ¶
func (o *DetailsError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*DetailsError) SetParam ¶
func (o *DetailsError) SetParam(v string)
SetParam gets a reference to the given NullableString and assigns it to the Param field.
func (*DetailsError) SetParamNil ¶
func (o *DetailsError) SetParamNil()
SetParamNil sets the value for Param to be an explicit nil
func (DetailsError) ToMap ¶
func (o DetailsError) ToMap() (map[string]interface{}, error)
func (*DetailsError) UnmarshalJSON ¶
func (o *DetailsError) UnmarshalJSON(data []byte) (err error)
func (*DetailsError) UnsetParam ¶
func (o *DetailsError) UnsetParam()
UnsetParam ensures that no value is present for Param, not even an explicit nil
type DiscountLinesDataResponse ¶
type DiscountLinesDataResponse struct {
// The amount to be deducted from the total sum of all payments, in cents.
Amount int64 `json:"amount"`
// Discount code.
Code string `json:"code"`
// It can be 'loyalty', 'campaign', 'coupon' o 'sign'
Type string `json:"type"`
// The discount line id
Id string `json:"id"`
// The object name
Object string `json:"object"`
// The order id
ParentId string `json:"parent_id"`
AdditionalProperties map[string]interface{}
}
DiscountLinesDataResponse struct for DiscountLinesDataResponse
func NewDiscountLinesDataResponse ¶
func NewDiscountLinesDataResponse(amount int64, code string, type_ string, id string, object string, parentId string) *DiscountLinesDataResponse
NewDiscountLinesDataResponse instantiates a new DiscountLinesDataResponse 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 NewDiscountLinesDataResponseWithDefaults ¶
func NewDiscountLinesDataResponseWithDefaults() *DiscountLinesDataResponse
NewDiscountLinesDataResponseWithDefaults instantiates a new DiscountLinesDataResponse 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 (*DiscountLinesDataResponse) GetAmount ¶
func (o *DiscountLinesDataResponse) GetAmount() int64
GetAmount returns the Amount field value
func (*DiscountLinesDataResponse) GetAmountOk ¶
func (o *DiscountLinesDataResponse) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*DiscountLinesDataResponse) GetCode ¶
func (o *DiscountLinesDataResponse) GetCode() string
GetCode returns the Code field value
func (*DiscountLinesDataResponse) GetCodeOk ¶
func (o *DiscountLinesDataResponse) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*DiscountLinesDataResponse) GetId ¶
func (o *DiscountLinesDataResponse) GetId() string
GetId returns the Id field value
func (*DiscountLinesDataResponse) GetIdOk ¶
func (o *DiscountLinesDataResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DiscountLinesDataResponse) GetObject ¶
func (o *DiscountLinesDataResponse) GetObject() string
GetObject returns the Object field value
func (*DiscountLinesDataResponse) GetObjectOk ¶
func (o *DiscountLinesDataResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*DiscountLinesDataResponse) GetParentId ¶
func (o *DiscountLinesDataResponse) GetParentId() string
GetParentId returns the ParentId field value
func (*DiscountLinesDataResponse) GetParentIdOk ¶
func (o *DiscountLinesDataResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value and a boolean to check if the value has been set.
func (*DiscountLinesDataResponse) GetType ¶
func (o *DiscountLinesDataResponse) GetType() string
GetType returns the Type field value
func (*DiscountLinesDataResponse) GetTypeOk ¶
func (o *DiscountLinesDataResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (DiscountLinesDataResponse) MarshalJSON ¶
func (o DiscountLinesDataResponse) MarshalJSON() ([]byte, error)
func (*DiscountLinesDataResponse) SetAmount ¶
func (o *DiscountLinesDataResponse) SetAmount(v int64)
SetAmount sets field value
func (*DiscountLinesDataResponse) SetCode ¶
func (o *DiscountLinesDataResponse) SetCode(v string)
SetCode sets field value
func (*DiscountLinesDataResponse) SetId ¶
func (o *DiscountLinesDataResponse) SetId(v string)
SetId sets field value
func (*DiscountLinesDataResponse) SetObject ¶
func (o *DiscountLinesDataResponse) SetObject(v string)
SetObject sets field value
func (*DiscountLinesDataResponse) SetParentId ¶
func (o *DiscountLinesDataResponse) SetParentId(v string)
SetParentId sets field value
func (*DiscountLinesDataResponse) SetType ¶
func (o *DiscountLinesDataResponse) SetType(v string)
SetType sets field value
func (DiscountLinesDataResponse) ToMap ¶
func (o DiscountLinesDataResponse) ToMap() (map[string]interface{}, error)
func (*DiscountLinesDataResponse) UnmarshalJSON ¶
func (o *DiscountLinesDataResponse) UnmarshalJSON(data []byte) (err error)
type DiscountLinesResponse ¶
type DiscountLinesResponse struct {
// The amount to be deducted from the total sum of all payments, in cents.
Amount int64 `json:"amount"`
// Discount code.
Code string `json:"code"`
// It can be 'loyalty', 'campaign', 'coupon' o 'sign'
Type string `json:"type"`
// The discount line id
Id string `json:"id"`
// The object name
Object string `json:"object"`
// The order id
ParentId string `json:"parent_id"`
AdditionalProperties map[string]interface{}
}
DiscountLinesResponse struct for DiscountLinesResponse
func NewDiscountLinesResponse ¶
func NewDiscountLinesResponse(amount int64, code string, type_ string, id string, object string, parentId string) *DiscountLinesResponse
NewDiscountLinesResponse instantiates a new DiscountLinesResponse 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 NewDiscountLinesResponseWithDefaults ¶
func NewDiscountLinesResponseWithDefaults() *DiscountLinesResponse
NewDiscountLinesResponseWithDefaults instantiates a new DiscountLinesResponse 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 (*DiscountLinesResponse) GetAmount ¶
func (o *DiscountLinesResponse) GetAmount() int64
GetAmount returns the Amount field value
func (*DiscountLinesResponse) GetAmountOk ¶
func (o *DiscountLinesResponse) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*DiscountLinesResponse) GetCode ¶
func (o *DiscountLinesResponse) GetCode() string
GetCode returns the Code field value
func (*DiscountLinesResponse) GetCodeOk ¶
func (o *DiscountLinesResponse) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*DiscountLinesResponse) GetId ¶
func (o *DiscountLinesResponse) GetId() string
GetId returns the Id field value
func (*DiscountLinesResponse) GetIdOk ¶
func (o *DiscountLinesResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DiscountLinesResponse) GetObject ¶
func (o *DiscountLinesResponse) GetObject() string
GetObject returns the Object field value
func (*DiscountLinesResponse) GetObjectOk ¶
func (o *DiscountLinesResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*DiscountLinesResponse) GetParentId ¶
func (o *DiscountLinesResponse) GetParentId() string
GetParentId returns the ParentId field value
func (*DiscountLinesResponse) GetParentIdOk ¶
func (o *DiscountLinesResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value and a boolean to check if the value has been set.
func (*DiscountLinesResponse) GetType ¶
func (o *DiscountLinesResponse) GetType() string
GetType returns the Type field value
func (*DiscountLinesResponse) GetTypeOk ¶
func (o *DiscountLinesResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (DiscountLinesResponse) MarshalJSON ¶
func (o DiscountLinesResponse) MarshalJSON() ([]byte, error)
func (*DiscountLinesResponse) SetAmount ¶
func (o *DiscountLinesResponse) SetAmount(v int64)
SetAmount sets field value
func (*DiscountLinesResponse) SetCode ¶
func (o *DiscountLinesResponse) SetCode(v string)
SetCode sets field value
func (*DiscountLinesResponse) SetId ¶
func (o *DiscountLinesResponse) SetId(v string)
SetId sets field value
func (*DiscountLinesResponse) SetObject ¶
func (o *DiscountLinesResponse) SetObject(v string)
SetObject sets field value
func (*DiscountLinesResponse) SetParentId ¶
func (o *DiscountLinesResponse) SetParentId(v string)
SetParentId sets field value
func (*DiscountLinesResponse) SetType ¶
func (o *DiscountLinesResponse) SetType(v string)
SetType sets field value
func (DiscountLinesResponse) ToMap ¶
func (o DiscountLinesResponse) ToMap() (map[string]interface{}, error)
func (*DiscountLinesResponse) UnmarshalJSON ¶
func (o *DiscountLinesResponse) UnmarshalJSON(data []byte) (err error)
type DiscountsAPI ¶
type DiscountsAPI interface {
/*
OrdersCreateDiscountLine Create Discount
Create discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiOrdersCreateDiscountLineRequest
*/
OrdersCreateDiscountLine(ctx context.Context, id string) ApiOrdersCreateDiscountLineRequest
// OrdersCreateDiscountLineExecute executes the request
// @return DiscountLinesResponse
OrdersCreateDiscountLineExecute(r ApiOrdersCreateDiscountLineRequest) (*DiscountLinesResponse, *http.Response, error)
/*
OrdersDeleteDiscountLines Delete Discount
Delete an existing discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param discountLinesId discount line id identifier
@return ApiOrdersDeleteDiscountLinesRequest
*/
OrdersDeleteDiscountLines(ctx context.Context, id string, discountLinesId string) ApiOrdersDeleteDiscountLinesRequest
// OrdersDeleteDiscountLinesExecute executes the request
// @return DiscountLinesResponse
OrdersDeleteDiscountLinesExecute(r ApiOrdersDeleteDiscountLinesRequest) (*DiscountLinesResponse, *http.Response, error)
/*
OrdersGetDiscountLine Get Discount
Get an existing discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param discountLinesId discount line id identifier
@return ApiOrdersGetDiscountLineRequest
*/
OrdersGetDiscountLine(ctx context.Context, id string, discountLinesId string) ApiOrdersGetDiscountLineRequest
// OrdersGetDiscountLineExecute executes the request
// @return DiscountLinesResponse
OrdersGetDiscountLineExecute(r ApiOrdersGetDiscountLineRequest) (*DiscountLinesResponse, *http.Response, error)
/*
OrdersGetDiscountLines Get a List of Discount
Get discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiOrdersGetDiscountLinesRequest
*/
OrdersGetDiscountLines(ctx context.Context, id string) ApiOrdersGetDiscountLinesRequest
// OrdersGetDiscountLinesExecute executes the request
// @return GetOrderDiscountLinesResponse
OrdersGetDiscountLinesExecute(r ApiOrdersGetDiscountLinesRequest) (*GetOrderDiscountLinesResponse, *http.Response, error)
/*
OrdersUpdateDiscountLines Update Discount
Update an existing discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param discountLinesId discount line id identifier
@return ApiOrdersUpdateDiscountLinesRequest
*/
OrdersUpdateDiscountLines(ctx context.Context, id string, discountLinesId string) ApiOrdersUpdateDiscountLinesRequest
// OrdersUpdateDiscountLinesExecute executes the request
// @return DiscountLinesResponse
OrdersUpdateDiscountLinesExecute(r ApiOrdersUpdateDiscountLinesRequest) (*DiscountLinesResponse, *http.Response, error)
}
type DiscountsAPIService ¶
type DiscountsAPIService service
DiscountsAPIService DiscountsAPI service
func (*DiscountsAPIService) OrdersCreateDiscountLine ¶
func (a *DiscountsAPIService) OrdersCreateDiscountLine(ctx context.Context, id string) ApiOrdersCreateDiscountLineRequest
OrdersCreateDiscountLine Create Discount
Create discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiOrdersCreateDiscountLineRequest
func (*DiscountsAPIService) OrdersCreateDiscountLineExecute ¶
func (a *DiscountsAPIService) OrdersCreateDiscountLineExecute(r ApiOrdersCreateDiscountLineRequest) (*DiscountLinesResponse, *http.Response, error)
Execute executes the request
@return DiscountLinesResponse
func (*DiscountsAPIService) OrdersDeleteDiscountLines ¶
func (a *DiscountsAPIService) OrdersDeleteDiscountLines(ctx context.Context, id string, discountLinesId string) ApiOrdersDeleteDiscountLinesRequest
OrdersDeleteDiscountLines Delete Discount
Delete an existing discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param discountLinesId discount line id identifier @return ApiOrdersDeleteDiscountLinesRequest
func (*DiscountsAPIService) OrdersDeleteDiscountLinesExecute ¶
func (a *DiscountsAPIService) OrdersDeleteDiscountLinesExecute(r ApiOrdersDeleteDiscountLinesRequest) (*DiscountLinesResponse, *http.Response, error)
Execute executes the request
@return DiscountLinesResponse
func (*DiscountsAPIService) OrdersGetDiscountLine ¶
func (a *DiscountsAPIService) OrdersGetDiscountLine(ctx context.Context, id string, discountLinesId string) ApiOrdersGetDiscountLineRequest
OrdersGetDiscountLine Get Discount
Get an existing discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param discountLinesId discount line id identifier @return ApiOrdersGetDiscountLineRequest
func (*DiscountsAPIService) OrdersGetDiscountLineExecute ¶
func (a *DiscountsAPIService) OrdersGetDiscountLineExecute(r ApiOrdersGetDiscountLineRequest) (*DiscountLinesResponse, *http.Response, error)
Execute executes the request
@return DiscountLinesResponse
func (*DiscountsAPIService) OrdersGetDiscountLines ¶
func (a *DiscountsAPIService) OrdersGetDiscountLines(ctx context.Context, id string) ApiOrdersGetDiscountLinesRequest
OrdersGetDiscountLines Get a List of Discount
Get discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiOrdersGetDiscountLinesRequest
func (*DiscountsAPIService) OrdersGetDiscountLinesExecute ¶
func (a *DiscountsAPIService) OrdersGetDiscountLinesExecute(r ApiOrdersGetDiscountLinesRequest) (*GetOrderDiscountLinesResponse, *http.Response, error)
Execute executes the request
@return GetOrderDiscountLinesResponse
func (*DiscountsAPIService) OrdersUpdateDiscountLines ¶
func (a *DiscountsAPIService) OrdersUpdateDiscountLines(ctx context.Context, id string, discountLinesId string) ApiOrdersUpdateDiscountLinesRequest
OrdersUpdateDiscountLines Update Discount
Update an existing discount lines for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param discountLinesId discount line id identifier @return ApiOrdersUpdateDiscountLinesRequest
func (*DiscountsAPIService) OrdersUpdateDiscountLinesExecute ¶
func (a *DiscountsAPIService) OrdersUpdateDiscountLinesExecute(r ApiOrdersUpdateDiscountLinesRequest) (*DiscountLinesResponse, *http.Response, error)
Execute executes the request
@return DiscountLinesResponse
type EmailCheckoutRequest ¶
type EmailCheckoutRequest struct {
Email string `json:"email"`
AdditionalProperties map[string]interface{}
}
EmailCheckoutRequest struct for EmailCheckoutRequest
func NewEmailCheckoutRequest ¶
func NewEmailCheckoutRequest(email string) *EmailCheckoutRequest
NewEmailCheckoutRequest instantiates a new EmailCheckoutRequest 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 NewEmailCheckoutRequestWithDefaults ¶
func NewEmailCheckoutRequestWithDefaults() *EmailCheckoutRequest
NewEmailCheckoutRequestWithDefaults instantiates a new EmailCheckoutRequest 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 (*EmailCheckoutRequest) GetEmail ¶
func (o *EmailCheckoutRequest) GetEmail() string
GetEmail returns the Email field value
func (*EmailCheckoutRequest) GetEmailOk ¶
func (o *EmailCheckoutRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (EmailCheckoutRequest) MarshalJSON ¶
func (o EmailCheckoutRequest) MarshalJSON() ([]byte, error)
func (*EmailCheckoutRequest) SetEmail ¶
func (o *EmailCheckoutRequest) SetEmail(v string)
SetEmail sets field value
func (EmailCheckoutRequest) ToMap ¶
func (o EmailCheckoutRequest) ToMap() (map[string]interface{}, error)
func (*EmailCheckoutRequest) UnmarshalJSON ¶
func (o *EmailCheckoutRequest) UnmarshalJSON(data []byte) (err error)
type EventResponse ¶
type EventResponse struct {
CreatedAt *int64 `json:"created_at,omitempty"`
Data map[string]interface{} `json:"data,omitempty"`
Id *string `json:"id,omitempty"`
Livemode *bool `json:"livemode,omitempty"`
Object *string `json:"object,omitempty"`
Type *string `json:"type,omitempty"`
WebhookLogs []WebhookLog `json:"webhook_logs,omitempty"`
WebhookStatus *string `json:"webhook_status,omitempty"`
AdditionalProperties map[string]interface{}
}
EventResponse event model
func NewEventResponse ¶
func NewEventResponse() *EventResponse
NewEventResponse instantiates a new EventResponse 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 NewEventResponseWithDefaults ¶
func NewEventResponseWithDefaults() *EventResponse
NewEventResponseWithDefaults instantiates a new EventResponse 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 (*EventResponse) GetCreatedAt ¶
func (o *EventResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*EventResponse) GetCreatedAtOk ¶
func (o *EventResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventResponse) GetData ¶
func (o *EventResponse) GetData() map[string]interface{}
GetData returns the Data field value if set, zero value otherwise.
func (*EventResponse) GetDataOk ¶
func (o *EventResponse) GetDataOk() (map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventResponse) GetId ¶
func (o *EventResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*EventResponse) GetIdOk ¶
func (o *EventResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventResponse) GetLivemode ¶
func (o *EventResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*EventResponse) GetLivemodeOk ¶
func (o *EventResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventResponse) GetObject ¶
func (o *EventResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*EventResponse) GetObjectOk ¶
func (o *EventResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventResponse) GetType ¶
func (o *EventResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*EventResponse) GetTypeOk ¶
func (o *EventResponse) 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 (*EventResponse) GetWebhookLogs ¶
func (o *EventResponse) GetWebhookLogs() []WebhookLog
GetWebhookLogs returns the WebhookLogs field value if set, zero value otherwise.
func (*EventResponse) GetWebhookLogsOk ¶
func (o *EventResponse) GetWebhookLogsOk() ([]WebhookLog, bool)
GetWebhookLogsOk returns a tuple with the WebhookLogs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventResponse) GetWebhookStatus ¶
func (o *EventResponse) GetWebhookStatus() string
GetWebhookStatus returns the WebhookStatus field value if set, zero value otherwise.
func (*EventResponse) GetWebhookStatusOk ¶
func (o *EventResponse) GetWebhookStatusOk() (*string, bool)
GetWebhookStatusOk returns a tuple with the WebhookStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventResponse) HasCreatedAt ¶
func (o *EventResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*EventResponse) HasData ¶
func (o *EventResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*EventResponse) HasId ¶
func (o *EventResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*EventResponse) HasLivemode ¶
func (o *EventResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*EventResponse) HasObject ¶
func (o *EventResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*EventResponse) HasType ¶
func (o *EventResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (*EventResponse) HasWebhookLogs ¶
func (o *EventResponse) HasWebhookLogs() bool
HasWebhookLogs returns a boolean if a field has been set.
func (*EventResponse) HasWebhookStatus ¶
func (o *EventResponse) HasWebhookStatus() bool
HasWebhookStatus returns a boolean if a field has been set.
func (EventResponse) MarshalJSON ¶
func (o EventResponse) MarshalJSON() ([]byte, error)
func (*EventResponse) SetCreatedAt ¶
func (o *EventResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*EventResponse) SetData ¶
func (o *EventResponse) SetData(v map[string]interface{})
SetData gets a reference to the given map[string]interface{} and assigns it to the Data field.
func (*EventResponse) SetId ¶
func (o *EventResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*EventResponse) SetLivemode ¶
func (o *EventResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*EventResponse) SetObject ¶
func (o *EventResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*EventResponse) SetType ¶
func (o *EventResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*EventResponse) SetWebhookLogs ¶
func (o *EventResponse) SetWebhookLogs(v []WebhookLog)
SetWebhookLogs gets a reference to the given []WebhookLog and assigns it to the WebhookLogs field.
func (*EventResponse) SetWebhookStatus ¶
func (o *EventResponse) SetWebhookStatus(v string)
SetWebhookStatus gets a reference to the given string and assigns it to the WebhookStatus field.
func (EventResponse) ToMap ¶
func (o EventResponse) ToMap() (map[string]interface{}, error)
func (*EventResponse) UnmarshalJSON ¶
func (o *EventResponse) UnmarshalJSON(data []byte) (err error)
type EventsAPI ¶
type EventsAPI interface {
/*
GetEvent Get Event
Returns a single event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetEventRequest
*/
GetEvent(ctx context.Context, id string) ApiGetEventRequest
// GetEventExecute executes the request
// @return EventResponse
GetEventExecute(r ApiGetEventRequest) (*EventResponse, *http.Response, error)
/*
GetEvents Get list of Events
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetEventsRequest
*/
GetEvents(ctx context.Context) ApiGetEventsRequest
// GetEventsExecute executes the request
// @return GetEventsResponse
GetEventsExecute(r ApiGetEventsRequest) (*GetEventsResponse, *http.Response, error)
/*
ResendEvent Resend Event
Try to send an event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param eventId event identifier
@param webhookLogId webhook log identifier
@return ApiResendEventRequest
*/
ResendEvent(ctx context.Context, eventId string, webhookLogId string) ApiResendEventRequest
// ResendEventExecute executes the request
// @return EventsResendResponse
ResendEventExecute(r ApiResendEventRequest) (*EventsResendResponse, *http.Response, error)
}
type EventsAPIService ¶
type EventsAPIService service
EventsAPIService EventsAPI service
func (*EventsAPIService) GetEvent ¶
func (a *EventsAPIService) GetEvent(ctx context.Context, id string) ApiGetEventRequest
GetEvent Get Event
Returns a single event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetEventRequest
func (*EventsAPIService) GetEventExecute ¶
func (a *EventsAPIService) GetEventExecute(r ApiGetEventRequest) (*EventResponse, *http.Response, error)
Execute executes the request
@return EventResponse
func (*EventsAPIService) GetEvents ¶
func (a *EventsAPIService) GetEvents(ctx context.Context) ApiGetEventsRequest
GetEvents Get list of Events
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetEventsRequest
func (*EventsAPIService) GetEventsExecute ¶
func (a *EventsAPIService) GetEventsExecute(r ApiGetEventsRequest) (*GetEventsResponse, *http.Response, error)
Execute executes the request
@return GetEventsResponse
func (*EventsAPIService) ResendEvent ¶
func (a *EventsAPIService) ResendEvent(ctx context.Context, eventId string, webhookLogId string) ApiResendEventRequest
ResendEvent Resend Event
Try to send an event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param eventId event identifier @param webhookLogId webhook log identifier @return ApiResendEventRequest
func (*EventsAPIService) ResendEventExecute ¶
func (a *EventsAPIService) ResendEventExecute(r ApiResendEventRequest) (*EventsResendResponse, *http.Response, error)
Execute executes the request
@return EventsResendResponse
type EventsResendResponse ¶
type EventsResendResponse struct {
FailedAttempts *int32 `json:"failed_attempts,omitempty"`
Id *string `json:"id,omitempty"`
LastAttemptedAt *int32 `json:"last_attempted_at,omitempty"`
LastHttpResponseStatus *int32 `json:"last_http_response_status,omitempty"`
ResponseData map[string]interface{} `json:"response_data,omitempty"`
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
EventsResendResponse event model
func NewEventsResendResponse ¶
func NewEventsResendResponse() *EventsResendResponse
NewEventsResendResponse instantiates a new EventsResendResponse 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 NewEventsResendResponseWithDefaults ¶
func NewEventsResendResponseWithDefaults() *EventsResendResponse
NewEventsResendResponseWithDefaults instantiates a new EventsResendResponse 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 (*EventsResendResponse) GetFailedAttempts ¶
func (o *EventsResendResponse) GetFailedAttempts() int32
GetFailedAttempts returns the FailedAttempts field value if set, zero value otherwise.
func (*EventsResendResponse) GetFailedAttemptsOk ¶
func (o *EventsResendResponse) GetFailedAttemptsOk() (*int32, bool)
GetFailedAttemptsOk returns a tuple with the FailedAttempts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventsResendResponse) GetId ¶
func (o *EventsResendResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*EventsResendResponse) GetIdOk ¶
func (o *EventsResendResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventsResendResponse) GetLastAttemptedAt ¶
func (o *EventsResendResponse) GetLastAttemptedAt() int32
GetLastAttemptedAt returns the LastAttemptedAt field value if set, zero value otherwise.
func (*EventsResendResponse) GetLastAttemptedAtOk ¶
func (o *EventsResendResponse) GetLastAttemptedAtOk() (*int32, bool)
GetLastAttemptedAtOk returns a tuple with the LastAttemptedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventsResendResponse) GetLastHttpResponseStatus ¶
func (o *EventsResendResponse) GetLastHttpResponseStatus() int32
GetLastHttpResponseStatus returns the LastHttpResponseStatus field value if set, zero value otherwise.
func (*EventsResendResponse) GetLastHttpResponseStatusOk ¶
func (o *EventsResendResponse) GetLastHttpResponseStatusOk() (*int32, bool)
GetLastHttpResponseStatusOk returns a tuple with the LastHttpResponseStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventsResendResponse) GetResponseData ¶
func (o *EventsResendResponse) GetResponseData() map[string]interface{}
GetResponseData returns the ResponseData field value if set, zero value otherwise.
func (*EventsResendResponse) GetResponseDataOk ¶
func (o *EventsResendResponse) GetResponseDataOk() (map[string]interface{}, bool)
GetResponseDataOk returns a tuple with the ResponseData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventsResendResponse) GetUrl ¶
func (o *EventsResendResponse) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*EventsResendResponse) GetUrlOk ¶
func (o *EventsResendResponse) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventsResendResponse) HasFailedAttempts ¶
func (o *EventsResendResponse) HasFailedAttempts() bool
HasFailedAttempts returns a boolean if a field has been set.
func (*EventsResendResponse) HasId ¶
func (o *EventsResendResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*EventsResendResponse) HasLastAttemptedAt ¶
func (o *EventsResendResponse) HasLastAttemptedAt() bool
HasLastAttemptedAt returns a boolean if a field has been set.
func (*EventsResendResponse) HasLastHttpResponseStatus ¶
func (o *EventsResendResponse) HasLastHttpResponseStatus() bool
HasLastHttpResponseStatus returns a boolean if a field has been set.
func (*EventsResendResponse) HasResponseData ¶
func (o *EventsResendResponse) HasResponseData() bool
HasResponseData returns a boolean if a field has been set.
func (*EventsResendResponse) HasUrl ¶
func (o *EventsResendResponse) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (EventsResendResponse) MarshalJSON ¶
func (o EventsResendResponse) MarshalJSON() ([]byte, error)
func (*EventsResendResponse) SetFailedAttempts ¶
func (o *EventsResendResponse) SetFailedAttempts(v int32)
SetFailedAttempts gets a reference to the given int32 and assigns it to the FailedAttempts field.
func (*EventsResendResponse) SetId ¶
func (o *EventsResendResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*EventsResendResponse) SetLastAttemptedAt ¶
func (o *EventsResendResponse) SetLastAttemptedAt(v int32)
SetLastAttemptedAt gets a reference to the given int32 and assigns it to the LastAttemptedAt field.
func (*EventsResendResponse) SetLastHttpResponseStatus ¶
func (o *EventsResendResponse) SetLastHttpResponseStatus(v int32)
SetLastHttpResponseStatus gets a reference to the given int32 and assigns it to the LastHttpResponseStatus field.
func (*EventsResendResponse) SetResponseData ¶
func (o *EventsResendResponse) SetResponseData(v map[string]interface{})
SetResponseData gets a reference to the given map[string]interface{} and assigns it to the ResponseData field.
func (*EventsResendResponse) SetUrl ¶
func (o *EventsResendResponse) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (EventsResendResponse) ToMap ¶
func (o EventsResendResponse) ToMap() (map[string]interface{}, error)
func (*EventsResendResponse) UnmarshalJSON ¶
func (o *EventsResendResponse) UnmarshalJSON(data []byte) (err error)
type FiscalEntityAddress ¶
type FiscalEntityAddress struct {
// Street name and number
Street1 string `json:"street1"`
// Street name and number
Street2 NullableString `json:"street2,omitempty"`
// Postal code
PostalCode string `json:"postal_code"`
// City
City string `json:"city"`
// State
State *string `json:"state,omitempty"`
// this field follows the [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
Country string `json:"country"`
// External number
ExternalNumber string `json:"external_number"`
AdditionalProperties map[string]interface{}
}
FiscalEntityAddress Address of the fiscal entity
func NewFiscalEntityAddress ¶
func NewFiscalEntityAddress(street1 string, postalCode string, city string, country string, externalNumber string) *FiscalEntityAddress
NewFiscalEntityAddress instantiates a new FiscalEntityAddress 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 NewFiscalEntityAddressWithDefaults ¶
func NewFiscalEntityAddressWithDefaults() *FiscalEntityAddress
NewFiscalEntityAddressWithDefaults instantiates a new FiscalEntityAddress 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 (*FiscalEntityAddress) GetCity ¶
func (o *FiscalEntityAddress) GetCity() string
GetCity returns the City field value
func (*FiscalEntityAddress) GetCityOk ¶
func (o *FiscalEntityAddress) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value and a boolean to check if the value has been set.
func (*FiscalEntityAddress) GetCountry ¶
func (o *FiscalEntityAddress) GetCountry() string
GetCountry returns the Country field value
func (*FiscalEntityAddress) GetCountryOk ¶
func (o *FiscalEntityAddress) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.
func (*FiscalEntityAddress) GetExternalNumber ¶
func (o *FiscalEntityAddress) GetExternalNumber() string
GetExternalNumber returns the ExternalNumber field value
func (*FiscalEntityAddress) GetExternalNumberOk ¶
func (o *FiscalEntityAddress) GetExternalNumberOk() (*string, bool)
GetExternalNumberOk returns a tuple with the ExternalNumber field value and a boolean to check if the value has been set.
func (*FiscalEntityAddress) GetPostalCode ¶
func (o *FiscalEntityAddress) GetPostalCode() string
GetPostalCode returns the PostalCode field value
func (*FiscalEntityAddress) GetPostalCodeOk ¶
func (o *FiscalEntityAddress) GetPostalCodeOk() (*string, bool)
GetPostalCodeOk returns a tuple with the PostalCode field value and a boolean to check if the value has been set.
func (*FiscalEntityAddress) GetState ¶
func (o *FiscalEntityAddress) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*FiscalEntityAddress) GetStateOk ¶
func (o *FiscalEntityAddress) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FiscalEntityAddress) GetStreet1 ¶
func (o *FiscalEntityAddress) GetStreet1() string
GetStreet1 returns the Street1 field value
func (*FiscalEntityAddress) GetStreet1Ok ¶
func (o *FiscalEntityAddress) GetStreet1Ok() (*string, bool)
GetStreet1Ok returns a tuple with the Street1 field value and a boolean to check if the value has been set.
func (*FiscalEntityAddress) GetStreet2 ¶
func (o *FiscalEntityAddress) GetStreet2() string
GetStreet2 returns the Street2 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FiscalEntityAddress) GetStreet2Ok ¶
func (o *FiscalEntityAddress) GetStreet2Ok() (*string, bool)
GetStreet2Ok returns a tuple with the Street2 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 (*FiscalEntityAddress) HasState ¶
func (o *FiscalEntityAddress) HasState() bool
HasState returns a boolean if a field has been set.
func (*FiscalEntityAddress) HasStreet2 ¶
func (o *FiscalEntityAddress) HasStreet2() bool
HasStreet2 returns a boolean if a field has been set.
func (FiscalEntityAddress) MarshalJSON ¶
func (o FiscalEntityAddress) MarshalJSON() ([]byte, error)
func (*FiscalEntityAddress) SetCity ¶
func (o *FiscalEntityAddress) SetCity(v string)
SetCity sets field value
func (*FiscalEntityAddress) SetCountry ¶
func (o *FiscalEntityAddress) SetCountry(v string)
SetCountry sets field value
func (*FiscalEntityAddress) SetExternalNumber ¶
func (o *FiscalEntityAddress) SetExternalNumber(v string)
SetExternalNumber sets field value
func (*FiscalEntityAddress) SetPostalCode ¶
func (o *FiscalEntityAddress) SetPostalCode(v string)
SetPostalCode sets field value
func (*FiscalEntityAddress) SetState ¶
func (o *FiscalEntityAddress) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*FiscalEntityAddress) SetStreet1 ¶
func (o *FiscalEntityAddress) SetStreet1(v string)
SetStreet1 sets field value
func (*FiscalEntityAddress) SetStreet2 ¶
func (o *FiscalEntityAddress) SetStreet2(v string)
SetStreet2 gets a reference to the given NullableString and assigns it to the Street2 field.
func (*FiscalEntityAddress) SetStreet2Nil ¶
func (o *FiscalEntityAddress) SetStreet2Nil()
SetStreet2Nil sets the value for Street2 to be an explicit nil
func (FiscalEntityAddress) ToMap ¶
func (o FiscalEntityAddress) ToMap() (map[string]interface{}, error)
func (*FiscalEntityAddress) UnmarshalJSON ¶
func (o *FiscalEntityAddress) UnmarshalJSON(data []byte) (err error)
func (*FiscalEntityAddress) UnsetStreet2 ¶
func (o *FiscalEntityAddress) UnsetStreet2()
UnsetStreet2 ensures that no value is present for Street2, not even an explicit nil
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 GetApiKeysResponse ¶
type GetApiKeysResponse struct {
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
Data []ApiKeyResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetApiKeysResponse struct for GetApiKeysResponse
func NewGetApiKeysResponse ¶
func NewGetApiKeysResponse(hasMore bool, object string) *GetApiKeysResponse
NewGetApiKeysResponse instantiates a new GetApiKeysResponse 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 NewGetApiKeysResponseWithDefaults ¶
func NewGetApiKeysResponseWithDefaults() *GetApiKeysResponse
NewGetApiKeysResponseWithDefaults instantiates a new GetApiKeysResponse 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 (*GetApiKeysResponse) GetData ¶
func (o *GetApiKeysResponse) GetData() []ApiKeyResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetApiKeysResponse) GetDataOk ¶
func (o *GetApiKeysResponse) GetDataOk() ([]ApiKeyResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetApiKeysResponse) GetHasMore ¶
func (o *GetApiKeysResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetApiKeysResponse) GetHasMoreOk ¶
func (o *GetApiKeysResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetApiKeysResponse) GetNextPageUrl ¶
func (o *GetApiKeysResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetApiKeysResponse) GetNextPageUrlOk ¶
func (o *GetApiKeysResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetApiKeysResponse) GetObject ¶
func (o *GetApiKeysResponse) GetObject() string
GetObject returns the Object field value
func (*GetApiKeysResponse) GetObjectOk ¶
func (o *GetApiKeysResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetApiKeysResponse) GetPreviousPageUrl ¶
func (o *GetApiKeysResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetApiKeysResponse) GetPreviousPageUrlOk ¶
func (o *GetApiKeysResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetApiKeysResponse) HasData ¶
func (o *GetApiKeysResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetApiKeysResponse) HasNextPageUrl ¶
func (o *GetApiKeysResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetApiKeysResponse) HasPreviousPageUrl ¶
func (o *GetApiKeysResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetApiKeysResponse) MarshalJSON ¶
func (o GetApiKeysResponse) MarshalJSON() ([]byte, error)
func (*GetApiKeysResponse) SetData ¶
func (o *GetApiKeysResponse) SetData(v []ApiKeyResponse)
SetData gets a reference to the given []ApiKeyResponse and assigns it to the Data field.
func (*GetApiKeysResponse) SetHasMore ¶
func (o *GetApiKeysResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetApiKeysResponse) SetNextPageUrl ¶
func (o *GetApiKeysResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetApiKeysResponse) SetNextPageUrlNil ¶
func (o *GetApiKeysResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetApiKeysResponse) SetObject ¶
func (o *GetApiKeysResponse) SetObject(v string)
SetObject sets field value
func (*GetApiKeysResponse) SetPreviousPageUrl ¶
func (o *GetApiKeysResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetApiKeysResponse) SetPreviousPageUrlNil ¶
func (o *GetApiKeysResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetApiKeysResponse) ToMap ¶
func (o GetApiKeysResponse) ToMap() (map[string]interface{}, error)
func (*GetApiKeysResponse) UnmarshalJSON ¶
func (o *GetApiKeysResponse) UnmarshalJSON(data []byte) (err error)
func (*GetApiKeysResponse) UnsetNextPageUrl ¶
func (o *GetApiKeysResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetApiKeysResponse) UnsetPreviousPageUrl ¶
func (o *GetApiKeysResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetChargesResponse ¶
type GetChargesResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []ChargeResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetChargesResponse struct for GetChargesResponse
func NewGetChargesResponse ¶
func NewGetChargesResponse(hasMore bool, object string) *GetChargesResponse
NewGetChargesResponse instantiates a new GetChargesResponse 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 NewGetChargesResponseWithDefaults ¶
func NewGetChargesResponseWithDefaults() *GetChargesResponse
NewGetChargesResponseWithDefaults instantiates a new GetChargesResponse 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 (*GetChargesResponse) GetData ¶
func (o *GetChargesResponse) GetData() []ChargeResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetChargesResponse) GetDataOk ¶
func (o *GetChargesResponse) GetDataOk() ([]ChargeResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetChargesResponse) GetHasMore ¶
func (o *GetChargesResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetChargesResponse) GetHasMoreOk ¶
func (o *GetChargesResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetChargesResponse) GetNextPageUrl ¶
func (o *GetChargesResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetChargesResponse) GetNextPageUrlOk ¶
func (o *GetChargesResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetChargesResponse) GetObject ¶
func (o *GetChargesResponse) GetObject() string
GetObject returns the Object field value
func (*GetChargesResponse) GetObjectOk ¶
func (o *GetChargesResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetChargesResponse) GetPreviousPageUrl ¶
func (o *GetChargesResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetChargesResponse) GetPreviousPageUrlOk ¶
func (o *GetChargesResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetChargesResponse) HasData ¶
func (o *GetChargesResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetChargesResponse) HasNextPageUrl ¶
func (o *GetChargesResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetChargesResponse) HasPreviousPageUrl ¶
func (o *GetChargesResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetChargesResponse) MarshalJSON ¶
func (o GetChargesResponse) MarshalJSON() ([]byte, error)
func (*GetChargesResponse) SetData ¶
func (o *GetChargesResponse) SetData(v []ChargeResponse)
SetData gets a reference to the given []ChargeResponse and assigns it to the Data field.
func (*GetChargesResponse) SetHasMore ¶
func (o *GetChargesResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetChargesResponse) SetNextPageUrl ¶
func (o *GetChargesResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetChargesResponse) SetNextPageUrlNil ¶
func (o *GetChargesResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetChargesResponse) SetObject ¶
func (o *GetChargesResponse) SetObject(v string)
SetObject sets field value
func (*GetChargesResponse) SetPreviousPageUrl ¶
func (o *GetChargesResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetChargesResponse) SetPreviousPageUrlNil ¶
func (o *GetChargesResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetChargesResponse) ToMap ¶
func (o GetChargesResponse) ToMap() (map[string]interface{}, error)
func (*GetChargesResponse) UnmarshalJSON ¶
func (o *GetChargesResponse) UnmarshalJSON(data []byte) (err error)
func (*GetChargesResponse) UnsetNextPageUrl ¶
func (o *GetChargesResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetChargesResponse) UnsetPreviousPageUrl ¶
func (o *GetChargesResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetCompaniesResponse ¶
type GetCompaniesResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []CompanyResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetCompaniesResponse struct for GetCompaniesResponse
func NewGetCompaniesResponse ¶
func NewGetCompaniesResponse(hasMore bool, object string) *GetCompaniesResponse
NewGetCompaniesResponse instantiates a new GetCompaniesResponse 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 NewGetCompaniesResponseWithDefaults ¶
func NewGetCompaniesResponseWithDefaults() *GetCompaniesResponse
NewGetCompaniesResponseWithDefaults instantiates a new GetCompaniesResponse 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 (*GetCompaniesResponse) GetData ¶
func (o *GetCompaniesResponse) GetData() []CompanyResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetCompaniesResponse) GetDataOk ¶
func (o *GetCompaniesResponse) GetDataOk() ([]CompanyResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCompaniesResponse) GetHasMore ¶
func (o *GetCompaniesResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetCompaniesResponse) GetHasMoreOk ¶
func (o *GetCompaniesResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetCompaniesResponse) GetNextPageUrl ¶
func (o *GetCompaniesResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetCompaniesResponse) GetNextPageUrlOk ¶
func (o *GetCompaniesResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetCompaniesResponse) GetObject ¶
func (o *GetCompaniesResponse) GetObject() string
GetObject returns the Object field value
func (*GetCompaniesResponse) GetObjectOk ¶
func (o *GetCompaniesResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetCompaniesResponse) GetPreviousPageUrl ¶
func (o *GetCompaniesResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetCompaniesResponse) GetPreviousPageUrlOk ¶
func (o *GetCompaniesResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetCompaniesResponse) HasData ¶
func (o *GetCompaniesResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetCompaniesResponse) HasNextPageUrl ¶
func (o *GetCompaniesResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetCompaniesResponse) HasPreviousPageUrl ¶
func (o *GetCompaniesResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetCompaniesResponse) MarshalJSON ¶
func (o GetCompaniesResponse) MarshalJSON() ([]byte, error)
func (*GetCompaniesResponse) SetData ¶
func (o *GetCompaniesResponse) SetData(v []CompanyResponse)
SetData gets a reference to the given []CompanyResponse and assigns it to the Data field.
func (*GetCompaniesResponse) SetHasMore ¶
func (o *GetCompaniesResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetCompaniesResponse) SetNextPageUrl ¶
func (o *GetCompaniesResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetCompaniesResponse) SetNextPageUrlNil ¶
func (o *GetCompaniesResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetCompaniesResponse) SetObject ¶
func (o *GetCompaniesResponse) SetObject(v string)
SetObject sets field value
func (*GetCompaniesResponse) SetPreviousPageUrl ¶
func (o *GetCompaniesResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetCompaniesResponse) SetPreviousPageUrlNil ¶
func (o *GetCompaniesResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetCompaniesResponse) ToMap ¶
func (o GetCompaniesResponse) ToMap() (map[string]interface{}, error)
func (*GetCompaniesResponse) UnmarshalJSON ¶
func (o *GetCompaniesResponse) UnmarshalJSON(data []byte) (err error)
func (*GetCompaniesResponse) UnsetNextPageUrl ¶
func (o *GetCompaniesResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetCompaniesResponse) UnsetPreviousPageUrl ¶
func (o *GetCompaniesResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetCustomerPaymentMethodDataResponse ¶
type GetCustomerPaymentMethodDataResponse struct {
PaymentMethodCashResponse *PaymentMethodCashResponse
}
GetCustomerPaymentMethodDataResponse - struct for GetCustomerPaymentMethodDataResponse
func PaymentMethodCashResponseAsGetCustomerPaymentMethodDataResponse ¶
func PaymentMethodCashResponseAsGetCustomerPaymentMethodDataResponse(v *PaymentMethodCashResponse) GetCustomerPaymentMethodDataResponse
PaymentMethodCashResponseAsGetCustomerPaymentMethodDataResponse is a convenience function that returns PaymentMethodCashResponse wrapped in GetCustomerPaymentMethodDataResponse
func (*GetCustomerPaymentMethodDataResponse) GetActualInstance ¶
func (obj *GetCustomerPaymentMethodDataResponse) GetActualInstance() interface{}
Get the actual instance
func (GetCustomerPaymentMethodDataResponse) MarshalJSON ¶
func (src GetCustomerPaymentMethodDataResponse) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*GetCustomerPaymentMethodDataResponse) UnmarshalJSON ¶
func (dst *GetCustomerPaymentMethodDataResponse) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type GetEventsResponse ¶
type GetEventsResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []EventResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetEventsResponse struct for GetEventsResponse
func NewGetEventsResponse ¶
func NewGetEventsResponse(hasMore bool, object string) *GetEventsResponse
NewGetEventsResponse instantiates a new GetEventsResponse 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 NewGetEventsResponseWithDefaults ¶
func NewGetEventsResponseWithDefaults() *GetEventsResponse
NewGetEventsResponseWithDefaults instantiates a new GetEventsResponse 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 (*GetEventsResponse) GetData ¶
func (o *GetEventsResponse) GetData() []EventResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetEventsResponse) GetDataOk ¶
func (o *GetEventsResponse) GetDataOk() ([]EventResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetEventsResponse) GetHasMore ¶
func (o *GetEventsResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetEventsResponse) GetHasMoreOk ¶
func (o *GetEventsResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetEventsResponse) GetNextPageUrl ¶
func (o *GetEventsResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetEventsResponse) GetNextPageUrlOk ¶
func (o *GetEventsResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetEventsResponse) GetObject ¶
func (o *GetEventsResponse) GetObject() string
GetObject returns the Object field value
func (*GetEventsResponse) GetObjectOk ¶
func (o *GetEventsResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetEventsResponse) GetPreviousPageUrl ¶
func (o *GetEventsResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetEventsResponse) GetPreviousPageUrlOk ¶
func (o *GetEventsResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetEventsResponse) HasData ¶
func (o *GetEventsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetEventsResponse) HasNextPageUrl ¶
func (o *GetEventsResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetEventsResponse) HasPreviousPageUrl ¶
func (o *GetEventsResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetEventsResponse) MarshalJSON ¶
func (o GetEventsResponse) MarshalJSON() ([]byte, error)
func (*GetEventsResponse) SetData ¶
func (o *GetEventsResponse) SetData(v []EventResponse)
SetData gets a reference to the given []EventResponse and assigns it to the Data field.
func (*GetEventsResponse) SetHasMore ¶
func (o *GetEventsResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetEventsResponse) SetNextPageUrl ¶
func (o *GetEventsResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetEventsResponse) SetNextPageUrlNil ¶
func (o *GetEventsResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetEventsResponse) SetObject ¶
func (o *GetEventsResponse) SetObject(v string)
SetObject sets field value
func (*GetEventsResponse) SetPreviousPageUrl ¶
func (o *GetEventsResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetEventsResponse) SetPreviousPageUrlNil ¶
func (o *GetEventsResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetEventsResponse) ToMap ¶
func (o GetEventsResponse) ToMap() (map[string]interface{}, error)
func (*GetEventsResponse) UnmarshalJSON ¶
func (o *GetEventsResponse) UnmarshalJSON(data []byte) (err error)
func (*GetEventsResponse) UnsetNextPageUrl ¶
func (o *GetEventsResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetEventsResponse) UnsetPreviousPageUrl ¶
func (o *GetEventsResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetOrderDiscountLinesResponse ¶
type GetOrderDiscountLinesResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []DiscountLinesResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetOrderDiscountLinesResponse struct for GetOrderDiscountLinesResponse
func NewGetOrderDiscountLinesResponse ¶
func NewGetOrderDiscountLinesResponse(hasMore bool, object string) *GetOrderDiscountLinesResponse
NewGetOrderDiscountLinesResponse instantiates a new GetOrderDiscountLinesResponse 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 NewGetOrderDiscountLinesResponseWithDefaults ¶
func NewGetOrderDiscountLinesResponseWithDefaults() *GetOrderDiscountLinesResponse
NewGetOrderDiscountLinesResponseWithDefaults instantiates a new GetOrderDiscountLinesResponse 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 (*GetOrderDiscountLinesResponse) GetData ¶
func (o *GetOrderDiscountLinesResponse) GetData() []DiscountLinesResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetOrderDiscountLinesResponse) GetDataOk ¶
func (o *GetOrderDiscountLinesResponse) GetDataOk() ([]DiscountLinesResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrderDiscountLinesResponse) GetHasMore ¶
func (o *GetOrderDiscountLinesResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetOrderDiscountLinesResponse) GetHasMoreOk ¶
func (o *GetOrderDiscountLinesResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetOrderDiscountLinesResponse) GetNextPageUrl ¶
func (o *GetOrderDiscountLinesResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetOrderDiscountLinesResponse) GetNextPageUrlOk ¶
func (o *GetOrderDiscountLinesResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetOrderDiscountLinesResponse) GetObject ¶
func (o *GetOrderDiscountLinesResponse) GetObject() string
GetObject returns the Object field value
func (*GetOrderDiscountLinesResponse) GetObjectOk ¶
func (o *GetOrderDiscountLinesResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetOrderDiscountLinesResponse) GetPreviousPageUrl ¶
func (o *GetOrderDiscountLinesResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetOrderDiscountLinesResponse) GetPreviousPageUrlOk ¶
func (o *GetOrderDiscountLinesResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetOrderDiscountLinesResponse) HasData ¶
func (o *GetOrderDiscountLinesResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetOrderDiscountLinesResponse) HasNextPageUrl ¶
func (o *GetOrderDiscountLinesResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetOrderDiscountLinesResponse) HasPreviousPageUrl ¶
func (o *GetOrderDiscountLinesResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetOrderDiscountLinesResponse) MarshalJSON ¶
func (o GetOrderDiscountLinesResponse) MarshalJSON() ([]byte, error)
func (*GetOrderDiscountLinesResponse) SetData ¶
func (o *GetOrderDiscountLinesResponse) SetData(v []DiscountLinesResponse)
SetData gets a reference to the given []DiscountLinesResponse and assigns it to the Data field.
func (*GetOrderDiscountLinesResponse) SetHasMore ¶
func (o *GetOrderDiscountLinesResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetOrderDiscountLinesResponse) SetNextPageUrl ¶
func (o *GetOrderDiscountLinesResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetOrderDiscountLinesResponse) SetNextPageUrlNil ¶
func (o *GetOrderDiscountLinesResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetOrderDiscountLinesResponse) SetObject ¶
func (o *GetOrderDiscountLinesResponse) SetObject(v string)
SetObject sets field value
func (*GetOrderDiscountLinesResponse) SetPreviousPageUrl ¶
func (o *GetOrderDiscountLinesResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetOrderDiscountLinesResponse) SetPreviousPageUrlNil ¶
func (o *GetOrderDiscountLinesResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetOrderDiscountLinesResponse) ToMap ¶
func (o GetOrderDiscountLinesResponse) ToMap() (map[string]interface{}, error)
func (*GetOrderDiscountLinesResponse) UnmarshalJSON ¶
func (o *GetOrderDiscountLinesResponse) UnmarshalJSON(data []byte) (err error)
func (*GetOrderDiscountLinesResponse) UnsetNextPageUrl ¶
func (o *GetOrderDiscountLinesResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetOrderDiscountLinesResponse) UnsetPreviousPageUrl ¶
func (o *GetOrderDiscountLinesResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetOrdersResponse ¶
type GetOrdersResponse struct {
Data []OrderResponse `json:"data"`
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
AdditionalProperties map[string]interface{}
}
GetOrdersResponse struct for GetOrdersResponse
func NewGetOrdersResponse ¶
func NewGetOrdersResponse(data []OrderResponse, hasMore bool, object string) *GetOrdersResponse
NewGetOrdersResponse instantiates a new GetOrdersResponse 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 NewGetOrdersResponseWithDefaults ¶
func NewGetOrdersResponseWithDefaults() *GetOrdersResponse
NewGetOrdersResponseWithDefaults instantiates a new GetOrdersResponse 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 (*GetOrdersResponse) GetData ¶
func (o *GetOrdersResponse) GetData() []OrderResponse
GetData returns the Data field value
func (*GetOrdersResponse) GetDataOk ¶
func (o *GetOrdersResponse) GetDataOk() ([]OrderResponse, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*GetOrdersResponse) GetHasMore ¶
func (o *GetOrdersResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetOrdersResponse) GetHasMoreOk ¶
func (o *GetOrdersResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetOrdersResponse) GetNextPageUrl ¶
func (o *GetOrdersResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetOrdersResponse) GetNextPageUrlOk ¶
func (o *GetOrdersResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetOrdersResponse) GetObject ¶
func (o *GetOrdersResponse) GetObject() string
GetObject returns the Object field value
func (*GetOrdersResponse) GetObjectOk ¶
func (o *GetOrdersResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetOrdersResponse) GetPreviousPageUrl ¶
func (o *GetOrdersResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetOrdersResponse) GetPreviousPageUrlOk ¶
func (o *GetOrdersResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetOrdersResponse) HasNextPageUrl ¶
func (o *GetOrdersResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetOrdersResponse) HasPreviousPageUrl ¶
func (o *GetOrdersResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetOrdersResponse) MarshalJSON ¶
func (o GetOrdersResponse) MarshalJSON() ([]byte, error)
func (*GetOrdersResponse) SetData ¶
func (o *GetOrdersResponse) SetData(v []OrderResponse)
SetData sets field value
func (*GetOrdersResponse) SetHasMore ¶
func (o *GetOrdersResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetOrdersResponse) SetNextPageUrl ¶
func (o *GetOrdersResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetOrdersResponse) SetNextPageUrlNil ¶
func (o *GetOrdersResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetOrdersResponse) SetObject ¶
func (o *GetOrdersResponse) SetObject(v string)
SetObject sets field value
func (*GetOrdersResponse) SetPreviousPageUrl ¶
func (o *GetOrdersResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetOrdersResponse) SetPreviousPageUrlNil ¶
func (o *GetOrdersResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetOrdersResponse) ToMap ¶
func (o GetOrdersResponse) ToMap() (map[string]interface{}, error)
func (*GetOrdersResponse) UnmarshalJSON ¶
func (o *GetOrdersResponse) UnmarshalJSON(data []byte) (err error)
func (*GetOrdersResponse) UnsetNextPageUrl ¶
func (o *GetOrdersResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetOrdersResponse) UnsetPreviousPageUrl ¶
func (o *GetOrdersResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetPaymentMethodResponse ¶
type GetPaymentMethodResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []GetCustomerPaymentMethodDataResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetPaymentMethodResponse struct for GetPaymentMethodResponse
func NewGetPaymentMethodResponse ¶
func NewGetPaymentMethodResponse(hasMore bool, object string) *GetPaymentMethodResponse
NewGetPaymentMethodResponse instantiates a new GetPaymentMethodResponse 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 NewGetPaymentMethodResponseWithDefaults ¶
func NewGetPaymentMethodResponseWithDefaults() *GetPaymentMethodResponse
NewGetPaymentMethodResponseWithDefaults instantiates a new GetPaymentMethodResponse 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 (*GetPaymentMethodResponse) GetData ¶
func (o *GetPaymentMethodResponse) GetData() []GetCustomerPaymentMethodDataResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetPaymentMethodResponse) GetDataOk ¶
func (o *GetPaymentMethodResponse) GetDataOk() ([]GetCustomerPaymentMethodDataResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetPaymentMethodResponse) GetHasMore ¶
func (o *GetPaymentMethodResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetPaymentMethodResponse) GetHasMoreOk ¶
func (o *GetPaymentMethodResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetPaymentMethodResponse) GetNextPageUrl ¶
func (o *GetPaymentMethodResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetPaymentMethodResponse) GetNextPageUrlOk ¶
func (o *GetPaymentMethodResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetPaymentMethodResponse) GetObject ¶
func (o *GetPaymentMethodResponse) GetObject() string
GetObject returns the Object field value
func (*GetPaymentMethodResponse) GetObjectOk ¶
func (o *GetPaymentMethodResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetPaymentMethodResponse) GetPreviousPageUrl ¶
func (o *GetPaymentMethodResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetPaymentMethodResponse) GetPreviousPageUrlOk ¶
func (o *GetPaymentMethodResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetPaymentMethodResponse) HasData ¶
func (o *GetPaymentMethodResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetPaymentMethodResponse) HasNextPageUrl ¶
func (o *GetPaymentMethodResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetPaymentMethodResponse) HasPreviousPageUrl ¶
func (o *GetPaymentMethodResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetPaymentMethodResponse) MarshalJSON ¶
func (o GetPaymentMethodResponse) MarshalJSON() ([]byte, error)
func (*GetPaymentMethodResponse) SetData ¶
func (o *GetPaymentMethodResponse) SetData(v []GetCustomerPaymentMethodDataResponse)
SetData gets a reference to the given []GetCustomerPaymentMethodDataResponse and assigns it to the Data field.
func (*GetPaymentMethodResponse) SetHasMore ¶
func (o *GetPaymentMethodResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetPaymentMethodResponse) SetNextPageUrl ¶
func (o *GetPaymentMethodResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetPaymentMethodResponse) SetNextPageUrlNil ¶
func (o *GetPaymentMethodResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetPaymentMethodResponse) SetObject ¶
func (o *GetPaymentMethodResponse) SetObject(v string)
SetObject sets field value
func (*GetPaymentMethodResponse) SetPreviousPageUrl ¶
func (o *GetPaymentMethodResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetPaymentMethodResponse) SetPreviousPageUrlNil ¶
func (o *GetPaymentMethodResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetPaymentMethodResponse) ToMap ¶
func (o GetPaymentMethodResponse) ToMap() (map[string]interface{}, error)
func (*GetPaymentMethodResponse) UnmarshalJSON ¶
func (o *GetPaymentMethodResponse) UnmarshalJSON(data []byte) (err error)
func (*GetPaymentMethodResponse) UnsetNextPageUrl ¶
func (o *GetPaymentMethodResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetPaymentMethodResponse) UnsetPreviousPageUrl ¶
func (o *GetPaymentMethodResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetTransactionsResponse ¶
type GetTransactionsResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
// Transactions
Data []TransactionResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetTransactionsResponse struct for GetTransactionsResponse
func NewGetTransactionsResponse ¶
func NewGetTransactionsResponse(hasMore bool, object string) *GetTransactionsResponse
NewGetTransactionsResponse instantiates a new GetTransactionsResponse 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 NewGetTransactionsResponseWithDefaults ¶
func NewGetTransactionsResponseWithDefaults() *GetTransactionsResponse
NewGetTransactionsResponseWithDefaults instantiates a new GetTransactionsResponse 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 (*GetTransactionsResponse) GetData ¶
func (o *GetTransactionsResponse) GetData() []TransactionResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetTransactionsResponse) GetDataOk ¶
func (o *GetTransactionsResponse) GetDataOk() ([]TransactionResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetTransactionsResponse) GetHasMore ¶
func (o *GetTransactionsResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetTransactionsResponse) GetHasMoreOk ¶
func (o *GetTransactionsResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetTransactionsResponse) GetNextPageUrl ¶
func (o *GetTransactionsResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetTransactionsResponse) GetNextPageUrlOk ¶
func (o *GetTransactionsResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetTransactionsResponse) GetObject ¶
func (o *GetTransactionsResponse) GetObject() string
GetObject returns the Object field value
func (*GetTransactionsResponse) GetObjectOk ¶
func (o *GetTransactionsResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetTransactionsResponse) GetPreviousPageUrl ¶
func (o *GetTransactionsResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetTransactionsResponse) GetPreviousPageUrlOk ¶
func (o *GetTransactionsResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetTransactionsResponse) HasData ¶
func (o *GetTransactionsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetTransactionsResponse) HasNextPageUrl ¶
func (o *GetTransactionsResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetTransactionsResponse) HasPreviousPageUrl ¶
func (o *GetTransactionsResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetTransactionsResponse) MarshalJSON ¶
func (o GetTransactionsResponse) MarshalJSON() ([]byte, error)
func (*GetTransactionsResponse) SetData ¶
func (o *GetTransactionsResponse) SetData(v []TransactionResponse)
SetData gets a reference to the given []TransactionResponse and assigns it to the Data field.
func (*GetTransactionsResponse) SetHasMore ¶
func (o *GetTransactionsResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetTransactionsResponse) SetNextPageUrl ¶
func (o *GetTransactionsResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetTransactionsResponse) SetNextPageUrlNil ¶
func (o *GetTransactionsResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetTransactionsResponse) SetObject ¶
func (o *GetTransactionsResponse) SetObject(v string)
SetObject sets field value
func (*GetTransactionsResponse) SetPreviousPageUrl ¶
func (o *GetTransactionsResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetTransactionsResponse) SetPreviousPageUrlNil ¶
func (o *GetTransactionsResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetTransactionsResponse) ToMap ¶
func (o GetTransactionsResponse) ToMap() (map[string]interface{}, error)
func (*GetTransactionsResponse) UnmarshalJSON ¶
func (o *GetTransactionsResponse) UnmarshalJSON(data []byte) (err error)
func (*GetTransactionsResponse) UnsetNextPageUrl ¶
func (o *GetTransactionsResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetTransactionsResponse) UnsetPreviousPageUrl ¶
func (o *GetTransactionsResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetTransfersResponse ¶
type GetTransfersResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
// Transfers
Data []TransfersResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetTransfersResponse struct for GetTransfersResponse
func NewGetTransfersResponse ¶
func NewGetTransfersResponse(hasMore bool, object string) *GetTransfersResponse
NewGetTransfersResponse instantiates a new GetTransfersResponse 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 NewGetTransfersResponseWithDefaults ¶
func NewGetTransfersResponseWithDefaults() *GetTransfersResponse
NewGetTransfersResponseWithDefaults instantiates a new GetTransfersResponse 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 (*GetTransfersResponse) GetData ¶
func (o *GetTransfersResponse) GetData() []TransfersResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetTransfersResponse) GetDataOk ¶
func (o *GetTransfersResponse) GetDataOk() ([]TransfersResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetTransfersResponse) GetHasMore ¶
func (o *GetTransfersResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetTransfersResponse) GetHasMoreOk ¶
func (o *GetTransfersResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetTransfersResponse) GetNextPageUrl ¶
func (o *GetTransfersResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetTransfersResponse) GetNextPageUrlOk ¶
func (o *GetTransfersResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetTransfersResponse) GetObject ¶
func (o *GetTransfersResponse) GetObject() string
GetObject returns the Object field value
func (*GetTransfersResponse) GetObjectOk ¶
func (o *GetTransfersResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetTransfersResponse) GetPreviousPageUrl ¶
func (o *GetTransfersResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetTransfersResponse) GetPreviousPageUrlOk ¶
func (o *GetTransfersResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetTransfersResponse) HasData ¶
func (o *GetTransfersResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetTransfersResponse) HasNextPageUrl ¶
func (o *GetTransfersResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetTransfersResponse) HasPreviousPageUrl ¶
func (o *GetTransfersResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetTransfersResponse) MarshalJSON ¶
func (o GetTransfersResponse) MarshalJSON() ([]byte, error)
func (*GetTransfersResponse) SetData ¶
func (o *GetTransfersResponse) SetData(v []TransfersResponse)
SetData gets a reference to the given []TransfersResponse and assigns it to the Data field.
func (*GetTransfersResponse) SetHasMore ¶
func (o *GetTransfersResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetTransfersResponse) SetNextPageUrl ¶
func (o *GetTransfersResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetTransfersResponse) SetNextPageUrlNil ¶
func (o *GetTransfersResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetTransfersResponse) SetObject ¶
func (o *GetTransfersResponse) SetObject(v string)
SetObject sets field value
func (*GetTransfersResponse) SetPreviousPageUrl ¶
func (o *GetTransfersResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetTransfersResponse) SetPreviousPageUrlNil ¶
func (o *GetTransfersResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetTransfersResponse) ToMap ¶
func (o GetTransfersResponse) ToMap() (map[string]interface{}, error)
func (*GetTransfersResponse) UnmarshalJSON ¶
func (o *GetTransfersResponse) UnmarshalJSON(data []byte) (err error)
func (*GetTransfersResponse) UnsetNextPageUrl ¶
func (o *GetTransfersResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetTransfersResponse) UnsetPreviousPageUrl ¶
func (o *GetTransfersResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetWebhookKeysResponse ¶
type GetWebhookKeysResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []WebhookKeyResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetWebhookKeysResponse struct for GetWebhookKeysResponse
func NewGetWebhookKeysResponse ¶
func NewGetWebhookKeysResponse(hasMore bool, object string) *GetWebhookKeysResponse
NewGetWebhookKeysResponse instantiates a new GetWebhookKeysResponse 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 NewGetWebhookKeysResponseWithDefaults ¶
func NewGetWebhookKeysResponseWithDefaults() *GetWebhookKeysResponse
NewGetWebhookKeysResponseWithDefaults instantiates a new GetWebhookKeysResponse 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 (*GetWebhookKeysResponse) GetData ¶
func (o *GetWebhookKeysResponse) GetData() []WebhookKeyResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetWebhookKeysResponse) GetDataOk ¶
func (o *GetWebhookKeysResponse) GetDataOk() ([]WebhookKeyResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWebhookKeysResponse) GetHasMore ¶
func (o *GetWebhookKeysResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetWebhookKeysResponse) GetHasMoreOk ¶
func (o *GetWebhookKeysResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetWebhookKeysResponse) GetNextPageUrl ¶
func (o *GetWebhookKeysResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetWebhookKeysResponse) GetNextPageUrlOk ¶
func (o *GetWebhookKeysResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetWebhookKeysResponse) GetObject ¶
func (o *GetWebhookKeysResponse) GetObject() string
GetObject returns the Object field value
func (*GetWebhookKeysResponse) GetObjectOk ¶
func (o *GetWebhookKeysResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetWebhookKeysResponse) GetPreviousPageUrl ¶
func (o *GetWebhookKeysResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetWebhookKeysResponse) GetPreviousPageUrlOk ¶
func (o *GetWebhookKeysResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetWebhookKeysResponse) HasData ¶
func (o *GetWebhookKeysResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetWebhookKeysResponse) HasNextPageUrl ¶
func (o *GetWebhookKeysResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetWebhookKeysResponse) HasPreviousPageUrl ¶
func (o *GetWebhookKeysResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetWebhookKeysResponse) MarshalJSON ¶
func (o GetWebhookKeysResponse) MarshalJSON() ([]byte, error)
func (*GetWebhookKeysResponse) SetData ¶
func (o *GetWebhookKeysResponse) SetData(v []WebhookKeyResponse)
SetData gets a reference to the given []WebhookKeyResponse and assigns it to the Data field.
func (*GetWebhookKeysResponse) SetHasMore ¶
func (o *GetWebhookKeysResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetWebhookKeysResponse) SetNextPageUrl ¶
func (o *GetWebhookKeysResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetWebhookKeysResponse) SetNextPageUrlNil ¶
func (o *GetWebhookKeysResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetWebhookKeysResponse) SetObject ¶
func (o *GetWebhookKeysResponse) SetObject(v string)
SetObject sets field value
func (*GetWebhookKeysResponse) SetPreviousPageUrl ¶
func (o *GetWebhookKeysResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetWebhookKeysResponse) SetPreviousPageUrlNil ¶
func (o *GetWebhookKeysResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetWebhookKeysResponse) ToMap ¶
func (o GetWebhookKeysResponse) ToMap() (map[string]interface{}, error)
func (*GetWebhookKeysResponse) UnmarshalJSON ¶
func (o *GetWebhookKeysResponse) UnmarshalJSON(data []byte) (err error)
func (*GetWebhookKeysResponse) UnsetNextPageUrl ¶
func (o *GetWebhookKeysResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetWebhookKeysResponse) UnsetPreviousPageUrl ¶
func (o *GetWebhookKeysResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type GetWebhooksResponse ¶
type GetWebhooksResponse struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []WebhookResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetWebhooksResponse struct for GetWebhooksResponse
func NewGetWebhooksResponse ¶
func NewGetWebhooksResponse(hasMore bool, object string) *GetWebhooksResponse
NewGetWebhooksResponse instantiates a new GetWebhooksResponse 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 NewGetWebhooksResponseWithDefaults ¶
func NewGetWebhooksResponseWithDefaults() *GetWebhooksResponse
NewGetWebhooksResponseWithDefaults instantiates a new GetWebhooksResponse 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 (*GetWebhooksResponse) GetData ¶
func (o *GetWebhooksResponse) GetData() []WebhookResponse
GetData returns the Data field value if set, zero value otherwise.
func (*GetWebhooksResponse) GetDataOk ¶
func (o *GetWebhooksResponse) GetDataOk() ([]WebhookResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWebhooksResponse) GetHasMore ¶
func (o *GetWebhooksResponse) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*GetWebhooksResponse) GetHasMoreOk ¶
func (o *GetWebhooksResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*GetWebhooksResponse) GetNextPageUrl ¶
func (o *GetWebhooksResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetWebhooksResponse) GetNextPageUrlOk ¶
func (o *GetWebhooksResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*GetWebhooksResponse) GetObject ¶
func (o *GetWebhooksResponse) GetObject() string
GetObject returns the Object field value
func (*GetWebhooksResponse) GetObjectOk ¶
func (o *GetWebhooksResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*GetWebhooksResponse) GetPreviousPageUrl ¶
func (o *GetWebhooksResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetWebhooksResponse) GetPreviousPageUrlOk ¶
func (o *GetWebhooksResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*GetWebhooksResponse) HasData ¶
func (o *GetWebhooksResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*GetWebhooksResponse) HasNextPageUrl ¶
func (o *GetWebhooksResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*GetWebhooksResponse) HasPreviousPageUrl ¶
func (o *GetWebhooksResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (GetWebhooksResponse) MarshalJSON ¶
func (o GetWebhooksResponse) MarshalJSON() ([]byte, error)
func (*GetWebhooksResponse) SetData ¶
func (o *GetWebhooksResponse) SetData(v []WebhookResponse)
SetData gets a reference to the given []WebhookResponse and assigns it to the Data field.
func (*GetWebhooksResponse) SetHasMore ¶
func (o *GetWebhooksResponse) SetHasMore(v bool)
SetHasMore sets field value
func (*GetWebhooksResponse) SetNextPageUrl ¶
func (o *GetWebhooksResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*GetWebhooksResponse) SetNextPageUrlNil ¶
func (o *GetWebhooksResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*GetWebhooksResponse) SetObject ¶
func (o *GetWebhooksResponse) SetObject(v string)
SetObject sets field value
func (*GetWebhooksResponse) SetPreviousPageUrl ¶
func (o *GetWebhooksResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*GetWebhooksResponse) SetPreviousPageUrlNil ¶
func (o *GetWebhooksResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (GetWebhooksResponse) ToMap ¶
func (o GetWebhooksResponse) ToMap() (map[string]interface{}, error)
func (*GetWebhooksResponse) UnmarshalJSON ¶
func (o *GetWebhooksResponse) UnmarshalJSON(data []byte) (err error)
func (*GetWebhooksResponse) UnsetNextPageUrl ¶
func (o *GetWebhooksResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*GetWebhooksResponse) UnsetPreviousPageUrl ¶
func (o *GetWebhooksResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type LogResponse ¶
type LogResponse struct {
CreatedAt int64 `json:"created_at"`
Id string `json:"id"`
IpAddress *string `json:"ip_address,omitempty"`
Livemode bool `json:"livemode"`
LoggableId NullableString `json:"loggable_id,omitempty"`
LoggableType NullableString `json:"loggable_type,omitempty"`
Method *string `json:"method,omitempty"`
OauthTokenId NullableString `json:"oauth_token_id,omitempty"`
QueryString map[string]interface{} `json:"query_string,omitempty"`
Related *string `json:"related,omitempty"`
RequestBody map[string]interface{} `json:"request_body,omitempty"`
RequestHeaders *map[string]string `json:"request_headers,omitempty"`
ResponseBody map[string]interface{} `json:"response_body,omitempty"`
ResponseHeaders *map[string]string `json:"response_headers,omitempty"`
SearchableTags []string `json:"searchable_tags,omitempty"`
Status *string `json:"status,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Url *string `json:"url,omitempty"`
UserAccountId *string `json:"user_account_id,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{}
}
LogResponse log model
func NewLogResponse ¶
func NewLogResponse(createdAt int64, id string, livemode bool) *LogResponse
NewLogResponse instantiates a new LogResponse 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 NewLogResponseWithDefaults ¶
func NewLogResponseWithDefaults() *LogResponse
NewLogResponseWithDefaults instantiates a new LogResponse 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 (*LogResponse) GetCreatedAt ¶
func (o *LogResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*LogResponse) GetCreatedAtOk ¶
func (o *LogResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*LogResponse) GetIdOk ¶
func (o *LogResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*LogResponse) GetIpAddress ¶
func (o *LogResponse) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*LogResponse) GetIpAddressOk ¶
func (o *LogResponse) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetLivemode ¶
func (o *LogResponse) GetLivemode() bool
GetLivemode returns the Livemode field value
func (*LogResponse) GetLivemodeOk ¶
func (o *LogResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value and a boolean to check if the value has been set.
func (*LogResponse) GetLoggableId ¶
func (o *LogResponse) GetLoggableId() string
GetLoggableId returns the LoggableId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogResponse) GetLoggableIdOk ¶
func (o *LogResponse) GetLoggableIdOk() (*string, bool)
GetLoggableIdOk returns a tuple with the LoggableId 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 (*LogResponse) GetLoggableType ¶
func (o *LogResponse) GetLoggableType() string
GetLoggableType returns the LoggableType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogResponse) GetLoggableTypeOk ¶
func (o *LogResponse) GetLoggableTypeOk() (*string, bool)
GetLoggableTypeOk returns a tuple with the LoggableType 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 (*LogResponse) GetMethod ¶
func (o *LogResponse) GetMethod() string
GetMethod returns the Method field value if set, zero value otherwise.
func (*LogResponse) GetMethodOk ¶
func (o *LogResponse) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetOauthTokenId ¶
func (o *LogResponse) GetOauthTokenId() string
GetOauthTokenId returns the OauthTokenId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogResponse) GetOauthTokenIdOk ¶
func (o *LogResponse) GetOauthTokenIdOk() (*string, bool)
GetOauthTokenIdOk returns a tuple with the OauthTokenId 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 (*LogResponse) GetQueryString ¶
func (o *LogResponse) GetQueryString() map[string]interface{}
GetQueryString returns the QueryString field value if set, zero value otherwise.
func (*LogResponse) GetQueryStringOk ¶
func (o *LogResponse) GetQueryStringOk() (map[string]interface{}, bool)
GetQueryStringOk returns a tuple with the QueryString field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetRelated ¶
func (o *LogResponse) GetRelated() string
GetRelated returns the Related field value if set, zero value otherwise.
func (*LogResponse) GetRelatedOk ¶
func (o *LogResponse) GetRelatedOk() (*string, bool)
GetRelatedOk returns a tuple with the Related field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetRequestBody ¶
func (o *LogResponse) GetRequestBody() map[string]interface{}
GetRequestBody returns the RequestBody field value if set, zero value otherwise.
func (*LogResponse) GetRequestBodyOk ¶
func (o *LogResponse) GetRequestBodyOk() (map[string]interface{}, bool)
GetRequestBodyOk returns a tuple with the RequestBody field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetRequestHeaders ¶
func (o *LogResponse) GetRequestHeaders() map[string]string
GetRequestHeaders returns the RequestHeaders field value if set, zero value otherwise.
func (*LogResponse) GetRequestHeadersOk ¶
func (o *LogResponse) GetRequestHeadersOk() (*map[string]string, bool)
GetRequestHeadersOk returns a tuple with the RequestHeaders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetResponseBody ¶
func (o *LogResponse) GetResponseBody() map[string]interface{}
GetResponseBody returns the ResponseBody field value if set, zero value otherwise.
func (*LogResponse) GetResponseBodyOk ¶
func (o *LogResponse) GetResponseBodyOk() (map[string]interface{}, bool)
GetResponseBodyOk returns a tuple with the ResponseBody field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetResponseHeaders ¶
func (o *LogResponse) GetResponseHeaders() map[string]string
GetResponseHeaders returns the ResponseHeaders field value if set, zero value otherwise.
func (*LogResponse) GetResponseHeadersOk ¶
func (o *LogResponse) GetResponseHeadersOk() (*map[string]string, bool)
GetResponseHeadersOk returns a tuple with the ResponseHeaders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetSearchableTags ¶
func (o *LogResponse) GetSearchableTags() []string
GetSearchableTags returns the SearchableTags field value if set, zero value otherwise.
func (*LogResponse) GetSearchableTagsOk ¶
func (o *LogResponse) GetSearchableTagsOk() ([]string, bool)
GetSearchableTagsOk returns a tuple with the SearchableTags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetStatus ¶
func (o *LogResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*LogResponse) GetStatusOk ¶
func (o *LogResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetUpdatedAt ¶
func (o *LogResponse) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*LogResponse) GetUpdatedAtOk ¶
func (o *LogResponse) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetUrl ¶
func (o *LogResponse) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*LogResponse) GetUrlOk ¶
func (o *LogResponse) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetUserAccountId ¶
func (o *LogResponse) GetUserAccountId() string
GetUserAccountId returns the UserAccountId field value if set, zero value otherwise.
func (*LogResponse) GetUserAccountIdOk ¶
func (o *LogResponse) GetUserAccountIdOk() (*string, bool)
GetUserAccountIdOk returns a tuple with the UserAccountId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) GetVersion ¶
func (o *LogResponse) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*LogResponse) GetVersionOk ¶
func (o *LogResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogResponse) HasIpAddress ¶
func (o *LogResponse) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (*LogResponse) HasLoggableId ¶
func (o *LogResponse) HasLoggableId() bool
HasLoggableId returns a boolean if a field has been set.
func (*LogResponse) HasLoggableType ¶
func (o *LogResponse) HasLoggableType() bool
HasLoggableType returns a boolean if a field has been set.
func (*LogResponse) HasMethod ¶
func (o *LogResponse) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*LogResponse) HasOauthTokenId ¶
func (o *LogResponse) HasOauthTokenId() bool
HasOauthTokenId returns a boolean if a field has been set.
func (*LogResponse) HasQueryString ¶
func (o *LogResponse) HasQueryString() bool
HasQueryString returns a boolean if a field has been set.
func (*LogResponse) HasRelated ¶
func (o *LogResponse) HasRelated() bool
HasRelated returns a boolean if a field has been set.
func (*LogResponse) HasRequestBody ¶
func (o *LogResponse) HasRequestBody() bool
HasRequestBody returns a boolean if a field has been set.
func (*LogResponse) HasRequestHeaders ¶
func (o *LogResponse) HasRequestHeaders() bool
HasRequestHeaders returns a boolean if a field has been set.
func (*LogResponse) HasResponseBody ¶
func (o *LogResponse) HasResponseBody() bool
HasResponseBody returns a boolean if a field has been set.
func (*LogResponse) HasResponseHeaders ¶
func (o *LogResponse) HasResponseHeaders() bool
HasResponseHeaders returns a boolean if a field has been set.
func (*LogResponse) HasSearchableTags ¶
func (o *LogResponse) HasSearchableTags() bool
HasSearchableTags returns a boolean if a field has been set.
func (*LogResponse) HasStatus ¶
func (o *LogResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*LogResponse) HasUpdatedAt ¶
func (o *LogResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*LogResponse) HasUrl ¶
func (o *LogResponse) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*LogResponse) HasUserAccountId ¶
func (o *LogResponse) HasUserAccountId() bool
HasUserAccountId returns a boolean if a field has been set.
func (*LogResponse) HasVersion ¶
func (o *LogResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (LogResponse) MarshalJSON ¶
func (o LogResponse) MarshalJSON() ([]byte, error)
func (*LogResponse) SetCreatedAt ¶
func (o *LogResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*LogResponse) SetIpAddress ¶
func (o *LogResponse) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*LogResponse) SetLivemode ¶
func (o *LogResponse) SetLivemode(v bool)
SetLivemode sets field value
func (*LogResponse) SetLoggableId ¶
func (o *LogResponse) SetLoggableId(v string)
SetLoggableId gets a reference to the given NullableString and assigns it to the LoggableId field.
func (*LogResponse) SetLoggableIdNil ¶
func (o *LogResponse) SetLoggableIdNil()
SetLoggableIdNil sets the value for LoggableId to be an explicit nil
func (*LogResponse) SetLoggableType ¶
func (o *LogResponse) SetLoggableType(v string)
SetLoggableType gets a reference to the given NullableString and assigns it to the LoggableType field.
func (*LogResponse) SetLoggableTypeNil ¶
func (o *LogResponse) SetLoggableTypeNil()
SetLoggableTypeNil sets the value for LoggableType to be an explicit nil
func (*LogResponse) SetMethod ¶
func (o *LogResponse) SetMethod(v string)
SetMethod gets a reference to the given string and assigns it to the Method field.
func (*LogResponse) SetOauthTokenId ¶
func (o *LogResponse) SetOauthTokenId(v string)
SetOauthTokenId gets a reference to the given NullableString and assigns it to the OauthTokenId field.
func (*LogResponse) SetOauthTokenIdNil ¶
func (o *LogResponse) SetOauthTokenIdNil()
SetOauthTokenIdNil sets the value for OauthTokenId to be an explicit nil
func (*LogResponse) SetQueryString ¶
func (o *LogResponse) SetQueryString(v map[string]interface{})
SetQueryString gets a reference to the given map[string]interface{} and assigns it to the QueryString field.
func (*LogResponse) SetRelated ¶
func (o *LogResponse) SetRelated(v string)
SetRelated gets a reference to the given string and assigns it to the Related field.
func (*LogResponse) SetRequestBody ¶
func (o *LogResponse) SetRequestBody(v map[string]interface{})
SetRequestBody gets a reference to the given map[string]interface{} and assigns it to the RequestBody field.
func (*LogResponse) SetRequestHeaders ¶
func (o *LogResponse) SetRequestHeaders(v map[string]string)
SetRequestHeaders gets a reference to the given map[string]string and assigns it to the RequestHeaders field.
func (*LogResponse) SetResponseBody ¶
func (o *LogResponse) SetResponseBody(v map[string]interface{})
SetResponseBody gets a reference to the given map[string]interface{} and assigns it to the ResponseBody field.
func (*LogResponse) SetResponseHeaders ¶
func (o *LogResponse) SetResponseHeaders(v map[string]string)
SetResponseHeaders gets a reference to the given map[string]string and assigns it to the ResponseHeaders field.
func (*LogResponse) SetSearchableTags ¶
func (o *LogResponse) SetSearchableTags(v []string)
SetSearchableTags gets a reference to the given []string and assigns it to the SearchableTags field.
func (*LogResponse) SetStatus ¶
func (o *LogResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*LogResponse) SetUpdatedAt ¶
func (o *LogResponse) SetUpdatedAt(v string)
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
func (*LogResponse) SetUrl ¶
func (o *LogResponse) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*LogResponse) SetUserAccountId ¶
func (o *LogResponse) SetUserAccountId(v string)
SetUserAccountId gets a reference to the given string and assigns it to the UserAccountId field.
func (*LogResponse) SetVersion ¶
func (o *LogResponse) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (LogResponse) ToMap ¶
func (o LogResponse) ToMap() (map[string]interface{}, error)
func (*LogResponse) UnmarshalJSON ¶
func (o *LogResponse) UnmarshalJSON(data []byte) (err error)
func (*LogResponse) UnsetLoggableId ¶
func (o *LogResponse) UnsetLoggableId()
UnsetLoggableId ensures that no value is present for LoggableId, not even an explicit nil
func (*LogResponse) UnsetLoggableType ¶
func (o *LogResponse) UnsetLoggableType()
UnsetLoggableType ensures that no value is present for LoggableType, not even an explicit nil
func (*LogResponse) UnsetOauthTokenId ¶
func (o *LogResponse) UnsetOauthTokenId()
UnsetOauthTokenId ensures that no value is present for OauthTokenId, not even an explicit nil
type LogsAPI ¶
type LogsAPI interface {
/*
GetLogById Get Log
Get the details of a specific log
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetLogByIdRequest
*/
GetLogById(ctx context.Context, id string) ApiGetLogByIdRequest
// GetLogByIdExecute executes the request
// @return LogResponse
GetLogByIdExecute(r ApiGetLogByIdRequest) (*LogResponse, *http.Response, error)
/*
GetLogs Get List Of Logs
Get log details in the form of a list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetLogsRequest
*/
GetLogs(ctx context.Context) ApiGetLogsRequest
// GetLogsExecute executes the request
// @return LogsResponse
GetLogsExecute(r ApiGetLogsRequest) (*LogsResponse, *http.Response, error)
}
type LogsAPIService ¶
type LogsAPIService service
LogsAPIService LogsAPI service
func (*LogsAPIService) GetLogById ¶
func (a *LogsAPIService) GetLogById(ctx context.Context, id string) ApiGetLogByIdRequest
GetLogById Get Log
Get the details of a specific log
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetLogByIdRequest
func (*LogsAPIService) GetLogByIdExecute ¶
func (a *LogsAPIService) GetLogByIdExecute(r ApiGetLogByIdRequest) (*LogResponse, *http.Response, error)
Execute executes the request
@return LogResponse
func (*LogsAPIService) GetLogs ¶
func (a *LogsAPIService) GetLogs(ctx context.Context) ApiGetLogsRequest
GetLogs Get List Of Logs
Get log details in the form of a list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLogsRequest
func (*LogsAPIService) GetLogsExecute ¶
func (a *LogsAPIService) GetLogsExecute(r ApiGetLogsRequest) (*LogsResponse, *http.Response, error)
Execute executes the request
@return LogsResponse
type LogsResponse ¶
type LogsResponse struct {
// True, if there are more pages.
HasMore *bool `json:"has_more,omitempty"`
// The object type
Object *string `json:"object,omitempty"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
// set to page results.
Data []LogsResponseData `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
LogsResponse logs model
func NewLogsResponse ¶
func NewLogsResponse() *LogsResponse
NewLogsResponse instantiates a new LogsResponse 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 NewLogsResponseWithDefaults ¶
func NewLogsResponseWithDefaults() *LogsResponse
NewLogsResponseWithDefaults instantiates a new LogsResponse 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 (*LogsResponse) GetData ¶
func (o *LogsResponse) GetData() []LogsResponseData
GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogsResponse) GetDataOk ¶
func (o *LogsResponse) GetDataOk() ([]LogsResponseData, bool)
GetDataOk returns a tuple with the Data 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 (*LogsResponse) GetHasMore ¶
func (o *LogsResponse) GetHasMore() bool
GetHasMore returns the HasMore field value if set, zero value otherwise.
func (*LogsResponse) GetHasMoreOk ¶
func (o *LogsResponse) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponse) GetNextPageUrl ¶
func (o *LogsResponse) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogsResponse) GetNextPageUrlOk ¶
func (o *LogsResponse) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*LogsResponse) GetObject ¶
func (o *LogsResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*LogsResponse) GetObjectOk ¶
func (o *LogsResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponse) GetPreviousPageUrl ¶
func (o *LogsResponse) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogsResponse) GetPreviousPageUrlOk ¶
func (o *LogsResponse) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*LogsResponse) HasData ¶
func (o *LogsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*LogsResponse) HasHasMore ¶
func (o *LogsResponse) HasHasMore() bool
HasHasMore returns a boolean if a field has been set.
func (*LogsResponse) HasNextPageUrl ¶
func (o *LogsResponse) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*LogsResponse) HasObject ¶
func (o *LogsResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*LogsResponse) HasPreviousPageUrl ¶
func (o *LogsResponse) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (LogsResponse) MarshalJSON ¶
func (o LogsResponse) MarshalJSON() ([]byte, error)
func (*LogsResponse) SetData ¶
func (o *LogsResponse) SetData(v []LogsResponseData)
SetData gets a reference to the given []LogsResponseData and assigns it to the Data field.
func (*LogsResponse) SetHasMore ¶
func (o *LogsResponse) SetHasMore(v bool)
SetHasMore gets a reference to the given bool and assigns it to the HasMore field.
func (*LogsResponse) SetNextPageUrl ¶
func (o *LogsResponse) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*LogsResponse) SetNextPageUrlNil ¶
func (o *LogsResponse) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*LogsResponse) SetObject ¶
func (o *LogsResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*LogsResponse) SetPreviousPageUrl ¶
func (o *LogsResponse) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*LogsResponse) SetPreviousPageUrlNil ¶
func (o *LogsResponse) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (LogsResponse) ToMap ¶
func (o LogsResponse) ToMap() (map[string]interface{}, error)
func (*LogsResponse) UnmarshalJSON ¶
func (o *LogsResponse) UnmarshalJSON(data []byte) (err error)
func (*LogsResponse) UnsetNextPageUrl ¶
func (o *LogsResponse) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*LogsResponse) UnsetPreviousPageUrl ¶
func (o *LogsResponse) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type LogsResponseData ¶
type LogsResponseData struct {
CreatedAt *int64 `json:"created_at,omitempty"`
Id *string `json:"id,omitempty"`
IpAddress *string `json:"ip_address,omitempty"`
Livemode *bool `json:"livemode,omitempty"`
LoggableId NullableString `json:"loggable_id,omitempty"`
LoggableType NullableString `json:"loggable_type,omitempty"`
Method *string `json:"method,omitempty"`
OauthTokenId NullableString `json:"oauth_token_id,omitempty"`
QueryString map[string]interface{} `json:"query_string,omitempty"`
Related *string `json:"related,omitempty"`
RequestBody map[string]interface{} `json:"request_body,omitempty"`
RequestHeaders *map[string]string `json:"request_headers,omitempty"`
ResponseBody map[string]interface{} `json:"response_body,omitempty"`
ResponseHeaders *map[string]string `json:"response_headers,omitempty"`
SearchableTags []string `json:"searchable_tags,omitempty"`
Status *string `json:"status,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Url *string `json:"url,omitempty"`
UserAccountId *string `json:"user_account_id,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{}
}
LogsResponseData struct for LogsResponseData
func NewLogsResponseData ¶
func NewLogsResponseData() *LogsResponseData
NewLogsResponseData instantiates a new LogsResponseData 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 NewLogsResponseDataWithDefaults ¶
func NewLogsResponseDataWithDefaults() *LogsResponseData
NewLogsResponseDataWithDefaults instantiates a new LogsResponseData 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 (*LogsResponseData) GetCreatedAt ¶
func (o *LogsResponseData) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*LogsResponseData) GetCreatedAtOk ¶
func (o *LogsResponseData) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetId ¶
func (o *LogsResponseData) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*LogsResponseData) GetIdOk ¶
func (o *LogsResponseData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetIpAddress ¶
func (o *LogsResponseData) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*LogsResponseData) GetIpAddressOk ¶
func (o *LogsResponseData) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetLivemode ¶
func (o *LogsResponseData) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*LogsResponseData) GetLivemodeOk ¶
func (o *LogsResponseData) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetLoggableId ¶
func (o *LogsResponseData) GetLoggableId() string
GetLoggableId returns the LoggableId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogsResponseData) GetLoggableIdOk ¶
func (o *LogsResponseData) GetLoggableIdOk() (*string, bool)
GetLoggableIdOk returns a tuple with the LoggableId 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 (*LogsResponseData) GetLoggableType ¶
func (o *LogsResponseData) GetLoggableType() string
GetLoggableType returns the LoggableType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogsResponseData) GetLoggableTypeOk ¶
func (o *LogsResponseData) GetLoggableTypeOk() (*string, bool)
GetLoggableTypeOk returns a tuple with the LoggableType 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 (*LogsResponseData) GetMethod ¶
func (o *LogsResponseData) GetMethod() string
GetMethod returns the Method field value if set, zero value otherwise.
func (*LogsResponseData) GetMethodOk ¶
func (o *LogsResponseData) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetOauthTokenId ¶
func (o *LogsResponseData) GetOauthTokenId() string
GetOauthTokenId returns the OauthTokenId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogsResponseData) GetOauthTokenIdOk ¶
func (o *LogsResponseData) GetOauthTokenIdOk() (*string, bool)
GetOauthTokenIdOk returns a tuple with the OauthTokenId 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 (*LogsResponseData) GetQueryString ¶
func (o *LogsResponseData) GetQueryString() map[string]interface{}
GetQueryString returns the QueryString field value if set, zero value otherwise.
func (*LogsResponseData) GetQueryStringOk ¶
func (o *LogsResponseData) GetQueryStringOk() (map[string]interface{}, bool)
GetQueryStringOk returns a tuple with the QueryString field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetRelated ¶
func (o *LogsResponseData) GetRelated() string
GetRelated returns the Related field value if set, zero value otherwise.
func (*LogsResponseData) GetRelatedOk ¶
func (o *LogsResponseData) GetRelatedOk() (*string, bool)
GetRelatedOk returns a tuple with the Related field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetRequestBody ¶
func (o *LogsResponseData) GetRequestBody() map[string]interface{}
GetRequestBody returns the RequestBody field value if set, zero value otherwise.
func (*LogsResponseData) GetRequestBodyOk ¶
func (o *LogsResponseData) GetRequestBodyOk() (map[string]interface{}, bool)
GetRequestBodyOk returns a tuple with the RequestBody field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetRequestHeaders ¶
func (o *LogsResponseData) GetRequestHeaders() map[string]string
GetRequestHeaders returns the RequestHeaders field value if set, zero value otherwise.
func (*LogsResponseData) GetRequestHeadersOk ¶
func (o *LogsResponseData) GetRequestHeadersOk() (*map[string]string, bool)
GetRequestHeadersOk returns a tuple with the RequestHeaders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetResponseBody ¶
func (o *LogsResponseData) GetResponseBody() map[string]interface{}
GetResponseBody returns the ResponseBody field value if set, zero value otherwise.
func (*LogsResponseData) GetResponseBodyOk ¶
func (o *LogsResponseData) GetResponseBodyOk() (map[string]interface{}, bool)
GetResponseBodyOk returns a tuple with the ResponseBody field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetResponseHeaders ¶
func (o *LogsResponseData) GetResponseHeaders() map[string]string
GetResponseHeaders returns the ResponseHeaders field value if set, zero value otherwise.
func (*LogsResponseData) GetResponseHeadersOk ¶
func (o *LogsResponseData) GetResponseHeadersOk() (*map[string]string, bool)
GetResponseHeadersOk returns a tuple with the ResponseHeaders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetSearchableTags ¶
func (o *LogsResponseData) GetSearchableTags() []string
GetSearchableTags returns the SearchableTags field value if set, zero value otherwise.
func (*LogsResponseData) GetSearchableTagsOk ¶
func (o *LogsResponseData) GetSearchableTagsOk() ([]string, bool)
GetSearchableTagsOk returns a tuple with the SearchableTags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetStatus ¶
func (o *LogsResponseData) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*LogsResponseData) GetStatusOk ¶
func (o *LogsResponseData) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetUpdatedAt ¶
func (o *LogsResponseData) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*LogsResponseData) GetUpdatedAtOk ¶
func (o *LogsResponseData) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetUrl ¶
func (o *LogsResponseData) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*LogsResponseData) GetUrlOk ¶
func (o *LogsResponseData) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetUserAccountId ¶
func (o *LogsResponseData) GetUserAccountId() string
GetUserAccountId returns the UserAccountId field value if set, zero value otherwise.
func (*LogsResponseData) GetUserAccountIdOk ¶
func (o *LogsResponseData) GetUserAccountIdOk() (*string, bool)
GetUserAccountIdOk returns a tuple with the UserAccountId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) GetVersion ¶
func (o *LogsResponseData) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*LogsResponseData) GetVersionOk ¶
func (o *LogsResponseData) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseData) HasCreatedAt ¶
func (o *LogsResponseData) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*LogsResponseData) HasId ¶
func (o *LogsResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*LogsResponseData) HasIpAddress ¶
func (o *LogsResponseData) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (*LogsResponseData) HasLivemode ¶
func (o *LogsResponseData) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*LogsResponseData) HasLoggableId ¶
func (o *LogsResponseData) HasLoggableId() bool
HasLoggableId returns a boolean if a field has been set.
func (*LogsResponseData) HasLoggableType ¶
func (o *LogsResponseData) HasLoggableType() bool
HasLoggableType returns a boolean if a field has been set.
func (*LogsResponseData) HasMethod ¶
func (o *LogsResponseData) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*LogsResponseData) HasOauthTokenId ¶
func (o *LogsResponseData) HasOauthTokenId() bool
HasOauthTokenId returns a boolean if a field has been set.
func (*LogsResponseData) HasQueryString ¶
func (o *LogsResponseData) HasQueryString() bool
HasQueryString returns a boolean if a field has been set.
func (*LogsResponseData) HasRelated ¶
func (o *LogsResponseData) HasRelated() bool
HasRelated returns a boolean if a field has been set.
func (*LogsResponseData) HasRequestBody ¶
func (o *LogsResponseData) HasRequestBody() bool
HasRequestBody returns a boolean if a field has been set.
func (*LogsResponseData) HasRequestHeaders ¶
func (o *LogsResponseData) HasRequestHeaders() bool
HasRequestHeaders returns a boolean if a field has been set.
func (*LogsResponseData) HasResponseBody ¶
func (o *LogsResponseData) HasResponseBody() bool
HasResponseBody returns a boolean if a field has been set.
func (*LogsResponseData) HasResponseHeaders ¶
func (o *LogsResponseData) HasResponseHeaders() bool
HasResponseHeaders returns a boolean if a field has been set.
func (*LogsResponseData) HasSearchableTags ¶
func (o *LogsResponseData) HasSearchableTags() bool
HasSearchableTags returns a boolean if a field has been set.
func (*LogsResponseData) HasStatus ¶
func (o *LogsResponseData) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*LogsResponseData) HasUpdatedAt ¶
func (o *LogsResponseData) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*LogsResponseData) HasUrl ¶
func (o *LogsResponseData) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*LogsResponseData) HasUserAccountId ¶
func (o *LogsResponseData) HasUserAccountId() bool
HasUserAccountId returns a boolean if a field has been set.
func (*LogsResponseData) HasVersion ¶
func (o *LogsResponseData) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (LogsResponseData) MarshalJSON ¶
func (o LogsResponseData) MarshalJSON() ([]byte, error)
func (*LogsResponseData) SetCreatedAt ¶
func (o *LogsResponseData) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*LogsResponseData) SetId ¶
func (o *LogsResponseData) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*LogsResponseData) SetIpAddress ¶
func (o *LogsResponseData) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*LogsResponseData) SetLivemode ¶
func (o *LogsResponseData) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*LogsResponseData) SetLoggableId ¶
func (o *LogsResponseData) SetLoggableId(v string)
SetLoggableId gets a reference to the given NullableString and assigns it to the LoggableId field.
func (*LogsResponseData) SetLoggableIdNil ¶
func (o *LogsResponseData) SetLoggableIdNil()
SetLoggableIdNil sets the value for LoggableId to be an explicit nil
func (*LogsResponseData) SetLoggableType ¶
func (o *LogsResponseData) SetLoggableType(v string)
SetLoggableType gets a reference to the given NullableString and assigns it to the LoggableType field.
func (*LogsResponseData) SetLoggableTypeNil ¶
func (o *LogsResponseData) SetLoggableTypeNil()
SetLoggableTypeNil sets the value for LoggableType to be an explicit nil
func (*LogsResponseData) SetMethod ¶
func (o *LogsResponseData) SetMethod(v string)
SetMethod gets a reference to the given string and assigns it to the Method field.
func (*LogsResponseData) SetOauthTokenId ¶
func (o *LogsResponseData) SetOauthTokenId(v string)
SetOauthTokenId gets a reference to the given NullableString and assigns it to the OauthTokenId field.
func (*LogsResponseData) SetOauthTokenIdNil ¶
func (o *LogsResponseData) SetOauthTokenIdNil()
SetOauthTokenIdNil sets the value for OauthTokenId to be an explicit nil
func (*LogsResponseData) SetQueryString ¶
func (o *LogsResponseData) SetQueryString(v map[string]interface{})
SetQueryString gets a reference to the given map[string]interface{} and assigns it to the QueryString field.
func (*LogsResponseData) SetRelated ¶
func (o *LogsResponseData) SetRelated(v string)
SetRelated gets a reference to the given string and assigns it to the Related field.
func (*LogsResponseData) SetRequestBody ¶
func (o *LogsResponseData) SetRequestBody(v map[string]interface{})
SetRequestBody gets a reference to the given map[string]interface{} and assigns it to the RequestBody field.
func (*LogsResponseData) SetRequestHeaders ¶
func (o *LogsResponseData) SetRequestHeaders(v map[string]string)
SetRequestHeaders gets a reference to the given map[string]string and assigns it to the RequestHeaders field.
func (*LogsResponseData) SetResponseBody ¶
func (o *LogsResponseData) SetResponseBody(v map[string]interface{})
SetResponseBody gets a reference to the given map[string]interface{} and assigns it to the ResponseBody field.
func (*LogsResponseData) SetResponseHeaders ¶
func (o *LogsResponseData) SetResponseHeaders(v map[string]string)
SetResponseHeaders gets a reference to the given map[string]string and assigns it to the ResponseHeaders field.
func (*LogsResponseData) SetSearchableTags ¶
func (o *LogsResponseData) SetSearchableTags(v []string)
SetSearchableTags gets a reference to the given []string and assigns it to the SearchableTags field.
func (*LogsResponseData) SetStatus ¶
func (o *LogsResponseData) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*LogsResponseData) SetUpdatedAt ¶
func (o *LogsResponseData) SetUpdatedAt(v string)
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
func (*LogsResponseData) SetUrl ¶
func (o *LogsResponseData) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*LogsResponseData) SetUserAccountId ¶
func (o *LogsResponseData) SetUserAccountId(v string)
SetUserAccountId gets a reference to the given string and assigns it to the UserAccountId field.
func (*LogsResponseData) SetVersion ¶
func (o *LogsResponseData) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (LogsResponseData) ToMap ¶
func (o LogsResponseData) ToMap() (map[string]interface{}, error)
func (*LogsResponseData) UnmarshalJSON ¶
func (o *LogsResponseData) UnmarshalJSON(data []byte) (err error)
func (*LogsResponseData) UnsetLoggableId ¶
func (o *LogsResponseData) UnsetLoggableId()
UnsetLoggableId ensures that no value is present for LoggableId, not even an explicit nil
func (*LogsResponseData) UnsetLoggableType ¶
func (o *LogsResponseData) UnsetLoggableType()
UnsetLoggableType ensures that no value is present for LoggableType, not even an explicit nil
func (*LogsResponseData) UnsetOauthTokenId ¶
func (o *LogsResponseData) UnsetOauthTokenId()
UnsetOauthTokenId ensures that no value is present for OauthTokenId, not even an explicit nil
type MappedNullable ¶
type ModelError ¶
type ModelError struct {
Details []DetailsError `json:"details,omitempty"`
// log id
LogId NullableString `json:"log_id,omitempty"`
Type *string `json:"type,omitempty"`
Object *string `json:"object,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelError err model
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) GetDetails ¶
func (o *ModelError) GetDetails() []DetailsError
GetDetails returns the Details field value if set, zero value otherwise.
func (*ModelError) GetDetailsOk ¶
func (o *ModelError) GetDetailsOk() ([]DetailsError, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) GetLogId ¶
func (o *ModelError) GetLogId() string
GetLogId returns the LogId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ModelError) GetLogIdOk ¶
func (o *ModelError) GetLogIdOk() (*string, bool)
GetLogIdOk returns a tuple with the LogId 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 (*ModelError) GetObject ¶
func (o *ModelError) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ModelError) GetObjectOk ¶
func (o *ModelError) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) GetType ¶
func (o *ModelError) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ModelError) GetTypeOk ¶
func (o *ModelError) 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 (*ModelError) HasDetails ¶
func (o *ModelError) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (*ModelError) HasLogId ¶
func (o *ModelError) HasLogId() bool
HasLogId returns a boolean if a field has been set.
func (*ModelError) HasObject ¶
func (o *ModelError) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ModelError) HasType ¶
func (o *ModelError) HasType() bool
HasType returns a boolean if a field has been set.
func (ModelError) MarshalJSON ¶
func (o ModelError) MarshalJSON() ([]byte, error)
func (*ModelError) SetDetails ¶
func (o *ModelError) SetDetails(v []DetailsError)
SetDetails gets a reference to the given []DetailsError and assigns it to the Details field.
func (*ModelError) SetLogId ¶
func (o *ModelError) SetLogId(v string)
SetLogId gets a reference to the given NullableString and assigns it to the LogId field.
func (*ModelError) SetLogIdNil ¶
func (o *ModelError) SetLogIdNil()
SetLogIdNil sets the value for LogId to be an explicit nil
func (*ModelError) SetObject ¶
func (o *ModelError) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ModelError) SetType ¶
func (o *ModelError) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ModelError) ToMap ¶
func (o ModelError) ToMap() (map[string]interface{}, error)
func (*ModelError) UnmarshalJSON ¶
func (o *ModelError) UnmarshalJSON(data []byte) (err error)
func (*ModelError) UnsetLogId ¶
func (o *ModelError) UnsetLogId()
UnsetLogId ensures that no value is present for LogId, not even an explicit nil
type NullableApiKeyCreateResponse ¶
type NullableApiKeyCreateResponse struct {
// contains filtered or unexported fields
}
func NewNullableApiKeyCreateResponse ¶
func NewNullableApiKeyCreateResponse(val *ApiKeyCreateResponse) *NullableApiKeyCreateResponse
func (NullableApiKeyCreateResponse) Get ¶
func (v NullableApiKeyCreateResponse) Get() *ApiKeyCreateResponse
func (NullableApiKeyCreateResponse) IsSet ¶
func (v NullableApiKeyCreateResponse) IsSet() bool
func (NullableApiKeyCreateResponse) MarshalJSON ¶
func (v NullableApiKeyCreateResponse) MarshalJSON() ([]byte, error)
func (*NullableApiKeyCreateResponse) Set ¶
func (v *NullableApiKeyCreateResponse) Set(val *ApiKeyCreateResponse)
func (*NullableApiKeyCreateResponse) UnmarshalJSON ¶
func (v *NullableApiKeyCreateResponse) UnmarshalJSON(src []byte) error
func (*NullableApiKeyCreateResponse) Unset ¶
func (v *NullableApiKeyCreateResponse) Unset()
type NullableApiKeyRequest ¶
type NullableApiKeyRequest struct {
// contains filtered or unexported fields
}
func NewNullableApiKeyRequest ¶
func NewNullableApiKeyRequest(val *ApiKeyRequest) *NullableApiKeyRequest
func (NullableApiKeyRequest) Get ¶
func (v NullableApiKeyRequest) Get() *ApiKeyRequest
func (NullableApiKeyRequest) IsSet ¶
func (v NullableApiKeyRequest) IsSet() bool
func (NullableApiKeyRequest) MarshalJSON ¶
func (v NullableApiKeyRequest) MarshalJSON() ([]byte, error)
func (*NullableApiKeyRequest) Set ¶
func (v *NullableApiKeyRequest) Set(val *ApiKeyRequest)
func (*NullableApiKeyRequest) UnmarshalJSON ¶
func (v *NullableApiKeyRequest) UnmarshalJSON(src []byte) error
func (*NullableApiKeyRequest) Unset ¶
func (v *NullableApiKeyRequest) Unset()
type NullableApiKeyResponse ¶
type NullableApiKeyResponse struct {
// contains filtered or unexported fields
}
func NewNullableApiKeyResponse ¶
func NewNullableApiKeyResponse(val *ApiKeyResponse) *NullableApiKeyResponse
func (NullableApiKeyResponse) Get ¶
func (v NullableApiKeyResponse) Get() *ApiKeyResponse
func (NullableApiKeyResponse) IsSet ¶
func (v NullableApiKeyResponse) IsSet() bool
func (NullableApiKeyResponse) MarshalJSON ¶
func (v NullableApiKeyResponse) MarshalJSON() ([]byte, error)
func (*NullableApiKeyResponse) Set ¶
func (v *NullableApiKeyResponse) Set(val *ApiKeyResponse)
func (*NullableApiKeyResponse) UnmarshalJSON ¶
func (v *NullableApiKeyResponse) UnmarshalJSON(src []byte) error
func (*NullableApiKeyResponse) Unset ¶
func (v *NullableApiKeyResponse) Unset()
type NullableApiKeyResponseOnDelete ¶
type NullableApiKeyResponseOnDelete struct {
// contains filtered or unexported fields
}
func NewNullableApiKeyResponseOnDelete ¶
func NewNullableApiKeyResponseOnDelete(val *ApiKeyResponseOnDelete) *NullableApiKeyResponseOnDelete
func (NullableApiKeyResponseOnDelete) Get ¶
func (v NullableApiKeyResponseOnDelete) Get() *ApiKeyResponseOnDelete
func (NullableApiKeyResponseOnDelete) IsSet ¶
func (v NullableApiKeyResponseOnDelete) IsSet() bool
func (NullableApiKeyResponseOnDelete) MarshalJSON ¶
func (v NullableApiKeyResponseOnDelete) MarshalJSON() ([]byte, error)
func (*NullableApiKeyResponseOnDelete) Set ¶
func (v *NullableApiKeyResponseOnDelete) Set(val *ApiKeyResponseOnDelete)
func (*NullableApiKeyResponseOnDelete) UnmarshalJSON ¶
func (v *NullableApiKeyResponseOnDelete) UnmarshalJSON(src []byte) error
func (*NullableApiKeyResponseOnDelete) Unset ¶
func (v *NullableApiKeyResponseOnDelete) Unset()
type NullableApiKeyUpdateRequest ¶
type NullableApiKeyUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableApiKeyUpdateRequest ¶
func NewNullableApiKeyUpdateRequest(val *ApiKeyUpdateRequest) *NullableApiKeyUpdateRequest
func (NullableApiKeyUpdateRequest) Get ¶
func (v NullableApiKeyUpdateRequest) Get() *ApiKeyUpdateRequest
func (NullableApiKeyUpdateRequest) IsSet ¶
func (v NullableApiKeyUpdateRequest) IsSet() bool
func (NullableApiKeyUpdateRequest) MarshalJSON ¶
func (v NullableApiKeyUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableApiKeyUpdateRequest) Set ¶
func (v *NullableApiKeyUpdateRequest) Set(val *ApiKeyUpdateRequest)
func (*NullableApiKeyUpdateRequest) UnmarshalJSON ¶
func (v *NullableApiKeyUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableApiKeyUpdateRequest) Unset ¶
func (v *NullableApiKeyUpdateRequest) Unset()
type NullableBalanceCommonField ¶
type NullableBalanceCommonField struct {
// contains filtered or unexported fields
}
func NewNullableBalanceCommonField ¶
func NewNullableBalanceCommonField(val *BalanceCommonField) *NullableBalanceCommonField
func (NullableBalanceCommonField) Get ¶
func (v NullableBalanceCommonField) Get() *BalanceCommonField
func (NullableBalanceCommonField) IsSet ¶
func (v NullableBalanceCommonField) IsSet() bool
func (NullableBalanceCommonField) MarshalJSON ¶
func (v NullableBalanceCommonField) MarshalJSON() ([]byte, error)
func (*NullableBalanceCommonField) Set ¶
func (v *NullableBalanceCommonField) Set(val *BalanceCommonField)
func (*NullableBalanceCommonField) UnmarshalJSON ¶
func (v *NullableBalanceCommonField) UnmarshalJSON(src []byte) error
func (*NullableBalanceCommonField) Unset ¶
func (v *NullableBalanceCommonField) Unset()
type NullableBalanceResponse ¶
type NullableBalanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableBalanceResponse ¶
func NewNullableBalanceResponse(val *BalanceResponse) *NullableBalanceResponse
func (NullableBalanceResponse) Get ¶
func (v NullableBalanceResponse) Get() *BalanceResponse
func (NullableBalanceResponse) IsSet ¶
func (v NullableBalanceResponse) IsSet() bool
func (NullableBalanceResponse) MarshalJSON ¶
func (v NullableBalanceResponse) MarshalJSON() ([]byte, error)
func (*NullableBalanceResponse) Set ¶
func (v *NullableBalanceResponse) Set(val *BalanceResponse)
func (*NullableBalanceResponse) UnmarshalJSON ¶
func (v *NullableBalanceResponse) UnmarshalJSON(src []byte) error
func (*NullableBalanceResponse) Unset ¶
func (v *NullableBalanceResponse) Unset()
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 NullableChargeOrderResponse ¶
type NullableChargeOrderResponse struct {
// contains filtered or unexported fields
}
func NewNullableChargeOrderResponse ¶
func NewNullableChargeOrderResponse(val *ChargeOrderResponse) *NullableChargeOrderResponse
func (NullableChargeOrderResponse) Get ¶
func (v NullableChargeOrderResponse) Get() *ChargeOrderResponse
func (NullableChargeOrderResponse) IsSet ¶
func (v NullableChargeOrderResponse) IsSet() bool
func (NullableChargeOrderResponse) MarshalJSON ¶
func (v NullableChargeOrderResponse) MarshalJSON() ([]byte, error)
func (*NullableChargeOrderResponse) Set ¶
func (v *NullableChargeOrderResponse) Set(val *ChargeOrderResponse)
func (*NullableChargeOrderResponse) UnmarshalJSON ¶
func (v *NullableChargeOrderResponse) UnmarshalJSON(src []byte) error
func (*NullableChargeOrderResponse) Unset ¶
func (v *NullableChargeOrderResponse) Unset()
type NullableChargeOrderResponsePaymentMethod ¶
type NullableChargeOrderResponsePaymentMethod struct {
// contains filtered or unexported fields
}
func NewNullableChargeOrderResponsePaymentMethod ¶
func NewNullableChargeOrderResponsePaymentMethod(val *ChargeOrderResponsePaymentMethod) *NullableChargeOrderResponsePaymentMethod
func (NullableChargeOrderResponsePaymentMethod) IsSet ¶
func (v NullableChargeOrderResponsePaymentMethod) IsSet() bool
func (NullableChargeOrderResponsePaymentMethod) MarshalJSON ¶
func (v NullableChargeOrderResponsePaymentMethod) MarshalJSON() ([]byte, error)
func (*NullableChargeOrderResponsePaymentMethod) Set ¶
func (v *NullableChargeOrderResponsePaymentMethod) Set(val *ChargeOrderResponsePaymentMethod)
func (*NullableChargeOrderResponsePaymentMethod) UnmarshalJSON ¶
func (v *NullableChargeOrderResponsePaymentMethod) UnmarshalJSON(src []byte) error
func (*NullableChargeOrderResponsePaymentMethod) Unset ¶
func (v *NullableChargeOrderResponsePaymentMethod) Unset()
type NullableChargeRequest ¶
type NullableChargeRequest struct {
// contains filtered or unexported fields
}
func NewNullableChargeRequest ¶
func NewNullableChargeRequest(val *ChargeRequest) *NullableChargeRequest
func (NullableChargeRequest) Get ¶
func (v NullableChargeRequest) Get() *ChargeRequest
func (NullableChargeRequest) IsSet ¶
func (v NullableChargeRequest) IsSet() bool
func (NullableChargeRequest) MarshalJSON ¶
func (v NullableChargeRequest) MarshalJSON() ([]byte, error)
func (*NullableChargeRequest) Set ¶
func (v *NullableChargeRequest) Set(val *ChargeRequest)
func (*NullableChargeRequest) UnmarshalJSON ¶
func (v *NullableChargeRequest) UnmarshalJSON(src []byte) error
func (*NullableChargeRequest) Unset ¶
func (v *NullableChargeRequest) Unset()
type NullableChargeRequestPaymentMethod ¶
type NullableChargeRequestPaymentMethod struct {
// contains filtered or unexported fields
}
func NewNullableChargeRequestPaymentMethod ¶
func NewNullableChargeRequestPaymentMethod(val *ChargeRequestPaymentMethod) *NullableChargeRequestPaymentMethod
func (NullableChargeRequestPaymentMethod) Get ¶
func (v NullableChargeRequestPaymentMethod) Get() *ChargeRequestPaymentMethod
func (NullableChargeRequestPaymentMethod) IsSet ¶
func (v NullableChargeRequestPaymentMethod) IsSet() bool
func (NullableChargeRequestPaymentMethod) MarshalJSON ¶
func (v NullableChargeRequestPaymentMethod) MarshalJSON() ([]byte, error)
func (*NullableChargeRequestPaymentMethod) Set ¶
func (v *NullableChargeRequestPaymentMethod) Set(val *ChargeRequestPaymentMethod)
func (*NullableChargeRequestPaymentMethod) UnmarshalJSON ¶
func (v *NullableChargeRequestPaymentMethod) UnmarshalJSON(src []byte) error
func (*NullableChargeRequestPaymentMethod) Unset ¶
func (v *NullableChargeRequestPaymentMethod) Unset()
type NullableChargeResponse ¶
type NullableChargeResponse struct {
// contains filtered or unexported fields
}
func NewNullableChargeResponse ¶
func NewNullableChargeResponse(val *ChargeResponse) *NullableChargeResponse
func (NullableChargeResponse) Get ¶
func (v NullableChargeResponse) Get() *ChargeResponse
func (NullableChargeResponse) IsSet ¶
func (v NullableChargeResponse) IsSet() bool
func (NullableChargeResponse) MarshalJSON ¶
func (v NullableChargeResponse) MarshalJSON() ([]byte, error)
func (*NullableChargeResponse) Set ¶
func (v *NullableChargeResponse) Set(val *ChargeResponse)
func (*NullableChargeResponse) UnmarshalJSON ¶
func (v *NullableChargeResponse) UnmarshalJSON(src []byte) error
func (*NullableChargeResponse) Unset ¶
func (v *NullableChargeResponse) Unset()
type NullableChargeResponseChannel ¶
type NullableChargeResponseChannel struct {
// contains filtered or unexported fields
}
func NewNullableChargeResponseChannel ¶
func NewNullableChargeResponseChannel(val *ChargeResponseChannel) *NullableChargeResponseChannel
func (NullableChargeResponseChannel) Get ¶
func (v NullableChargeResponseChannel) Get() *ChargeResponseChannel
func (NullableChargeResponseChannel) IsSet ¶
func (v NullableChargeResponseChannel) IsSet() bool
func (NullableChargeResponseChannel) MarshalJSON ¶
func (v NullableChargeResponseChannel) MarshalJSON() ([]byte, error)
func (*NullableChargeResponseChannel) Set ¶
func (v *NullableChargeResponseChannel) Set(val *ChargeResponseChannel)
func (*NullableChargeResponseChannel) UnmarshalJSON ¶
func (v *NullableChargeResponseChannel) UnmarshalJSON(src []byte) error
func (*NullableChargeResponseChannel) Unset ¶
func (v *NullableChargeResponseChannel) Unset()
type NullableChargeResponsePaymentMethod ¶
type NullableChargeResponsePaymentMethod struct {
// contains filtered or unexported fields
}
func NewNullableChargeResponsePaymentMethod ¶
func NewNullableChargeResponsePaymentMethod(val *ChargeResponsePaymentMethod) *NullableChargeResponsePaymentMethod
func (NullableChargeResponsePaymentMethod) Get ¶
func (v NullableChargeResponsePaymentMethod) Get() *ChargeResponsePaymentMethod
func (NullableChargeResponsePaymentMethod) IsSet ¶
func (v NullableChargeResponsePaymentMethod) IsSet() bool
func (NullableChargeResponsePaymentMethod) MarshalJSON ¶
func (v NullableChargeResponsePaymentMethod) MarshalJSON() ([]byte, error)
func (*NullableChargeResponsePaymentMethod) Set ¶
func (v *NullableChargeResponsePaymentMethod) Set(val *ChargeResponsePaymentMethod)
func (*NullableChargeResponsePaymentMethod) UnmarshalJSON ¶
func (v *NullableChargeResponsePaymentMethod) UnmarshalJSON(src []byte) error
func (*NullableChargeResponsePaymentMethod) Unset ¶
func (v *NullableChargeResponsePaymentMethod) Unset()
type NullableChargeResponseRefunds ¶
type NullableChargeResponseRefunds struct {
// contains filtered or unexported fields
}
func NewNullableChargeResponseRefunds ¶
func NewNullableChargeResponseRefunds(val *ChargeResponseRefunds) *NullableChargeResponseRefunds
func (NullableChargeResponseRefunds) Get ¶
func (v NullableChargeResponseRefunds) Get() *ChargeResponseRefunds
func (NullableChargeResponseRefunds) IsSet ¶
func (v NullableChargeResponseRefunds) IsSet() bool
func (NullableChargeResponseRefunds) MarshalJSON ¶
func (v NullableChargeResponseRefunds) MarshalJSON() ([]byte, error)
func (*NullableChargeResponseRefunds) Set ¶
func (v *NullableChargeResponseRefunds) Set(val *ChargeResponseRefunds)
func (*NullableChargeResponseRefunds) UnmarshalJSON ¶
func (v *NullableChargeResponseRefunds) UnmarshalJSON(src []byte) error
func (*NullableChargeResponseRefunds) Unset ¶
func (v *NullableChargeResponseRefunds) Unset()
type NullableChargeResponseRefundsData ¶
type NullableChargeResponseRefundsData struct {
// contains filtered or unexported fields
}
func NewNullableChargeResponseRefundsData ¶
func NewNullableChargeResponseRefundsData(val *ChargeResponseRefundsData) *NullableChargeResponseRefundsData
func (NullableChargeResponseRefundsData) Get ¶
func (v NullableChargeResponseRefundsData) Get() *ChargeResponseRefundsData
func (NullableChargeResponseRefundsData) IsSet ¶
func (v NullableChargeResponseRefundsData) IsSet() bool
func (NullableChargeResponseRefundsData) MarshalJSON ¶
func (v NullableChargeResponseRefundsData) MarshalJSON() ([]byte, error)
func (*NullableChargeResponseRefundsData) Set ¶
func (v *NullableChargeResponseRefundsData) Set(val *ChargeResponseRefundsData)
func (*NullableChargeResponseRefundsData) UnmarshalJSON ¶
func (v *NullableChargeResponseRefundsData) UnmarshalJSON(src []byte) error
func (*NullableChargeResponseRefundsData) Unset ¶
func (v *NullableChargeResponseRefundsData) Unset()
type NullableChargeUpdateRequest ¶
type NullableChargeUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableChargeUpdateRequest ¶
func NewNullableChargeUpdateRequest(val *ChargeUpdateRequest) *NullableChargeUpdateRequest
func (NullableChargeUpdateRequest) Get ¶
func (v NullableChargeUpdateRequest) Get() *ChargeUpdateRequest
func (NullableChargeUpdateRequest) IsSet ¶
func (v NullableChargeUpdateRequest) IsSet() bool
func (NullableChargeUpdateRequest) MarshalJSON ¶
func (v NullableChargeUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableChargeUpdateRequest) Set ¶
func (v *NullableChargeUpdateRequest) Set(val *ChargeUpdateRequest)
func (*NullableChargeUpdateRequest) UnmarshalJSON ¶
func (v *NullableChargeUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableChargeUpdateRequest) Unset ¶
func (v *NullableChargeUpdateRequest) Unset()
type NullableChargesDataResponse ¶
type NullableChargesDataResponse struct {
// contains filtered or unexported fields
}
func NewNullableChargesDataResponse ¶
func NewNullableChargesDataResponse(val *ChargesDataResponse) *NullableChargesDataResponse
func (NullableChargesDataResponse) Get ¶
func (v NullableChargesDataResponse) Get() *ChargesDataResponse
func (NullableChargesDataResponse) IsSet ¶
func (v NullableChargesDataResponse) IsSet() bool
func (NullableChargesDataResponse) MarshalJSON ¶
func (v NullableChargesDataResponse) MarshalJSON() ([]byte, error)
func (*NullableChargesDataResponse) Set ¶
func (v *NullableChargesDataResponse) Set(val *ChargesDataResponse)
func (*NullableChargesDataResponse) UnmarshalJSON ¶
func (v *NullableChargesDataResponse) UnmarshalJSON(src []byte) error
func (*NullableChargesDataResponse) Unset ¶
func (v *NullableChargesDataResponse) Unset()
type NullableCheckout ¶
type NullableCheckout struct {
// contains filtered or unexported fields
}
func NewNullableCheckout ¶
func NewNullableCheckout(val *Checkout) *NullableCheckout
func (NullableCheckout) Get ¶
func (v NullableCheckout) Get() *Checkout
func (NullableCheckout) IsSet ¶
func (v NullableCheckout) IsSet() bool
func (NullableCheckout) MarshalJSON ¶
func (v NullableCheckout) MarshalJSON() ([]byte, error)
func (*NullableCheckout) Set ¶
func (v *NullableCheckout) Set(val *Checkout)
func (*NullableCheckout) UnmarshalJSON ¶
func (v *NullableCheckout) UnmarshalJSON(src []byte) error
func (*NullableCheckout) Unset ¶
func (v *NullableCheckout) Unset()
type NullableCheckoutOrderTemplate ¶
type NullableCheckoutOrderTemplate struct {
// contains filtered or unexported fields
}
func NewNullableCheckoutOrderTemplate ¶
func NewNullableCheckoutOrderTemplate(val *CheckoutOrderTemplate) *NullableCheckoutOrderTemplate
func (NullableCheckoutOrderTemplate) Get ¶
func (v NullableCheckoutOrderTemplate) Get() *CheckoutOrderTemplate
func (NullableCheckoutOrderTemplate) IsSet ¶
func (v NullableCheckoutOrderTemplate) IsSet() bool
func (NullableCheckoutOrderTemplate) MarshalJSON ¶
func (v NullableCheckoutOrderTemplate) MarshalJSON() ([]byte, error)
func (*NullableCheckoutOrderTemplate) Set ¶
func (v *NullableCheckoutOrderTemplate) Set(val *CheckoutOrderTemplate)
func (*NullableCheckoutOrderTemplate) UnmarshalJSON ¶
func (v *NullableCheckoutOrderTemplate) UnmarshalJSON(src []byte) error
func (*NullableCheckoutOrderTemplate) Unset ¶
func (v *NullableCheckoutOrderTemplate) Unset()
type NullableCheckoutOrderTemplateCustomerInfo ¶
type NullableCheckoutOrderTemplateCustomerInfo struct {
// contains filtered or unexported fields
}
func NewNullableCheckoutOrderTemplateCustomerInfo ¶
func NewNullableCheckoutOrderTemplateCustomerInfo(val *CheckoutOrderTemplateCustomerInfo) *NullableCheckoutOrderTemplateCustomerInfo
func (NullableCheckoutOrderTemplateCustomerInfo) IsSet ¶
func (v NullableCheckoutOrderTemplateCustomerInfo) IsSet() bool
func (NullableCheckoutOrderTemplateCustomerInfo) MarshalJSON ¶
func (v NullableCheckoutOrderTemplateCustomerInfo) MarshalJSON() ([]byte, error)
func (*NullableCheckoutOrderTemplateCustomerInfo) Set ¶
func (v *NullableCheckoutOrderTemplateCustomerInfo) Set(val *CheckoutOrderTemplateCustomerInfo)
func (*NullableCheckoutOrderTemplateCustomerInfo) UnmarshalJSON ¶
func (v *NullableCheckoutOrderTemplateCustomerInfo) UnmarshalJSON(src []byte) error
func (*NullableCheckoutOrderTemplateCustomerInfo) Unset ¶
func (v *NullableCheckoutOrderTemplateCustomerInfo) Unset()
type NullableCheckoutRequest ¶
type NullableCheckoutRequest struct {
// contains filtered or unexported fields
}
func NewNullableCheckoutRequest ¶
func NewNullableCheckoutRequest(val *CheckoutRequest) *NullableCheckoutRequest
func (NullableCheckoutRequest) Get ¶
func (v NullableCheckoutRequest) Get() *CheckoutRequest
func (NullableCheckoutRequest) IsSet ¶
func (v NullableCheckoutRequest) IsSet() bool
func (NullableCheckoutRequest) MarshalJSON ¶
func (v NullableCheckoutRequest) MarshalJSON() ([]byte, error)
func (*NullableCheckoutRequest) Set ¶
func (v *NullableCheckoutRequest) Set(val *CheckoutRequest)
func (*NullableCheckoutRequest) UnmarshalJSON ¶
func (v *NullableCheckoutRequest) UnmarshalJSON(src []byte) error
func (*NullableCheckoutRequest) Unset ¶
func (v *NullableCheckoutRequest) Unset()
type NullableCheckoutResponse ¶
type NullableCheckoutResponse struct {
// contains filtered or unexported fields
}
func NewNullableCheckoutResponse ¶
func NewNullableCheckoutResponse(val *CheckoutResponse) *NullableCheckoutResponse
func (NullableCheckoutResponse) Get ¶
func (v NullableCheckoutResponse) Get() *CheckoutResponse
func (NullableCheckoutResponse) IsSet ¶
func (v NullableCheckoutResponse) IsSet() bool
func (NullableCheckoutResponse) MarshalJSON ¶
func (v NullableCheckoutResponse) MarshalJSON() ([]byte, error)
func (*NullableCheckoutResponse) Set ¶
func (v *NullableCheckoutResponse) Set(val *CheckoutResponse)
func (*NullableCheckoutResponse) UnmarshalJSON ¶
func (v *NullableCheckoutResponse) UnmarshalJSON(src []byte) error
func (*NullableCheckoutResponse) Unset ¶
func (v *NullableCheckoutResponse) Unset()
type NullableCheckoutsResponse ¶
type NullableCheckoutsResponse struct {
// contains filtered or unexported fields
}
func NewNullableCheckoutsResponse ¶
func NewNullableCheckoutsResponse(val *CheckoutsResponse) *NullableCheckoutsResponse
func (NullableCheckoutsResponse) Get ¶
func (v NullableCheckoutsResponse) Get() *CheckoutsResponse
func (NullableCheckoutsResponse) IsSet ¶
func (v NullableCheckoutsResponse) IsSet() bool
func (NullableCheckoutsResponse) MarshalJSON ¶
func (v NullableCheckoutsResponse) MarshalJSON() ([]byte, error)
func (*NullableCheckoutsResponse) Set ¶
func (v *NullableCheckoutsResponse) Set(val *CheckoutsResponse)
func (*NullableCheckoutsResponse) UnmarshalJSON ¶
func (v *NullableCheckoutsResponse) UnmarshalJSON(src []byte) error
func (*NullableCheckoutsResponse) Unset ¶
func (v *NullableCheckoutsResponse) Unset()
type NullableCompanyFiscalInfoAddressResponse ¶
type NullableCompanyFiscalInfoAddressResponse struct {
// contains filtered or unexported fields
}
func NewNullableCompanyFiscalInfoAddressResponse ¶
func NewNullableCompanyFiscalInfoAddressResponse(val *CompanyFiscalInfoAddressResponse) *NullableCompanyFiscalInfoAddressResponse
func (NullableCompanyFiscalInfoAddressResponse) IsSet ¶
func (v NullableCompanyFiscalInfoAddressResponse) IsSet() bool
func (NullableCompanyFiscalInfoAddressResponse) MarshalJSON ¶
func (v NullableCompanyFiscalInfoAddressResponse) MarshalJSON() ([]byte, error)
func (*NullableCompanyFiscalInfoAddressResponse) Set ¶
func (v *NullableCompanyFiscalInfoAddressResponse) Set(val *CompanyFiscalInfoAddressResponse)
func (*NullableCompanyFiscalInfoAddressResponse) UnmarshalJSON ¶
func (v *NullableCompanyFiscalInfoAddressResponse) UnmarshalJSON(src []byte) error
func (*NullableCompanyFiscalInfoAddressResponse) Unset ¶
func (v *NullableCompanyFiscalInfoAddressResponse) Unset()
type NullableCompanyFiscalInfoResponse ¶
type NullableCompanyFiscalInfoResponse struct {
// contains filtered or unexported fields
}
func NewNullableCompanyFiscalInfoResponse ¶
func NewNullableCompanyFiscalInfoResponse(val *CompanyFiscalInfoResponse) *NullableCompanyFiscalInfoResponse
func (NullableCompanyFiscalInfoResponse) Get ¶
func (v NullableCompanyFiscalInfoResponse) Get() *CompanyFiscalInfoResponse
func (NullableCompanyFiscalInfoResponse) IsSet ¶
func (v NullableCompanyFiscalInfoResponse) IsSet() bool
func (NullableCompanyFiscalInfoResponse) MarshalJSON ¶
func (v NullableCompanyFiscalInfoResponse) MarshalJSON() ([]byte, error)
func (*NullableCompanyFiscalInfoResponse) Set ¶
func (v *NullableCompanyFiscalInfoResponse) Set(val *CompanyFiscalInfoResponse)
func (*NullableCompanyFiscalInfoResponse) UnmarshalJSON ¶
func (v *NullableCompanyFiscalInfoResponse) UnmarshalJSON(src []byte) error
func (*NullableCompanyFiscalInfoResponse) Unset ¶
func (v *NullableCompanyFiscalInfoResponse) Unset()
type NullableCompanyPayoutDestinationResponse ¶
type NullableCompanyPayoutDestinationResponse struct {
// contains filtered or unexported fields
}
func NewNullableCompanyPayoutDestinationResponse ¶
func NewNullableCompanyPayoutDestinationResponse(val *CompanyPayoutDestinationResponse) *NullableCompanyPayoutDestinationResponse
func (NullableCompanyPayoutDestinationResponse) IsSet ¶
func (v NullableCompanyPayoutDestinationResponse) IsSet() bool
func (NullableCompanyPayoutDestinationResponse) MarshalJSON ¶
func (v NullableCompanyPayoutDestinationResponse) MarshalJSON() ([]byte, error)
func (*NullableCompanyPayoutDestinationResponse) Set ¶
func (v *NullableCompanyPayoutDestinationResponse) Set(val *CompanyPayoutDestinationResponse)
func (*NullableCompanyPayoutDestinationResponse) UnmarshalJSON ¶
func (v *NullableCompanyPayoutDestinationResponse) UnmarshalJSON(src []byte) error
func (*NullableCompanyPayoutDestinationResponse) Unset ¶
func (v *NullableCompanyPayoutDestinationResponse) Unset()
type NullableCompanyResponse ¶
type NullableCompanyResponse struct {
// contains filtered or unexported fields
}
func NewNullableCompanyResponse ¶
func NewNullableCompanyResponse(val *CompanyResponse) *NullableCompanyResponse
func (NullableCompanyResponse) Get ¶
func (v NullableCompanyResponse) Get() *CompanyResponse
func (NullableCompanyResponse) IsSet ¶
func (v NullableCompanyResponse) IsSet() bool
func (NullableCompanyResponse) MarshalJSON ¶
func (v NullableCompanyResponse) MarshalJSON() ([]byte, error)
func (*NullableCompanyResponse) Set ¶
func (v *NullableCompanyResponse) Set(val *CompanyResponse)
func (*NullableCompanyResponse) UnmarshalJSON ¶
func (v *NullableCompanyResponse) UnmarshalJSON(src []byte) error
func (*NullableCompanyResponse) Unset ¶
func (v *NullableCompanyResponse) Unset()
type NullableCreateCustomerFiscalEntitiesResponse ¶
type NullableCreateCustomerFiscalEntitiesResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateCustomerFiscalEntitiesResponse ¶
func NewNullableCreateCustomerFiscalEntitiesResponse(val *CreateCustomerFiscalEntitiesResponse) *NullableCreateCustomerFiscalEntitiesResponse
func (NullableCreateCustomerFiscalEntitiesResponse) IsSet ¶
func (v NullableCreateCustomerFiscalEntitiesResponse) IsSet() bool
func (NullableCreateCustomerFiscalEntitiesResponse) MarshalJSON ¶
func (v NullableCreateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateCustomerFiscalEntitiesResponse) Set ¶
func (v *NullableCreateCustomerFiscalEntitiesResponse) Set(val *CreateCustomerFiscalEntitiesResponse)
func (*NullableCreateCustomerFiscalEntitiesResponse) UnmarshalJSON ¶
func (v *NullableCreateCustomerFiscalEntitiesResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateCustomerFiscalEntitiesResponse) Unset ¶
func (v *NullableCreateCustomerFiscalEntitiesResponse) Unset()
type NullableCreateCustomerPaymentMethodsRequest ¶
type NullableCreateCustomerPaymentMethodsRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateCustomerPaymentMethodsRequest ¶
func NewNullableCreateCustomerPaymentMethodsRequest(val *CreateCustomerPaymentMethodsRequest) *NullableCreateCustomerPaymentMethodsRequest
func (NullableCreateCustomerPaymentMethodsRequest) IsSet ¶
func (v NullableCreateCustomerPaymentMethodsRequest) IsSet() bool
func (NullableCreateCustomerPaymentMethodsRequest) MarshalJSON ¶
func (v NullableCreateCustomerPaymentMethodsRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateCustomerPaymentMethodsRequest) Set ¶
func (v *NullableCreateCustomerPaymentMethodsRequest) Set(val *CreateCustomerPaymentMethodsRequest)
func (*NullableCreateCustomerPaymentMethodsRequest) UnmarshalJSON ¶
func (v *NullableCreateCustomerPaymentMethodsRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateCustomerPaymentMethodsRequest) Unset ¶
func (v *NullableCreateCustomerPaymentMethodsRequest) Unset()
type NullableCreateCustomerPaymentMethodsResponse ¶
type NullableCreateCustomerPaymentMethodsResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateCustomerPaymentMethodsResponse ¶
func NewNullableCreateCustomerPaymentMethodsResponse(val *CreateCustomerPaymentMethodsResponse) *NullableCreateCustomerPaymentMethodsResponse
func (NullableCreateCustomerPaymentMethodsResponse) IsSet ¶
func (v NullableCreateCustomerPaymentMethodsResponse) IsSet() bool
func (NullableCreateCustomerPaymentMethodsResponse) MarshalJSON ¶
func (v NullableCreateCustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateCustomerPaymentMethodsResponse) Set ¶
func (v *NullableCreateCustomerPaymentMethodsResponse) Set(val *CreateCustomerPaymentMethodsResponse)
func (*NullableCreateCustomerPaymentMethodsResponse) UnmarshalJSON ¶
func (v *NullableCreateCustomerPaymentMethodsResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateCustomerPaymentMethodsResponse) Unset ¶
func (v *NullableCreateCustomerPaymentMethodsResponse) Unset()
type NullableCustomer ¶
type NullableCustomer struct {
// contains filtered or unexported fields
}
func NewNullableCustomer ¶
func NewNullableCustomer(val *Customer) *NullableCustomer
func (NullableCustomer) Get ¶
func (v NullableCustomer) Get() *Customer
func (NullableCustomer) IsSet ¶
func (v NullableCustomer) IsSet() bool
func (NullableCustomer) MarshalJSON ¶
func (v NullableCustomer) MarshalJSON() ([]byte, error)
func (*NullableCustomer) Set ¶
func (v *NullableCustomer) Set(val *Customer)
func (*NullableCustomer) UnmarshalJSON ¶
func (v *NullableCustomer) UnmarshalJSON(src []byte) error
func (*NullableCustomer) Unset ¶
func (v *NullableCustomer) Unset()
type NullableCustomerAddress ¶
type NullableCustomerAddress struct {
// contains filtered or unexported fields
}
func NewNullableCustomerAddress ¶
func NewNullableCustomerAddress(val *CustomerAddress) *NullableCustomerAddress
func (NullableCustomerAddress) Get ¶
func (v NullableCustomerAddress) Get() *CustomerAddress
func (NullableCustomerAddress) IsSet ¶
func (v NullableCustomerAddress) IsSet() bool
func (NullableCustomerAddress) MarshalJSON ¶
func (v NullableCustomerAddress) MarshalJSON() ([]byte, error)
func (*NullableCustomerAddress) Set ¶
func (v *NullableCustomerAddress) Set(val *CustomerAddress)
func (*NullableCustomerAddress) UnmarshalJSON ¶
func (v *NullableCustomerAddress) UnmarshalJSON(src []byte) error
func (*NullableCustomerAddress) Unset ¶
func (v *NullableCustomerAddress) Unset()
type NullableCustomerAntifraudInfo ¶
type NullableCustomerAntifraudInfo struct {
// contains filtered or unexported fields
}
func NewNullableCustomerAntifraudInfo ¶
func NewNullableCustomerAntifraudInfo(val *CustomerAntifraudInfo) *NullableCustomerAntifraudInfo
func (NullableCustomerAntifraudInfo) Get ¶
func (v NullableCustomerAntifraudInfo) Get() *CustomerAntifraudInfo
func (NullableCustomerAntifraudInfo) IsSet ¶
func (v NullableCustomerAntifraudInfo) IsSet() bool
func (NullableCustomerAntifraudInfo) MarshalJSON ¶
func (v NullableCustomerAntifraudInfo) MarshalJSON() ([]byte, error)
func (*NullableCustomerAntifraudInfo) Set ¶
func (v *NullableCustomerAntifraudInfo) Set(val *CustomerAntifraudInfo)
func (*NullableCustomerAntifraudInfo) UnmarshalJSON ¶
func (v *NullableCustomerAntifraudInfo) UnmarshalJSON(src []byte) error
func (*NullableCustomerAntifraudInfo) Unset ¶
func (v *NullableCustomerAntifraudInfo) Unset()
type NullableCustomerAntifraudInfoResponse ¶
type NullableCustomerAntifraudInfoResponse struct {
// contains filtered or unexported fields
}
func NewNullableCustomerAntifraudInfoResponse ¶
func NewNullableCustomerAntifraudInfoResponse(val *CustomerAntifraudInfoResponse) *NullableCustomerAntifraudInfoResponse
func (NullableCustomerAntifraudInfoResponse) Get ¶
func (v NullableCustomerAntifraudInfoResponse) Get() *CustomerAntifraudInfoResponse
func (NullableCustomerAntifraudInfoResponse) IsSet ¶
func (v NullableCustomerAntifraudInfoResponse) IsSet() bool
func (NullableCustomerAntifraudInfoResponse) MarshalJSON ¶
func (v NullableCustomerAntifraudInfoResponse) MarshalJSON() ([]byte, error)
func (*NullableCustomerAntifraudInfoResponse) Set ¶
func (v *NullableCustomerAntifraudInfoResponse) Set(val *CustomerAntifraudInfoResponse)
func (*NullableCustomerAntifraudInfoResponse) UnmarshalJSON ¶
func (v *NullableCustomerAntifraudInfoResponse) UnmarshalJSON(src []byte) error
func (*NullableCustomerAntifraudInfoResponse) Unset ¶
func (v *NullableCustomerAntifraudInfoResponse) Unset()
type NullableCustomerFiscalEntitiesDataResponse ¶
type NullableCustomerFiscalEntitiesDataResponse struct {
// contains filtered or unexported fields
}
func NewNullableCustomerFiscalEntitiesDataResponse ¶
func NewNullableCustomerFiscalEntitiesDataResponse(val *CustomerFiscalEntitiesDataResponse) *NullableCustomerFiscalEntitiesDataResponse
func (NullableCustomerFiscalEntitiesDataResponse) IsSet ¶
func (v NullableCustomerFiscalEntitiesDataResponse) IsSet() bool
func (NullableCustomerFiscalEntitiesDataResponse) MarshalJSON ¶
func (v NullableCustomerFiscalEntitiesDataResponse) MarshalJSON() ([]byte, error)
func (*NullableCustomerFiscalEntitiesDataResponse) Set ¶
func (v *NullableCustomerFiscalEntitiesDataResponse) Set(val *CustomerFiscalEntitiesDataResponse)
func (*NullableCustomerFiscalEntitiesDataResponse) UnmarshalJSON ¶
func (v *NullableCustomerFiscalEntitiesDataResponse) UnmarshalJSON(src []byte) error
func (*NullableCustomerFiscalEntitiesDataResponse) Unset ¶
func (v *NullableCustomerFiscalEntitiesDataResponse) Unset()
type NullableCustomerFiscalEntitiesRequest ¶
type NullableCustomerFiscalEntitiesRequest struct {
// contains filtered or unexported fields
}
func NewNullableCustomerFiscalEntitiesRequest ¶
func NewNullableCustomerFiscalEntitiesRequest(val *CustomerFiscalEntitiesRequest) *NullableCustomerFiscalEntitiesRequest
func (NullableCustomerFiscalEntitiesRequest) Get ¶
func (v NullableCustomerFiscalEntitiesRequest) Get() *CustomerFiscalEntitiesRequest
func (NullableCustomerFiscalEntitiesRequest) IsSet ¶
func (v NullableCustomerFiscalEntitiesRequest) IsSet() bool
func (NullableCustomerFiscalEntitiesRequest) MarshalJSON ¶
func (v NullableCustomerFiscalEntitiesRequest) MarshalJSON() ([]byte, error)
func (*NullableCustomerFiscalEntitiesRequest) Set ¶
func (v *NullableCustomerFiscalEntitiesRequest) Set(val *CustomerFiscalEntitiesRequest)
func (*NullableCustomerFiscalEntitiesRequest) UnmarshalJSON ¶
func (v *NullableCustomerFiscalEntitiesRequest) UnmarshalJSON(src []byte) error
func (*NullableCustomerFiscalEntitiesRequest) Unset ¶
func (v *NullableCustomerFiscalEntitiesRequest) Unset()
type NullableCustomerFiscalEntitiesResponse ¶
type NullableCustomerFiscalEntitiesResponse struct {
// contains filtered or unexported fields
}
func NewNullableCustomerFiscalEntitiesResponse ¶
func NewNullableCustomerFiscalEntitiesResponse(val *CustomerFiscalEntitiesResponse) *NullableCustomerFiscalEntitiesResponse
func (NullableCustomerFiscalEntitiesResponse) Get ¶
func (v NullableCustomerFiscalEntitiesResponse) Get() *CustomerFiscalEntitiesResponse
func (NullableCustomerFiscalEntitiesResponse) IsSet ¶
func (v NullableCustomerFiscalEntitiesResponse) IsSet() bool
func (NullableCustomerFiscalEntitiesResponse) MarshalJSON ¶
func (v NullableCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
func (*NullableCustomerFiscalEntitiesResponse) Set ¶
func (v *NullableCustomerFiscalEntitiesResponse) Set(val *CustomerFiscalEntitiesResponse)
func (*NullableCustomerFiscalEntitiesResponse) UnmarshalJSON ¶
func (v *NullableCustomerFiscalEntitiesResponse) UnmarshalJSON(src []byte) error
func (*NullableCustomerFiscalEntitiesResponse) Unset ¶
func (v *NullableCustomerFiscalEntitiesResponse) Unset()
type NullableCustomerInfo ¶
type NullableCustomerInfo struct {
// contains filtered or unexported fields
}
func NewNullableCustomerInfo ¶
func NewNullableCustomerInfo(val *CustomerInfo) *NullableCustomerInfo
func (NullableCustomerInfo) Get ¶
func (v NullableCustomerInfo) Get() *CustomerInfo
func (NullableCustomerInfo) IsSet ¶
func (v NullableCustomerInfo) IsSet() bool
func (NullableCustomerInfo) MarshalJSON ¶
func (v NullableCustomerInfo) MarshalJSON() ([]byte, error)
func (*NullableCustomerInfo) Set ¶
func (v *NullableCustomerInfo) Set(val *CustomerInfo)
func (*NullableCustomerInfo) UnmarshalJSON ¶
func (v *NullableCustomerInfo) UnmarshalJSON(src []byte) error
func (*NullableCustomerInfo) Unset ¶
func (v *NullableCustomerInfo) Unset()
type NullableCustomerInfoJustCustomerId ¶
type NullableCustomerInfoJustCustomerId struct {
// contains filtered or unexported fields
}
func NewNullableCustomerInfoJustCustomerId ¶
func NewNullableCustomerInfoJustCustomerId(val *CustomerInfoJustCustomerId) *NullableCustomerInfoJustCustomerId
func (NullableCustomerInfoJustCustomerId) Get ¶
func (v NullableCustomerInfoJustCustomerId) Get() *CustomerInfoJustCustomerId
func (NullableCustomerInfoJustCustomerId) IsSet ¶
func (v NullableCustomerInfoJustCustomerId) IsSet() bool
func (NullableCustomerInfoJustCustomerId) MarshalJSON ¶
func (v NullableCustomerInfoJustCustomerId) MarshalJSON() ([]byte, error)
func (*NullableCustomerInfoJustCustomerId) Set ¶
func (v *NullableCustomerInfoJustCustomerId) Set(val *CustomerInfoJustCustomerId)
func (*NullableCustomerInfoJustCustomerId) UnmarshalJSON ¶
func (v *NullableCustomerInfoJustCustomerId) UnmarshalJSON(src []byte) error
func (*NullableCustomerInfoJustCustomerId) Unset ¶
func (v *NullableCustomerInfoJustCustomerId) Unset()
type NullableCustomerInfoJustCustomerIdResponse ¶
type NullableCustomerInfoJustCustomerIdResponse struct {
// contains filtered or unexported fields
}
func NewNullableCustomerInfoJustCustomerIdResponse ¶
func NewNullableCustomerInfoJustCustomerIdResponse(val *CustomerInfoJustCustomerIdResponse) *NullableCustomerInfoJustCustomerIdResponse
func (NullableCustomerInfoJustCustomerIdResponse) IsSet ¶
func (v NullableCustomerInfoJustCustomerIdResponse) IsSet() bool
func (NullableCustomerInfoJustCustomerIdResponse) MarshalJSON ¶
func (v NullableCustomerInfoJustCustomerIdResponse) MarshalJSON() ([]byte, error)
func (*NullableCustomerInfoJustCustomerIdResponse) Set ¶
func (v *NullableCustomerInfoJustCustomerIdResponse) Set(val *CustomerInfoJustCustomerIdResponse)
func (*NullableCustomerInfoJustCustomerIdResponse) UnmarshalJSON ¶
func (v *NullableCustomerInfoJustCustomerIdResponse) UnmarshalJSON(src []byte) error
func (*NullableCustomerInfoJustCustomerIdResponse) Unset ¶
func (v *NullableCustomerInfoJustCustomerIdResponse) Unset()
type NullableCustomerPaymentMethodRequest ¶
type NullableCustomerPaymentMethodRequest struct {
// contains filtered or unexported fields
}
func NewNullableCustomerPaymentMethodRequest ¶
func NewNullableCustomerPaymentMethodRequest(val *CustomerPaymentMethodRequest) *NullableCustomerPaymentMethodRequest
func (NullableCustomerPaymentMethodRequest) Get ¶
func (v NullableCustomerPaymentMethodRequest) Get() *CustomerPaymentMethodRequest
func (NullableCustomerPaymentMethodRequest) IsSet ¶
func (v NullableCustomerPaymentMethodRequest) IsSet() bool
func (NullableCustomerPaymentMethodRequest) MarshalJSON ¶
func (v NullableCustomerPaymentMethodRequest) MarshalJSON() ([]byte, error)
func (*NullableCustomerPaymentMethodRequest) Set ¶
func (v *NullableCustomerPaymentMethodRequest) Set(val *CustomerPaymentMethodRequest)
func (*NullableCustomerPaymentMethodRequest) UnmarshalJSON ¶
func (v *NullableCustomerPaymentMethodRequest) UnmarshalJSON(src []byte) error
func (*NullableCustomerPaymentMethodRequest) Unset ¶
func (v *NullableCustomerPaymentMethodRequest) Unset()
type NullableCustomerPaymentMethodsData ¶
type NullableCustomerPaymentMethodsData struct {
// contains filtered or unexported fields
}
func NewNullableCustomerPaymentMethodsData ¶
func NewNullableCustomerPaymentMethodsData(val *CustomerPaymentMethodsData) *NullableCustomerPaymentMethodsData
func (NullableCustomerPaymentMethodsData) Get ¶
func (v NullableCustomerPaymentMethodsData) Get() *CustomerPaymentMethodsData
func (NullableCustomerPaymentMethodsData) IsSet ¶
func (v NullableCustomerPaymentMethodsData) IsSet() bool
func (NullableCustomerPaymentMethodsData) MarshalJSON ¶
func (v NullableCustomerPaymentMethodsData) MarshalJSON() ([]byte, error)
func (*NullableCustomerPaymentMethodsData) Set ¶
func (v *NullableCustomerPaymentMethodsData) Set(val *CustomerPaymentMethodsData)
func (*NullableCustomerPaymentMethodsData) UnmarshalJSON ¶
func (v *NullableCustomerPaymentMethodsData) UnmarshalJSON(src []byte) error
func (*NullableCustomerPaymentMethodsData) Unset ¶
func (v *NullableCustomerPaymentMethodsData) Unset()
type NullableCustomerPaymentMethodsRequest ¶
type NullableCustomerPaymentMethodsRequest struct {
// contains filtered or unexported fields
}
func NewNullableCustomerPaymentMethodsRequest ¶
func NewNullableCustomerPaymentMethodsRequest(val *CustomerPaymentMethodsRequest) *NullableCustomerPaymentMethodsRequest
func (NullableCustomerPaymentMethodsRequest) Get ¶
func (v NullableCustomerPaymentMethodsRequest) Get() *CustomerPaymentMethodsRequest
func (NullableCustomerPaymentMethodsRequest) IsSet ¶
func (v NullableCustomerPaymentMethodsRequest) IsSet() bool
func (NullableCustomerPaymentMethodsRequest) MarshalJSON ¶
func (v NullableCustomerPaymentMethodsRequest) MarshalJSON() ([]byte, error)
func (*NullableCustomerPaymentMethodsRequest) Set ¶
func (v *NullableCustomerPaymentMethodsRequest) Set(val *CustomerPaymentMethodsRequest)
func (*NullableCustomerPaymentMethodsRequest) UnmarshalJSON ¶
func (v *NullableCustomerPaymentMethodsRequest) UnmarshalJSON(src []byte) error
func (*NullableCustomerPaymentMethodsRequest) Unset ¶
func (v *NullableCustomerPaymentMethodsRequest) Unset()
type NullableCustomerPaymentMethodsResponse ¶
type NullableCustomerPaymentMethodsResponse struct {
// contains filtered or unexported fields
}
func NewNullableCustomerPaymentMethodsResponse ¶
func NewNullableCustomerPaymentMethodsResponse(val *CustomerPaymentMethodsResponse) *NullableCustomerPaymentMethodsResponse
func (NullableCustomerPaymentMethodsResponse) Get ¶
func (v NullableCustomerPaymentMethodsResponse) Get() *CustomerPaymentMethodsResponse
func (NullableCustomerPaymentMethodsResponse) IsSet ¶
func (v NullableCustomerPaymentMethodsResponse) IsSet() bool
func (NullableCustomerPaymentMethodsResponse) MarshalJSON ¶
func (v NullableCustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
func (*NullableCustomerPaymentMethodsResponse) Set ¶
func (v *NullableCustomerPaymentMethodsResponse) Set(val *CustomerPaymentMethodsResponse)
func (*NullableCustomerPaymentMethodsResponse) UnmarshalJSON ¶
func (v *NullableCustomerPaymentMethodsResponse) UnmarshalJSON(src []byte) error
func (*NullableCustomerPaymentMethodsResponse) Unset ¶
func (v *NullableCustomerPaymentMethodsResponse) Unset()
type NullableCustomerResponse ¶
type NullableCustomerResponse struct {
// contains filtered or unexported fields
}
func NewNullableCustomerResponse ¶
func NewNullableCustomerResponse(val *CustomerResponse) *NullableCustomerResponse
func (NullableCustomerResponse) Get ¶
func (v NullableCustomerResponse) Get() *CustomerResponse
func (NullableCustomerResponse) IsSet ¶
func (v NullableCustomerResponse) IsSet() bool
func (NullableCustomerResponse) MarshalJSON ¶
func (v NullableCustomerResponse) MarshalJSON() ([]byte, error)
func (*NullableCustomerResponse) Set ¶
func (v *NullableCustomerResponse) Set(val *CustomerResponse)
func (*NullableCustomerResponse) UnmarshalJSON ¶
func (v *NullableCustomerResponse) UnmarshalJSON(src []byte) error
func (*NullableCustomerResponse) Unset ¶
func (v *NullableCustomerResponse) Unset()
type NullableCustomerResponseShippingContacts ¶
type NullableCustomerResponseShippingContacts struct {
// contains filtered or unexported fields
}
func NewNullableCustomerResponseShippingContacts ¶
func NewNullableCustomerResponseShippingContacts(val *CustomerResponseShippingContacts) *NullableCustomerResponseShippingContacts
func (NullableCustomerResponseShippingContacts) IsSet ¶
func (v NullableCustomerResponseShippingContacts) IsSet() bool
func (NullableCustomerResponseShippingContacts) MarshalJSON ¶
func (v NullableCustomerResponseShippingContacts) MarshalJSON() ([]byte, error)
func (*NullableCustomerResponseShippingContacts) Set ¶
func (v *NullableCustomerResponseShippingContacts) Set(val *CustomerResponseShippingContacts)
func (*NullableCustomerResponseShippingContacts) UnmarshalJSON ¶
func (v *NullableCustomerResponseShippingContacts) UnmarshalJSON(src []byte) error
func (*NullableCustomerResponseShippingContacts) Unset ¶
func (v *NullableCustomerResponseShippingContacts) Unset()
type NullableCustomerShippingContacts ¶
type NullableCustomerShippingContacts struct {
// contains filtered or unexported fields
}
func NewNullableCustomerShippingContacts ¶
func NewNullableCustomerShippingContacts(val *CustomerShippingContacts) *NullableCustomerShippingContacts
func (NullableCustomerShippingContacts) Get ¶
func (v NullableCustomerShippingContacts) Get() *CustomerShippingContacts
func (NullableCustomerShippingContacts) IsSet ¶
func (v NullableCustomerShippingContacts) IsSet() bool
func (NullableCustomerShippingContacts) MarshalJSON ¶
func (v NullableCustomerShippingContacts) MarshalJSON() ([]byte, error)
func (*NullableCustomerShippingContacts) Set ¶
func (v *NullableCustomerShippingContacts) Set(val *CustomerShippingContacts)
func (*NullableCustomerShippingContacts) UnmarshalJSON ¶
func (v *NullableCustomerShippingContacts) UnmarshalJSON(src []byte) error
func (*NullableCustomerShippingContacts) Unset ¶
func (v *NullableCustomerShippingContacts) Unset()
type NullableCustomerShippingContactsAddress ¶
type NullableCustomerShippingContactsAddress struct {
// contains filtered or unexported fields
}
func NewNullableCustomerShippingContactsAddress ¶
func NewNullableCustomerShippingContactsAddress(val *CustomerShippingContactsAddress) *NullableCustomerShippingContactsAddress
func (NullableCustomerShippingContactsAddress) IsSet ¶
func (v NullableCustomerShippingContactsAddress) IsSet() bool
func (NullableCustomerShippingContactsAddress) MarshalJSON ¶
func (v NullableCustomerShippingContactsAddress) MarshalJSON() ([]byte, error)
func (*NullableCustomerShippingContactsAddress) Set ¶
func (v *NullableCustomerShippingContactsAddress) Set(val *CustomerShippingContactsAddress)
func (*NullableCustomerShippingContactsAddress) UnmarshalJSON ¶
func (v *NullableCustomerShippingContactsAddress) UnmarshalJSON(src []byte) error
func (*NullableCustomerShippingContactsAddress) Unset ¶
func (v *NullableCustomerShippingContactsAddress) Unset()
type NullableCustomerShippingContactsDataResponse ¶
type NullableCustomerShippingContactsDataResponse struct {
// contains filtered or unexported fields
}
func NewNullableCustomerShippingContactsDataResponse ¶
func NewNullableCustomerShippingContactsDataResponse(val *CustomerShippingContactsDataResponse) *NullableCustomerShippingContactsDataResponse
func (NullableCustomerShippingContactsDataResponse) IsSet ¶
func (v NullableCustomerShippingContactsDataResponse) IsSet() bool
func (NullableCustomerShippingContactsDataResponse) MarshalJSON ¶
func (v NullableCustomerShippingContactsDataResponse) MarshalJSON() ([]byte, error)
func (*NullableCustomerShippingContactsDataResponse) Set ¶
func (v *NullableCustomerShippingContactsDataResponse) Set(val *CustomerShippingContactsDataResponse)
func (*NullableCustomerShippingContactsDataResponse) UnmarshalJSON ¶
func (v *NullableCustomerShippingContactsDataResponse) UnmarshalJSON(src []byte) error
func (*NullableCustomerShippingContactsDataResponse) Unset ¶
func (v *NullableCustomerShippingContactsDataResponse) Unset()
type NullableCustomerShippingContactsResponse ¶
type NullableCustomerShippingContactsResponse struct {
// contains filtered or unexported fields
}
func NewNullableCustomerShippingContactsResponse ¶
func NewNullableCustomerShippingContactsResponse(val *CustomerShippingContactsResponse) *NullableCustomerShippingContactsResponse
func (NullableCustomerShippingContactsResponse) IsSet ¶
func (v NullableCustomerShippingContactsResponse) IsSet() bool
func (NullableCustomerShippingContactsResponse) MarshalJSON ¶
func (v NullableCustomerShippingContactsResponse) MarshalJSON() ([]byte, error)
func (*NullableCustomerShippingContactsResponse) Set ¶
func (v *NullableCustomerShippingContactsResponse) Set(val *CustomerShippingContactsResponse)
func (*NullableCustomerShippingContactsResponse) UnmarshalJSON ¶
func (v *NullableCustomerShippingContactsResponse) UnmarshalJSON(src []byte) error
func (*NullableCustomerShippingContactsResponse) Unset ¶
func (v *NullableCustomerShippingContactsResponse) Unset()
type NullableCustomerShippingContactsResponseAddress ¶
type NullableCustomerShippingContactsResponseAddress struct {
// contains filtered or unexported fields
}
func NewNullableCustomerShippingContactsResponseAddress ¶
func NewNullableCustomerShippingContactsResponseAddress(val *CustomerShippingContactsResponseAddress) *NullableCustomerShippingContactsResponseAddress
func (NullableCustomerShippingContactsResponseAddress) IsSet ¶
func (v NullableCustomerShippingContactsResponseAddress) IsSet() bool
func (NullableCustomerShippingContactsResponseAddress) MarshalJSON ¶
func (v NullableCustomerShippingContactsResponseAddress) MarshalJSON() ([]byte, error)
func (*NullableCustomerShippingContactsResponseAddress) UnmarshalJSON ¶
func (v *NullableCustomerShippingContactsResponseAddress) UnmarshalJSON(src []byte) error
func (*NullableCustomerShippingContactsResponseAddress) Unset ¶
func (v *NullableCustomerShippingContactsResponseAddress) Unset()
type NullableCustomerUpdateFiscalEntitiesRequest ¶
type NullableCustomerUpdateFiscalEntitiesRequest struct {
// contains filtered or unexported fields
}
func NewNullableCustomerUpdateFiscalEntitiesRequest ¶
func NewNullableCustomerUpdateFiscalEntitiesRequest(val *CustomerUpdateFiscalEntitiesRequest) *NullableCustomerUpdateFiscalEntitiesRequest
func (NullableCustomerUpdateFiscalEntitiesRequest) IsSet ¶
func (v NullableCustomerUpdateFiscalEntitiesRequest) IsSet() bool
func (NullableCustomerUpdateFiscalEntitiesRequest) MarshalJSON ¶
func (v NullableCustomerUpdateFiscalEntitiesRequest) MarshalJSON() ([]byte, error)
func (*NullableCustomerUpdateFiscalEntitiesRequest) Set ¶
func (v *NullableCustomerUpdateFiscalEntitiesRequest) Set(val *CustomerUpdateFiscalEntitiesRequest)
func (*NullableCustomerUpdateFiscalEntitiesRequest) UnmarshalJSON ¶
func (v *NullableCustomerUpdateFiscalEntitiesRequest) UnmarshalJSON(src []byte) error
func (*NullableCustomerUpdateFiscalEntitiesRequest) Unset ¶
func (v *NullableCustomerUpdateFiscalEntitiesRequest) Unset()
type NullableCustomerUpdateShippingContacts ¶
type NullableCustomerUpdateShippingContacts struct {
// contains filtered or unexported fields
}
func NewNullableCustomerUpdateShippingContacts ¶
func NewNullableCustomerUpdateShippingContacts(val *CustomerUpdateShippingContacts) *NullableCustomerUpdateShippingContacts
func (NullableCustomerUpdateShippingContacts) Get ¶
func (v NullableCustomerUpdateShippingContacts) Get() *CustomerUpdateShippingContacts
func (NullableCustomerUpdateShippingContacts) IsSet ¶
func (v NullableCustomerUpdateShippingContacts) IsSet() bool
func (NullableCustomerUpdateShippingContacts) MarshalJSON ¶
func (v NullableCustomerUpdateShippingContacts) MarshalJSON() ([]byte, error)
func (*NullableCustomerUpdateShippingContacts) Set ¶
func (v *NullableCustomerUpdateShippingContacts) Set(val *CustomerUpdateShippingContacts)
func (*NullableCustomerUpdateShippingContacts) UnmarshalJSON ¶
func (v *NullableCustomerUpdateShippingContacts) UnmarshalJSON(src []byte) error
func (*NullableCustomerUpdateShippingContacts) Unset ¶
func (v *NullableCustomerUpdateShippingContacts) Unset()
type NullableCustomersResponse ¶
type NullableCustomersResponse struct {
// contains filtered or unexported fields
}
func NewNullableCustomersResponse ¶
func NewNullableCustomersResponse(val *CustomersResponse) *NullableCustomersResponse
func (NullableCustomersResponse) Get ¶
func (v NullableCustomersResponse) Get() *CustomersResponse
func (NullableCustomersResponse) IsSet ¶
func (v NullableCustomersResponse) IsSet() bool
func (NullableCustomersResponse) MarshalJSON ¶
func (v NullableCustomersResponse) MarshalJSON() ([]byte, error)
func (*NullableCustomersResponse) Set ¶
func (v *NullableCustomersResponse) Set(val *CustomersResponse)
func (*NullableCustomersResponse) UnmarshalJSON ¶
func (v *NullableCustomersResponse) UnmarshalJSON(src []byte) error
func (*NullableCustomersResponse) Unset ¶
func (v *NullableCustomersResponse) Unset()
type NullableDeleteApiKeysResponse ¶
type NullableDeleteApiKeysResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteApiKeysResponse ¶
func NewNullableDeleteApiKeysResponse(val *DeleteApiKeysResponse) *NullableDeleteApiKeysResponse
func (NullableDeleteApiKeysResponse) Get ¶
func (v NullableDeleteApiKeysResponse) Get() *DeleteApiKeysResponse
func (NullableDeleteApiKeysResponse) IsSet ¶
func (v NullableDeleteApiKeysResponse) IsSet() bool
func (NullableDeleteApiKeysResponse) MarshalJSON ¶
func (v NullableDeleteApiKeysResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteApiKeysResponse) Set ¶
func (v *NullableDeleteApiKeysResponse) Set(val *DeleteApiKeysResponse)
func (*NullableDeleteApiKeysResponse) UnmarshalJSON ¶
func (v *NullableDeleteApiKeysResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteApiKeysResponse) Unset ¶
func (v *NullableDeleteApiKeysResponse) Unset()
type NullableDetails ¶
type NullableDetails struct {
// contains filtered or unexported fields
}
func NewNullableDetails ¶
func NewNullableDetails(val *Details) *NullableDetails
func (NullableDetails) Get ¶
func (v NullableDetails) Get() *Details
func (NullableDetails) IsSet ¶
func (v NullableDetails) IsSet() bool
func (NullableDetails) MarshalJSON ¶
func (v NullableDetails) MarshalJSON() ([]byte, error)
func (*NullableDetails) Set ¶
func (v *NullableDetails) Set(val *Details)
func (*NullableDetails) UnmarshalJSON ¶
func (v *NullableDetails) UnmarshalJSON(src []byte) error
func (*NullableDetails) Unset ¶
func (v *NullableDetails) Unset()
type NullableDetailsError ¶
type NullableDetailsError struct {
// contains filtered or unexported fields
}
func NewNullableDetailsError ¶
func NewNullableDetailsError(val *DetailsError) *NullableDetailsError
func (NullableDetailsError) Get ¶
func (v NullableDetailsError) Get() *DetailsError
func (NullableDetailsError) IsSet ¶
func (v NullableDetailsError) IsSet() bool
func (NullableDetailsError) MarshalJSON ¶
func (v NullableDetailsError) MarshalJSON() ([]byte, error)
func (*NullableDetailsError) Set ¶
func (v *NullableDetailsError) Set(val *DetailsError)
func (*NullableDetailsError) UnmarshalJSON ¶
func (v *NullableDetailsError) UnmarshalJSON(src []byte) error
func (*NullableDetailsError) Unset ¶
func (v *NullableDetailsError) Unset()
type NullableDiscountLinesDataResponse ¶
type NullableDiscountLinesDataResponse struct {
// contains filtered or unexported fields
}
func NewNullableDiscountLinesDataResponse ¶
func NewNullableDiscountLinesDataResponse(val *DiscountLinesDataResponse) *NullableDiscountLinesDataResponse
func (NullableDiscountLinesDataResponse) Get ¶
func (v NullableDiscountLinesDataResponse) Get() *DiscountLinesDataResponse
func (NullableDiscountLinesDataResponse) IsSet ¶
func (v NullableDiscountLinesDataResponse) IsSet() bool
func (NullableDiscountLinesDataResponse) MarshalJSON ¶
func (v NullableDiscountLinesDataResponse) MarshalJSON() ([]byte, error)
func (*NullableDiscountLinesDataResponse) Set ¶
func (v *NullableDiscountLinesDataResponse) Set(val *DiscountLinesDataResponse)
func (*NullableDiscountLinesDataResponse) UnmarshalJSON ¶
func (v *NullableDiscountLinesDataResponse) UnmarshalJSON(src []byte) error
func (*NullableDiscountLinesDataResponse) Unset ¶
func (v *NullableDiscountLinesDataResponse) Unset()
type NullableDiscountLinesResponse ¶
type NullableDiscountLinesResponse struct {
// contains filtered or unexported fields
}
func NewNullableDiscountLinesResponse ¶
func NewNullableDiscountLinesResponse(val *DiscountLinesResponse) *NullableDiscountLinesResponse
func (NullableDiscountLinesResponse) Get ¶
func (v NullableDiscountLinesResponse) Get() *DiscountLinesResponse
func (NullableDiscountLinesResponse) IsSet ¶
func (v NullableDiscountLinesResponse) IsSet() bool
func (NullableDiscountLinesResponse) MarshalJSON ¶
func (v NullableDiscountLinesResponse) MarshalJSON() ([]byte, error)
func (*NullableDiscountLinesResponse) Set ¶
func (v *NullableDiscountLinesResponse) Set(val *DiscountLinesResponse)
func (*NullableDiscountLinesResponse) UnmarshalJSON ¶
func (v *NullableDiscountLinesResponse) UnmarshalJSON(src []byte) error
func (*NullableDiscountLinesResponse) Unset ¶
func (v *NullableDiscountLinesResponse) Unset()
type NullableEmailCheckoutRequest ¶
type NullableEmailCheckoutRequest struct {
// contains filtered or unexported fields
}
func NewNullableEmailCheckoutRequest ¶
func NewNullableEmailCheckoutRequest(val *EmailCheckoutRequest) *NullableEmailCheckoutRequest
func (NullableEmailCheckoutRequest) Get ¶
func (v NullableEmailCheckoutRequest) Get() *EmailCheckoutRequest
func (NullableEmailCheckoutRequest) IsSet ¶
func (v NullableEmailCheckoutRequest) IsSet() bool
func (NullableEmailCheckoutRequest) MarshalJSON ¶
func (v NullableEmailCheckoutRequest) MarshalJSON() ([]byte, error)
func (*NullableEmailCheckoutRequest) Set ¶
func (v *NullableEmailCheckoutRequest) Set(val *EmailCheckoutRequest)
func (*NullableEmailCheckoutRequest) UnmarshalJSON ¶
func (v *NullableEmailCheckoutRequest) UnmarshalJSON(src []byte) error
func (*NullableEmailCheckoutRequest) Unset ¶
func (v *NullableEmailCheckoutRequest) Unset()
type NullableEventResponse ¶
type NullableEventResponse struct {
// contains filtered or unexported fields
}
func NewNullableEventResponse ¶
func NewNullableEventResponse(val *EventResponse) *NullableEventResponse
func (NullableEventResponse) Get ¶
func (v NullableEventResponse) Get() *EventResponse
func (NullableEventResponse) IsSet ¶
func (v NullableEventResponse) IsSet() bool
func (NullableEventResponse) MarshalJSON ¶
func (v NullableEventResponse) MarshalJSON() ([]byte, error)
func (*NullableEventResponse) Set ¶
func (v *NullableEventResponse) Set(val *EventResponse)
func (*NullableEventResponse) UnmarshalJSON ¶
func (v *NullableEventResponse) UnmarshalJSON(src []byte) error
func (*NullableEventResponse) Unset ¶
func (v *NullableEventResponse) Unset()
type NullableEventsResendResponse ¶
type NullableEventsResendResponse struct {
// contains filtered or unexported fields
}
func NewNullableEventsResendResponse ¶
func NewNullableEventsResendResponse(val *EventsResendResponse) *NullableEventsResendResponse
func (NullableEventsResendResponse) Get ¶
func (v NullableEventsResendResponse) Get() *EventsResendResponse
func (NullableEventsResendResponse) IsSet ¶
func (v NullableEventsResendResponse) IsSet() bool
func (NullableEventsResendResponse) MarshalJSON ¶
func (v NullableEventsResendResponse) MarshalJSON() ([]byte, error)
func (*NullableEventsResendResponse) Set ¶
func (v *NullableEventsResendResponse) Set(val *EventsResendResponse)
func (*NullableEventsResendResponse) UnmarshalJSON ¶
func (v *NullableEventsResendResponse) UnmarshalJSON(src []byte) error
func (*NullableEventsResendResponse) Unset ¶
func (v *NullableEventsResendResponse) Unset()
type NullableFiscalEntityAddress ¶
type NullableFiscalEntityAddress struct {
// contains filtered or unexported fields
}
func NewNullableFiscalEntityAddress ¶
func NewNullableFiscalEntityAddress(val *FiscalEntityAddress) *NullableFiscalEntityAddress
func (NullableFiscalEntityAddress) Get ¶
func (v NullableFiscalEntityAddress) Get() *FiscalEntityAddress
func (NullableFiscalEntityAddress) IsSet ¶
func (v NullableFiscalEntityAddress) IsSet() bool
func (NullableFiscalEntityAddress) MarshalJSON ¶
func (v NullableFiscalEntityAddress) MarshalJSON() ([]byte, error)
func (*NullableFiscalEntityAddress) Set ¶
func (v *NullableFiscalEntityAddress) Set(val *FiscalEntityAddress)
func (*NullableFiscalEntityAddress) UnmarshalJSON ¶
func (v *NullableFiscalEntityAddress) UnmarshalJSON(src []byte) error
func (*NullableFiscalEntityAddress) Unset ¶
func (v *NullableFiscalEntityAddress) 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 NullableGetApiKeysResponse ¶
type NullableGetApiKeysResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetApiKeysResponse ¶
func NewNullableGetApiKeysResponse(val *GetApiKeysResponse) *NullableGetApiKeysResponse
func (NullableGetApiKeysResponse) Get ¶
func (v NullableGetApiKeysResponse) Get() *GetApiKeysResponse
func (NullableGetApiKeysResponse) IsSet ¶
func (v NullableGetApiKeysResponse) IsSet() bool
func (NullableGetApiKeysResponse) MarshalJSON ¶
func (v NullableGetApiKeysResponse) MarshalJSON() ([]byte, error)
func (*NullableGetApiKeysResponse) Set ¶
func (v *NullableGetApiKeysResponse) Set(val *GetApiKeysResponse)
func (*NullableGetApiKeysResponse) UnmarshalJSON ¶
func (v *NullableGetApiKeysResponse) UnmarshalJSON(src []byte) error
func (*NullableGetApiKeysResponse) Unset ¶
func (v *NullableGetApiKeysResponse) Unset()
type NullableGetChargesResponse ¶
type NullableGetChargesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetChargesResponse ¶
func NewNullableGetChargesResponse(val *GetChargesResponse) *NullableGetChargesResponse
func (NullableGetChargesResponse) Get ¶
func (v NullableGetChargesResponse) Get() *GetChargesResponse
func (NullableGetChargesResponse) IsSet ¶
func (v NullableGetChargesResponse) IsSet() bool
func (NullableGetChargesResponse) MarshalJSON ¶
func (v NullableGetChargesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetChargesResponse) Set ¶
func (v *NullableGetChargesResponse) Set(val *GetChargesResponse)
func (*NullableGetChargesResponse) UnmarshalJSON ¶
func (v *NullableGetChargesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetChargesResponse) Unset ¶
func (v *NullableGetChargesResponse) Unset()
type NullableGetCompaniesResponse ¶
type NullableGetCompaniesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetCompaniesResponse ¶
func NewNullableGetCompaniesResponse(val *GetCompaniesResponse) *NullableGetCompaniesResponse
func (NullableGetCompaniesResponse) Get ¶
func (v NullableGetCompaniesResponse) Get() *GetCompaniesResponse
func (NullableGetCompaniesResponse) IsSet ¶
func (v NullableGetCompaniesResponse) IsSet() bool
func (NullableGetCompaniesResponse) MarshalJSON ¶
func (v NullableGetCompaniesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCompaniesResponse) Set ¶
func (v *NullableGetCompaniesResponse) Set(val *GetCompaniesResponse)
func (*NullableGetCompaniesResponse) UnmarshalJSON ¶
func (v *NullableGetCompaniesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetCompaniesResponse) Unset ¶
func (v *NullableGetCompaniesResponse) Unset()
type NullableGetCustomerPaymentMethodDataResponse ¶
type NullableGetCustomerPaymentMethodDataResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetCustomerPaymentMethodDataResponse ¶
func NewNullableGetCustomerPaymentMethodDataResponse(val *GetCustomerPaymentMethodDataResponse) *NullableGetCustomerPaymentMethodDataResponse
func (NullableGetCustomerPaymentMethodDataResponse) IsSet ¶
func (v NullableGetCustomerPaymentMethodDataResponse) IsSet() bool
func (NullableGetCustomerPaymentMethodDataResponse) MarshalJSON ¶
func (v NullableGetCustomerPaymentMethodDataResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCustomerPaymentMethodDataResponse) Set ¶
func (v *NullableGetCustomerPaymentMethodDataResponse) Set(val *GetCustomerPaymentMethodDataResponse)
func (*NullableGetCustomerPaymentMethodDataResponse) UnmarshalJSON ¶
func (v *NullableGetCustomerPaymentMethodDataResponse) UnmarshalJSON(src []byte) error
func (*NullableGetCustomerPaymentMethodDataResponse) Unset ¶
func (v *NullableGetCustomerPaymentMethodDataResponse) Unset()
type NullableGetEventsResponse ¶
type NullableGetEventsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetEventsResponse ¶
func NewNullableGetEventsResponse(val *GetEventsResponse) *NullableGetEventsResponse
func (NullableGetEventsResponse) Get ¶
func (v NullableGetEventsResponse) Get() *GetEventsResponse
func (NullableGetEventsResponse) IsSet ¶
func (v NullableGetEventsResponse) IsSet() bool
func (NullableGetEventsResponse) MarshalJSON ¶
func (v NullableGetEventsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetEventsResponse) Set ¶
func (v *NullableGetEventsResponse) Set(val *GetEventsResponse)
func (*NullableGetEventsResponse) UnmarshalJSON ¶
func (v *NullableGetEventsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetEventsResponse) Unset ¶
func (v *NullableGetEventsResponse) Unset()
type NullableGetOrderDiscountLinesResponse ¶
type NullableGetOrderDiscountLinesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetOrderDiscountLinesResponse ¶
func NewNullableGetOrderDiscountLinesResponse(val *GetOrderDiscountLinesResponse) *NullableGetOrderDiscountLinesResponse
func (NullableGetOrderDiscountLinesResponse) Get ¶
func (v NullableGetOrderDiscountLinesResponse) Get() *GetOrderDiscountLinesResponse
func (NullableGetOrderDiscountLinesResponse) IsSet ¶
func (v NullableGetOrderDiscountLinesResponse) IsSet() bool
func (NullableGetOrderDiscountLinesResponse) MarshalJSON ¶
func (v NullableGetOrderDiscountLinesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetOrderDiscountLinesResponse) Set ¶
func (v *NullableGetOrderDiscountLinesResponse) Set(val *GetOrderDiscountLinesResponse)
func (*NullableGetOrderDiscountLinesResponse) UnmarshalJSON ¶
func (v *NullableGetOrderDiscountLinesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetOrderDiscountLinesResponse) Unset ¶
func (v *NullableGetOrderDiscountLinesResponse) Unset()
type NullableGetOrdersResponse ¶
type NullableGetOrdersResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetOrdersResponse ¶
func NewNullableGetOrdersResponse(val *GetOrdersResponse) *NullableGetOrdersResponse
func (NullableGetOrdersResponse) Get ¶
func (v NullableGetOrdersResponse) Get() *GetOrdersResponse
func (NullableGetOrdersResponse) IsSet ¶
func (v NullableGetOrdersResponse) IsSet() bool
func (NullableGetOrdersResponse) MarshalJSON ¶
func (v NullableGetOrdersResponse) MarshalJSON() ([]byte, error)
func (*NullableGetOrdersResponse) Set ¶
func (v *NullableGetOrdersResponse) Set(val *GetOrdersResponse)
func (*NullableGetOrdersResponse) UnmarshalJSON ¶
func (v *NullableGetOrdersResponse) UnmarshalJSON(src []byte) error
func (*NullableGetOrdersResponse) Unset ¶
func (v *NullableGetOrdersResponse) Unset()
type NullableGetPaymentMethodResponse ¶
type NullableGetPaymentMethodResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetPaymentMethodResponse ¶
func NewNullableGetPaymentMethodResponse(val *GetPaymentMethodResponse) *NullableGetPaymentMethodResponse
func (NullableGetPaymentMethodResponse) Get ¶
func (v NullableGetPaymentMethodResponse) Get() *GetPaymentMethodResponse
func (NullableGetPaymentMethodResponse) IsSet ¶
func (v NullableGetPaymentMethodResponse) IsSet() bool
func (NullableGetPaymentMethodResponse) MarshalJSON ¶
func (v NullableGetPaymentMethodResponse) MarshalJSON() ([]byte, error)
func (*NullableGetPaymentMethodResponse) Set ¶
func (v *NullableGetPaymentMethodResponse) Set(val *GetPaymentMethodResponse)
func (*NullableGetPaymentMethodResponse) UnmarshalJSON ¶
func (v *NullableGetPaymentMethodResponse) UnmarshalJSON(src []byte) error
func (*NullableGetPaymentMethodResponse) Unset ¶
func (v *NullableGetPaymentMethodResponse) Unset()
type NullableGetTransactionsResponse ¶
type NullableGetTransactionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetTransactionsResponse ¶
func NewNullableGetTransactionsResponse(val *GetTransactionsResponse) *NullableGetTransactionsResponse
func (NullableGetTransactionsResponse) Get ¶
func (v NullableGetTransactionsResponse) Get() *GetTransactionsResponse
func (NullableGetTransactionsResponse) IsSet ¶
func (v NullableGetTransactionsResponse) IsSet() bool
func (NullableGetTransactionsResponse) MarshalJSON ¶
func (v NullableGetTransactionsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetTransactionsResponse) Set ¶
func (v *NullableGetTransactionsResponse) Set(val *GetTransactionsResponse)
func (*NullableGetTransactionsResponse) UnmarshalJSON ¶
func (v *NullableGetTransactionsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetTransactionsResponse) Unset ¶
func (v *NullableGetTransactionsResponse) Unset()
type NullableGetTransfersResponse ¶
type NullableGetTransfersResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetTransfersResponse ¶
func NewNullableGetTransfersResponse(val *GetTransfersResponse) *NullableGetTransfersResponse
func (NullableGetTransfersResponse) Get ¶
func (v NullableGetTransfersResponse) Get() *GetTransfersResponse
func (NullableGetTransfersResponse) IsSet ¶
func (v NullableGetTransfersResponse) IsSet() bool
func (NullableGetTransfersResponse) MarshalJSON ¶
func (v NullableGetTransfersResponse) MarshalJSON() ([]byte, error)
func (*NullableGetTransfersResponse) Set ¶
func (v *NullableGetTransfersResponse) Set(val *GetTransfersResponse)
func (*NullableGetTransfersResponse) UnmarshalJSON ¶
func (v *NullableGetTransfersResponse) UnmarshalJSON(src []byte) error
func (*NullableGetTransfersResponse) Unset ¶
func (v *NullableGetTransfersResponse) Unset()
type NullableGetWebhookKeysResponse ¶
type NullableGetWebhookKeysResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetWebhookKeysResponse ¶
func NewNullableGetWebhookKeysResponse(val *GetWebhookKeysResponse) *NullableGetWebhookKeysResponse
func (NullableGetWebhookKeysResponse) Get ¶
func (v NullableGetWebhookKeysResponse) Get() *GetWebhookKeysResponse
func (NullableGetWebhookKeysResponse) IsSet ¶
func (v NullableGetWebhookKeysResponse) IsSet() bool
func (NullableGetWebhookKeysResponse) MarshalJSON ¶
func (v NullableGetWebhookKeysResponse) MarshalJSON() ([]byte, error)
func (*NullableGetWebhookKeysResponse) Set ¶
func (v *NullableGetWebhookKeysResponse) Set(val *GetWebhookKeysResponse)
func (*NullableGetWebhookKeysResponse) UnmarshalJSON ¶
func (v *NullableGetWebhookKeysResponse) UnmarshalJSON(src []byte) error
func (*NullableGetWebhookKeysResponse) Unset ¶
func (v *NullableGetWebhookKeysResponse) Unset()
type NullableGetWebhooksResponse ¶
type NullableGetWebhooksResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetWebhooksResponse ¶
func NewNullableGetWebhooksResponse(val *GetWebhooksResponse) *NullableGetWebhooksResponse
func (NullableGetWebhooksResponse) Get ¶
func (v NullableGetWebhooksResponse) Get() *GetWebhooksResponse
func (NullableGetWebhooksResponse) IsSet ¶
func (v NullableGetWebhooksResponse) IsSet() bool
func (NullableGetWebhooksResponse) MarshalJSON ¶
func (v NullableGetWebhooksResponse) MarshalJSON() ([]byte, error)
func (*NullableGetWebhooksResponse) Set ¶
func (v *NullableGetWebhooksResponse) Set(val *GetWebhooksResponse)
func (*NullableGetWebhooksResponse) UnmarshalJSON ¶
func (v *NullableGetWebhooksResponse) UnmarshalJSON(src []byte) error
func (*NullableGetWebhooksResponse) Unset ¶
func (v *NullableGetWebhooksResponse) 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 NullableLogResponse ¶
type NullableLogResponse struct {
// contains filtered or unexported fields
}
func NewNullableLogResponse ¶
func NewNullableLogResponse(val *LogResponse) *NullableLogResponse
func (NullableLogResponse) Get ¶
func (v NullableLogResponse) Get() *LogResponse
func (NullableLogResponse) IsSet ¶
func (v NullableLogResponse) IsSet() bool
func (NullableLogResponse) MarshalJSON ¶
func (v NullableLogResponse) MarshalJSON() ([]byte, error)
func (*NullableLogResponse) Set ¶
func (v *NullableLogResponse) Set(val *LogResponse)
func (*NullableLogResponse) UnmarshalJSON ¶
func (v *NullableLogResponse) UnmarshalJSON(src []byte) error
func (*NullableLogResponse) Unset ¶
func (v *NullableLogResponse) Unset()
type NullableLogsResponse ¶
type NullableLogsResponse struct {
// contains filtered or unexported fields
}
func NewNullableLogsResponse ¶
func NewNullableLogsResponse(val *LogsResponse) *NullableLogsResponse
func (NullableLogsResponse) Get ¶
func (v NullableLogsResponse) Get() *LogsResponse
func (NullableLogsResponse) IsSet ¶
func (v NullableLogsResponse) IsSet() bool
func (NullableLogsResponse) MarshalJSON ¶
func (v NullableLogsResponse) MarshalJSON() ([]byte, error)
func (*NullableLogsResponse) Set ¶
func (v *NullableLogsResponse) Set(val *LogsResponse)
func (*NullableLogsResponse) UnmarshalJSON ¶
func (v *NullableLogsResponse) UnmarshalJSON(src []byte) error
func (*NullableLogsResponse) Unset ¶
func (v *NullableLogsResponse) Unset()
type NullableLogsResponseData ¶
type NullableLogsResponseData struct {
// contains filtered or unexported fields
}
func NewNullableLogsResponseData ¶
func NewNullableLogsResponseData(val *LogsResponseData) *NullableLogsResponseData
func (NullableLogsResponseData) Get ¶
func (v NullableLogsResponseData) Get() *LogsResponseData
func (NullableLogsResponseData) IsSet ¶
func (v NullableLogsResponseData) IsSet() bool
func (NullableLogsResponseData) MarshalJSON ¶
func (v NullableLogsResponseData) MarshalJSON() ([]byte, error)
func (*NullableLogsResponseData) Set ¶
func (v *NullableLogsResponseData) Set(val *LogsResponseData)
func (*NullableLogsResponseData) UnmarshalJSON ¶
func (v *NullableLogsResponseData) UnmarshalJSON(src []byte) error
func (*NullableLogsResponseData) Unset ¶
func (v *NullableLogsResponseData) 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 NullableOrderCaptureRequest ¶
type NullableOrderCaptureRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderCaptureRequest ¶
func NewNullableOrderCaptureRequest(val *OrderCaptureRequest) *NullableOrderCaptureRequest
func (NullableOrderCaptureRequest) Get ¶
func (v NullableOrderCaptureRequest) Get() *OrderCaptureRequest
func (NullableOrderCaptureRequest) IsSet ¶
func (v NullableOrderCaptureRequest) IsSet() bool
func (NullableOrderCaptureRequest) MarshalJSON ¶
func (v NullableOrderCaptureRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderCaptureRequest) Set ¶
func (v *NullableOrderCaptureRequest) Set(val *OrderCaptureRequest)
func (*NullableOrderCaptureRequest) UnmarshalJSON ¶
func (v *NullableOrderCaptureRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderCaptureRequest) Unset ¶
func (v *NullableOrderCaptureRequest) Unset()
type NullableOrderCustomerInfoResponse ¶
type NullableOrderCustomerInfoResponse struct {
// contains filtered or unexported fields
}
func NewNullableOrderCustomerInfoResponse ¶
func NewNullableOrderCustomerInfoResponse(val *OrderCustomerInfoResponse) *NullableOrderCustomerInfoResponse
func (NullableOrderCustomerInfoResponse) Get ¶
func (v NullableOrderCustomerInfoResponse) Get() *OrderCustomerInfoResponse
func (NullableOrderCustomerInfoResponse) IsSet ¶
func (v NullableOrderCustomerInfoResponse) IsSet() bool
func (NullableOrderCustomerInfoResponse) MarshalJSON ¶
func (v NullableOrderCustomerInfoResponse) MarshalJSON() ([]byte, error)
func (*NullableOrderCustomerInfoResponse) Set ¶
func (v *NullableOrderCustomerInfoResponse) Set(val *OrderCustomerInfoResponse)
func (*NullableOrderCustomerInfoResponse) UnmarshalJSON ¶
func (v *NullableOrderCustomerInfoResponse) UnmarshalJSON(src []byte) error
func (*NullableOrderCustomerInfoResponse) Unset ¶
func (v *NullableOrderCustomerInfoResponse) Unset()
type NullableOrderDiscountLinesRequest ¶
type NullableOrderDiscountLinesRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderDiscountLinesRequest ¶
func NewNullableOrderDiscountLinesRequest(val *OrderDiscountLinesRequest) *NullableOrderDiscountLinesRequest
func (NullableOrderDiscountLinesRequest) Get ¶
func (v NullableOrderDiscountLinesRequest) Get() *OrderDiscountLinesRequest
func (NullableOrderDiscountLinesRequest) IsSet ¶
func (v NullableOrderDiscountLinesRequest) IsSet() bool
func (NullableOrderDiscountLinesRequest) MarshalJSON ¶
func (v NullableOrderDiscountLinesRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderDiscountLinesRequest) Set ¶
func (v *NullableOrderDiscountLinesRequest) Set(val *OrderDiscountLinesRequest)
func (*NullableOrderDiscountLinesRequest) UnmarshalJSON ¶
func (v *NullableOrderDiscountLinesRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderDiscountLinesRequest) Unset ¶
func (v *NullableOrderDiscountLinesRequest) Unset()
type NullableOrderFiscalEntityAddressResponse ¶
type NullableOrderFiscalEntityAddressResponse struct {
// contains filtered or unexported fields
}
func NewNullableOrderFiscalEntityAddressResponse ¶
func NewNullableOrderFiscalEntityAddressResponse(val *OrderFiscalEntityAddressResponse) *NullableOrderFiscalEntityAddressResponse
func (NullableOrderFiscalEntityAddressResponse) IsSet ¶
func (v NullableOrderFiscalEntityAddressResponse) IsSet() bool
func (NullableOrderFiscalEntityAddressResponse) MarshalJSON ¶
func (v NullableOrderFiscalEntityAddressResponse) MarshalJSON() ([]byte, error)
func (*NullableOrderFiscalEntityAddressResponse) Set ¶
func (v *NullableOrderFiscalEntityAddressResponse) Set(val *OrderFiscalEntityAddressResponse)
func (*NullableOrderFiscalEntityAddressResponse) UnmarshalJSON ¶
func (v *NullableOrderFiscalEntityAddressResponse) UnmarshalJSON(src []byte) error
func (*NullableOrderFiscalEntityAddressResponse) Unset ¶
func (v *NullableOrderFiscalEntityAddressResponse) Unset()
type NullableOrderFiscalEntityRequest ¶
type NullableOrderFiscalEntityRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderFiscalEntityRequest ¶
func NewNullableOrderFiscalEntityRequest(val *OrderFiscalEntityRequest) *NullableOrderFiscalEntityRequest
func (NullableOrderFiscalEntityRequest) Get ¶
func (v NullableOrderFiscalEntityRequest) Get() *OrderFiscalEntityRequest
func (NullableOrderFiscalEntityRequest) IsSet ¶
func (v NullableOrderFiscalEntityRequest) IsSet() bool
func (NullableOrderFiscalEntityRequest) MarshalJSON ¶
func (v NullableOrderFiscalEntityRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderFiscalEntityRequest) Set ¶
func (v *NullableOrderFiscalEntityRequest) Set(val *OrderFiscalEntityRequest)
func (*NullableOrderFiscalEntityRequest) UnmarshalJSON ¶
func (v *NullableOrderFiscalEntityRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderFiscalEntityRequest) Unset ¶
func (v *NullableOrderFiscalEntityRequest) Unset()
type NullableOrderFiscalEntityResponse ¶
type NullableOrderFiscalEntityResponse struct {
// contains filtered or unexported fields
}
func NewNullableOrderFiscalEntityResponse ¶
func NewNullableOrderFiscalEntityResponse(val *OrderFiscalEntityResponse) *NullableOrderFiscalEntityResponse
func (NullableOrderFiscalEntityResponse) Get ¶
func (v NullableOrderFiscalEntityResponse) Get() *OrderFiscalEntityResponse
func (NullableOrderFiscalEntityResponse) IsSet ¶
func (v NullableOrderFiscalEntityResponse) IsSet() bool
func (NullableOrderFiscalEntityResponse) MarshalJSON ¶
func (v NullableOrderFiscalEntityResponse) MarshalJSON() ([]byte, error)
func (*NullableOrderFiscalEntityResponse) Set ¶
func (v *NullableOrderFiscalEntityResponse) Set(val *OrderFiscalEntityResponse)
func (*NullableOrderFiscalEntityResponse) UnmarshalJSON ¶
func (v *NullableOrderFiscalEntityResponse) UnmarshalJSON(src []byte) error
func (*NullableOrderFiscalEntityResponse) Unset ¶
func (v *NullableOrderFiscalEntityResponse) Unset()
type NullableOrderNextActionResponse ¶
type NullableOrderNextActionResponse struct {
// contains filtered or unexported fields
}
func NewNullableOrderNextActionResponse ¶
func NewNullableOrderNextActionResponse(val *OrderNextActionResponse) *NullableOrderNextActionResponse
func (NullableOrderNextActionResponse) Get ¶
func (v NullableOrderNextActionResponse) Get() *OrderNextActionResponse
func (NullableOrderNextActionResponse) IsSet ¶
func (v NullableOrderNextActionResponse) IsSet() bool
func (NullableOrderNextActionResponse) MarshalJSON ¶
func (v NullableOrderNextActionResponse) MarshalJSON() ([]byte, error)
func (*NullableOrderNextActionResponse) Set ¶
func (v *NullableOrderNextActionResponse) Set(val *OrderNextActionResponse)
func (*NullableOrderNextActionResponse) UnmarshalJSON ¶
func (v *NullableOrderNextActionResponse) UnmarshalJSON(src []byte) error
func (*NullableOrderNextActionResponse) Unset ¶
func (v *NullableOrderNextActionResponse) Unset()
type NullableOrderNextActionResponseRedirectToUrl ¶
type NullableOrderNextActionResponseRedirectToUrl struct {
// contains filtered or unexported fields
}
func NewNullableOrderNextActionResponseRedirectToUrl ¶
func NewNullableOrderNextActionResponseRedirectToUrl(val *OrderNextActionResponseRedirectToUrl) *NullableOrderNextActionResponseRedirectToUrl
func (NullableOrderNextActionResponseRedirectToUrl) IsSet ¶
func (v NullableOrderNextActionResponseRedirectToUrl) IsSet() bool
func (NullableOrderNextActionResponseRedirectToUrl) MarshalJSON ¶
func (v NullableOrderNextActionResponseRedirectToUrl) MarshalJSON() ([]byte, error)
func (*NullableOrderNextActionResponseRedirectToUrl) Set ¶
func (v *NullableOrderNextActionResponseRedirectToUrl) Set(val *OrderNextActionResponseRedirectToUrl)
func (*NullableOrderNextActionResponseRedirectToUrl) UnmarshalJSON ¶
func (v *NullableOrderNextActionResponseRedirectToUrl) UnmarshalJSON(src []byte) error
func (*NullableOrderNextActionResponseRedirectToUrl) Unset ¶
func (v *NullableOrderNextActionResponseRedirectToUrl) Unset()
type NullableOrderRefundRequest ¶
type NullableOrderRefundRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderRefundRequest ¶
func NewNullableOrderRefundRequest(val *OrderRefundRequest) *NullableOrderRefundRequest
func (NullableOrderRefundRequest) Get ¶
func (v NullableOrderRefundRequest) Get() *OrderRefundRequest
func (NullableOrderRefundRequest) IsSet ¶
func (v NullableOrderRefundRequest) IsSet() bool
func (NullableOrderRefundRequest) MarshalJSON ¶
func (v NullableOrderRefundRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderRefundRequest) Set ¶
func (v *NullableOrderRefundRequest) Set(val *OrderRefundRequest)
func (*NullableOrderRefundRequest) UnmarshalJSON ¶
func (v *NullableOrderRefundRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderRefundRequest) Unset ¶
func (v *NullableOrderRefundRequest) Unset()
type NullableOrderRequest ¶
type NullableOrderRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderRequest ¶
func NewNullableOrderRequest(val *OrderRequest) *NullableOrderRequest
func (NullableOrderRequest) Get ¶
func (v NullableOrderRequest) Get() *OrderRequest
func (NullableOrderRequest) IsSet ¶
func (v NullableOrderRequest) IsSet() bool
func (NullableOrderRequest) MarshalJSON ¶
func (v NullableOrderRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderRequest) Set ¶
func (v *NullableOrderRequest) Set(val *OrderRequest)
func (*NullableOrderRequest) UnmarshalJSON ¶
func (v *NullableOrderRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderRequest) Unset ¶
func (v *NullableOrderRequest) Unset()
type NullableOrderRequestCustomerInfo ¶
type NullableOrderRequestCustomerInfo struct {
// contains filtered or unexported fields
}
func NewNullableOrderRequestCustomerInfo ¶
func NewNullableOrderRequestCustomerInfo(val *OrderRequestCustomerInfo) *NullableOrderRequestCustomerInfo
func (NullableOrderRequestCustomerInfo) Get ¶
func (v NullableOrderRequestCustomerInfo) Get() *OrderRequestCustomerInfo
func (NullableOrderRequestCustomerInfo) IsSet ¶
func (v NullableOrderRequestCustomerInfo) IsSet() bool
func (NullableOrderRequestCustomerInfo) MarshalJSON ¶
func (v NullableOrderRequestCustomerInfo) MarshalJSON() ([]byte, error)
func (*NullableOrderRequestCustomerInfo) Set ¶
func (v *NullableOrderRequestCustomerInfo) Set(val *OrderRequestCustomerInfo)
func (*NullableOrderRequestCustomerInfo) UnmarshalJSON ¶
func (v *NullableOrderRequestCustomerInfo) UnmarshalJSON(src []byte) error
func (*NullableOrderRequestCustomerInfo) Unset ¶
func (v *NullableOrderRequestCustomerInfo) Unset()
type NullableOrderResponse ¶
type NullableOrderResponse struct {
// contains filtered or unexported fields
}
func NewNullableOrderResponse ¶
func NewNullableOrderResponse(val *OrderResponse) *NullableOrderResponse
func (NullableOrderResponse) Get ¶
func (v NullableOrderResponse) Get() *OrderResponse
func (NullableOrderResponse) IsSet ¶
func (v NullableOrderResponse) IsSet() bool
func (NullableOrderResponse) MarshalJSON ¶
func (v NullableOrderResponse) MarshalJSON() ([]byte, error)
func (*NullableOrderResponse) Set ¶
func (v *NullableOrderResponse) Set(val *OrderResponse)
func (*NullableOrderResponse) UnmarshalJSON ¶
func (v *NullableOrderResponse) UnmarshalJSON(src []byte) error
func (*NullableOrderResponse) Unset ¶
func (v *NullableOrderResponse) Unset()
type NullableOrderResponseCharges ¶
type NullableOrderResponseCharges struct {
// contains filtered or unexported fields
}
func NewNullableOrderResponseCharges ¶
func NewNullableOrderResponseCharges(val *OrderResponseCharges) *NullableOrderResponseCharges
func (NullableOrderResponseCharges) Get ¶
func (v NullableOrderResponseCharges) Get() *OrderResponseCharges
func (NullableOrderResponseCharges) IsSet ¶
func (v NullableOrderResponseCharges) IsSet() bool
func (NullableOrderResponseCharges) MarshalJSON ¶
func (v NullableOrderResponseCharges) MarshalJSON() ([]byte, error)
func (*NullableOrderResponseCharges) Set ¶
func (v *NullableOrderResponseCharges) Set(val *OrderResponseCharges)
func (*NullableOrderResponseCharges) UnmarshalJSON ¶
func (v *NullableOrderResponseCharges) UnmarshalJSON(src []byte) error
func (*NullableOrderResponseCharges) Unset ¶
func (v *NullableOrderResponseCharges) Unset()
type NullableOrderResponseCheckout ¶
type NullableOrderResponseCheckout struct {
// contains filtered or unexported fields
}
func NewNullableOrderResponseCheckout ¶
func NewNullableOrderResponseCheckout(val *OrderResponseCheckout) *NullableOrderResponseCheckout
func (NullableOrderResponseCheckout) Get ¶
func (v NullableOrderResponseCheckout) Get() *OrderResponseCheckout
func (NullableOrderResponseCheckout) IsSet ¶
func (v NullableOrderResponseCheckout) IsSet() bool
func (NullableOrderResponseCheckout) MarshalJSON ¶
func (v NullableOrderResponseCheckout) MarshalJSON() ([]byte, error)
func (*NullableOrderResponseCheckout) Set ¶
func (v *NullableOrderResponseCheckout) Set(val *OrderResponseCheckout)
func (*NullableOrderResponseCheckout) UnmarshalJSON ¶
func (v *NullableOrderResponseCheckout) UnmarshalJSON(src []byte) error
func (*NullableOrderResponseCheckout) Unset ¶
func (v *NullableOrderResponseCheckout) Unset()
type NullableOrderResponseCustomerInfo ¶
type NullableOrderResponseCustomerInfo struct {
// contains filtered or unexported fields
}
func NewNullableOrderResponseCustomerInfo ¶
func NewNullableOrderResponseCustomerInfo(val *OrderResponseCustomerInfo) *NullableOrderResponseCustomerInfo
func (NullableOrderResponseCustomerInfo) Get ¶
func (v NullableOrderResponseCustomerInfo) Get() *OrderResponseCustomerInfo
func (NullableOrderResponseCustomerInfo) IsSet ¶
func (v NullableOrderResponseCustomerInfo) IsSet() bool
func (NullableOrderResponseCustomerInfo) MarshalJSON ¶
func (v NullableOrderResponseCustomerInfo) MarshalJSON() ([]byte, error)
func (*NullableOrderResponseCustomerInfo) Set ¶
func (v *NullableOrderResponseCustomerInfo) Set(val *OrderResponseCustomerInfo)
func (*NullableOrderResponseCustomerInfo) UnmarshalJSON ¶
func (v *NullableOrderResponseCustomerInfo) UnmarshalJSON(src []byte) error
func (*NullableOrderResponseCustomerInfo) Unset ¶
func (v *NullableOrderResponseCustomerInfo) Unset()
type NullableOrderResponseDiscountLines ¶
type NullableOrderResponseDiscountLines struct {
// contains filtered or unexported fields
}
func NewNullableOrderResponseDiscountLines ¶
func NewNullableOrderResponseDiscountLines(val *OrderResponseDiscountLines) *NullableOrderResponseDiscountLines
func (NullableOrderResponseDiscountLines) Get ¶
func (v NullableOrderResponseDiscountLines) Get() *OrderResponseDiscountLines
func (NullableOrderResponseDiscountLines) IsSet ¶
func (v NullableOrderResponseDiscountLines) IsSet() bool
func (NullableOrderResponseDiscountLines) MarshalJSON ¶
func (v NullableOrderResponseDiscountLines) MarshalJSON() ([]byte, error)
func (*NullableOrderResponseDiscountLines) Set ¶
func (v *NullableOrderResponseDiscountLines) Set(val *OrderResponseDiscountLines)
func (*NullableOrderResponseDiscountLines) UnmarshalJSON ¶
func (v *NullableOrderResponseDiscountLines) UnmarshalJSON(src []byte) error
func (*NullableOrderResponseDiscountLines) Unset ¶
func (v *NullableOrderResponseDiscountLines) Unset()
type NullableOrderResponseProducts ¶
type NullableOrderResponseProducts struct {
// contains filtered or unexported fields
}
func NewNullableOrderResponseProducts ¶
func NewNullableOrderResponseProducts(val *OrderResponseProducts) *NullableOrderResponseProducts
func (NullableOrderResponseProducts) Get ¶
func (v NullableOrderResponseProducts) Get() *OrderResponseProducts
func (NullableOrderResponseProducts) IsSet ¶
func (v NullableOrderResponseProducts) IsSet() bool
func (NullableOrderResponseProducts) MarshalJSON ¶
func (v NullableOrderResponseProducts) MarshalJSON() ([]byte, error)
func (*NullableOrderResponseProducts) Set ¶
func (v *NullableOrderResponseProducts) Set(val *OrderResponseProducts)
func (*NullableOrderResponseProducts) UnmarshalJSON ¶
func (v *NullableOrderResponseProducts) UnmarshalJSON(src []byte) error
func (*NullableOrderResponseProducts) Unset ¶
func (v *NullableOrderResponseProducts) Unset()
type NullableOrderResponseShippingContact ¶
type NullableOrderResponseShippingContact struct {
// contains filtered or unexported fields
}
func NewNullableOrderResponseShippingContact ¶
func NewNullableOrderResponseShippingContact(val *OrderResponseShippingContact) *NullableOrderResponseShippingContact
func (NullableOrderResponseShippingContact) Get ¶
func (v NullableOrderResponseShippingContact) Get() *OrderResponseShippingContact
func (NullableOrderResponseShippingContact) IsSet ¶
func (v NullableOrderResponseShippingContact) IsSet() bool
func (NullableOrderResponseShippingContact) MarshalJSON ¶
func (v NullableOrderResponseShippingContact) MarshalJSON() ([]byte, error)
func (*NullableOrderResponseShippingContact) Set ¶
func (v *NullableOrderResponseShippingContact) Set(val *OrderResponseShippingContact)
func (*NullableOrderResponseShippingContact) UnmarshalJSON ¶
func (v *NullableOrderResponseShippingContact) UnmarshalJSON(src []byte) error
func (*NullableOrderResponseShippingContact) Unset ¶
func (v *NullableOrderResponseShippingContact) Unset()
type NullableOrderTaxRequest ¶
type NullableOrderTaxRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderTaxRequest ¶
func NewNullableOrderTaxRequest(val *OrderTaxRequest) *NullableOrderTaxRequest
func (NullableOrderTaxRequest) Get ¶
func (v NullableOrderTaxRequest) Get() *OrderTaxRequest
func (NullableOrderTaxRequest) IsSet ¶
func (v NullableOrderTaxRequest) IsSet() bool
func (NullableOrderTaxRequest) MarshalJSON ¶
func (v NullableOrderTaxRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderTaxRequest) Set ¶
func (v *NullableOrderTaxRequest) Set(val *OrderTaxRequest)
func (*NullableOrderTaxRequest) UnmarshalJSON ¶
func (v *NullableOrderTaxRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderTaxRequest) Unset ¶
func (v *NullableOrderTaxRequest) Unset()
type NullableOrderUpdateFiscalEntityRequest ¶
type NullableOrderUpdateFiscalEntityRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderUpdateFiscalEntityRequest ¶
func NewNullableOrderUpdateFiscalEntityRequest(val *OrderUpdateFiscalEntityRequest) *NullableOrderUpdateFiscalEntityRequest
func (NullableOrderUpdateFiscalEntityRequest) Get ¶
func (v NullableOrderUpdateFiscalEntityRequest) Get() *OrderUpdateFiscalEntityRequest
func (NullableOrderUpdateFiscalEntityRequest) IsSet ¶
func (v NullableOrderUpdateFiscalEntityRequest) IsSet() bool
func (NullableOrderUpdateFiscalEntityRequest) MarshalJSON ¶
func (v NullableOrderUpdateFiscalEntityRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderUpdateFiscalEntityRequest) Set ¶
func (v *NullableOrderUpdateFiscalEntityRequest) Set(val *OrderUpdateFiscalEntityRequest)
func (*NullableOrderUpdateFiscalEntityRequest) UnmarshalJSON ¶
func (v *NullableOrderUpdateFiscalEntityRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderUpdateFiscalEntityRequest) Unset ¶
func (v *NullableOrderUpdateFiscalEntityRequest) Unset()
type NullableOrderUpdateRequest ¶
type NullableOrderUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderUpdateRequest ¶
func NewNullableOrderUpdateRequest(val *OrderUpdateRequest) *NullableOrderUpdateRequest
func (NullableOrderUpdateRequest) Get ¶
func (v NullableOrderUpdateRequest) Get() *OrderUpdateRequest
func (NullableOrderUpdateRequest) IsSet ¶
func (v NullableOrderUpdateRequest) IsSet() bool
func (NullableOrderUpdateRequest) MarshalJSON ¶
func (v NullableOrderUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderUpdateRequest) Set ¶
func (v *NullableOrderUpdateRequest) Set(val *OrderUpdateRequest)
func (*NullableOrderUpdateRequest) UnmarshalJSON ¶
func (v *NullableOrderUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderUpdateRequest) Unset ¶
func (v *NullableOrderUpdateRequest) Unset()
type NullableOrderUpdateRequestCustomerInfo ¶
type NullableOrderUpdateRequestCustomerInfo struct {
// contains filtered or unexported fields
}
func NewNullableOrderUpdateRequestCustomerInfo ¶
func NewNullableOrderUpdateRequestCustomerInfo(val *OrderUpdateRequestCustomerInfo) *NullableOrderUpdateRequestCustomerInfo
func (NullableOrderUpdateRequestCustomerInfo) Get ¶
func (v NullableOrderUpdateRequestCustomerInfo) Get() *OrderUpdateRequestCustomerInfo
func (NullableOrderUpdateRequestCustomerInfo) IsSet ¶
func (v NullableOrderUpdateRequestCustomerInfo) IsSet() bool
func (NullableOrderUpdateRequestCustomerInfo) MarshalJSON ¶
func (v NullableOrderUpdateRequestCustomerInfo) MarshalJSON() ([]byte, error)
func (*NullableOrderUpdateRequestCustomerInfo) Set ¶
func (v *NullableOrderUpdateRequestCustomerInfo) Set(val *OrderUpdateRequestCustomerInfo)
func (*NullableOrderUpdateRequestCustomerInfo) UnmarshalJSON ¶
func (v *NullableOrderUpdateRequestCustomerInfo) UnmarshalJSON(src []byte) error
func (*NullableOrderUpdateRequestCustomerInfo) Unset ¶
func (v *NullableOrderUpdateRequestCustomerInfo) Unset()
type NullableOrdersResponse ¶
type NullableOrdersResponse struct {
// contains filtered or unexported fields
}
func NewNullableOrdersResponse ¶
func NewNullableOrdersResponse(val *OrdersResponse) *NullableOrdersResponse
func (NullableOrdersResponse) Get ¶
func (v NullableOrdersResponse) Get() *OrdersResponse
func (NullableOrdersResponse) IsSet ¶
func (v NullableOrdersResponse) IsSet() bool
func (NullableOrdersResponse) MarshalJSON ¶
func (v NullableOrdersResponse) MarshalJSON() ([]byte, error)
func (*NullableOrdersResponse) Set ¶
func (v *NullableOrdersResponse) Set(val *OrdersResponse)
func (*NullableOrdersResponse) UnmarshalJSON ¶
func (v *NullableOrdersResponse) UnmarshalJSON(src []byte) error
func (*NullableOrdersResponse) Unset ¶
func (v *NullableOrdersResponse) Unset()
type NullablePage ¶
type NullablePage struct {
// contains filtered or unexported fields
}
func NewNullablePage ¶
func NewNullablePage(val *Page) *NullablePage
func (NullablePage) Get ¶
func (v NullablePage) Get() *Page
func (NullablePage) IsSet ¶
func (v NullablePage) IsSet() bool
func (NullablePage) MarshalJSON ¶
func (v NullablePage) MarshalJSON() ([]byte, error)
func (*NullablePage) Set ¶
func (v *NullablePage) Set(val *Page)
func (*NullablePage) UnmarshalJSON ¶
func (v *NullablePage) UnmarshalJSON(src []byte) error
func (*NullablePage) Unset ¶
func (v *NullablePage) Unset()
type NullablePagination ¶
type NullablePagination struct {
// contains filtered or unexported fields
}
func NewNullablePagination ¶
func NewNullablePagination(val *Pagination) *NullablePagination
func (NullablePagination) Get ¶
func (v NullablePagination) Get() *Pagination
func (NullablePagination) IsSet ¶
func (v NullablePagination) IsSet() bool
func (NullablePagination) MarshalJSON ¶
func (v NullablePagination) MarshalJSON() ([]byte, error)
func (*NullablePagination) Set ¶
func (v *NullablePagination) Set(val *Pagination)
func (*NullablePagination) UnmarshalJSON ¶
func (v *NullablePagination) UnmarshalJSON(src []byte) error
func (*NullablePagination) Unset ¶
func (v *NullablePagination) Unset()
type NullablePaymentMethod ¶
type NullablePaymentMethod struct {
// contains filtered or unexported fields
}
func NewNullablePaymentMethod ¶
func NewNullablePaymentMethod(val *PaymentMethod) *NullablePaymentMethod
func (NullablePaymentMethod) Get ¶
func (v NullablePaymentMethod) Get() *PaymentMethod
func (NullablePaymentMethod) IsSet ¶
func (v NullablePaymentMethod) IsSet() bool
func (NullablePaymentMethod) MarshalJSON ¶
func (v NullablePaymentMethod) MarshalJSON() ([]byte, error)
func (*NullablePaymentMethod) Set ¶
func (v *NullablePaymentMethod) Set(val *PaymentMethod)
func (*NullablePaymentMethod) UnmarshalJSON ¶
func (v *NullablePaymentMethod) UnmarshalJSON(src []byte) error
func (*NullablePaymentMethod) Unset ¶
func (v *NullablePaymentMethod) Unset()
type NullablePaymentMethodCash ¶
type NullablePaymentMethodCash struct {
// contains filtered or unexported fields
}
func NewNullablePaymentMethodCash ¶
func NewNullablePaymentMethodCash(val *PaymentMethodCash) *NullablePaymentMethodCash
func (NullablePaymentMethodCash) Get ¶
func (v NullablePaymentMethodCash) Get() *PaymentMethodCash
func (NullablePaymentMethodCash) IsSet ¶
func (v NullablePaymentMethodCash) IsSet() bool
func (NullablePaymentMethodCash) MarshalJSON ¶
func (v NullablePaymentMethodCash) MarshalJSON() ([]byte, error)
func (*NullablePaymentMethodCash) Set ¶
func (v *NullablePaymentMethodCash) Set(val *PaymentMethodCash)
func (*NullablePaymentMethodCash) UnmarshalJSON ¶
func (v *NullablePaymentMethodCash) UnmarshalJSON(src []byte) error
func (*NullablePaymentMethodCash) Unset ¶
func (v *NullablePaymentMethodCash) Unset()
type NullablePaymentMethodCashRequest ¶
type NullablePaymentMethodCashRequest struct {
// contains filtered or unexported fields
}
func NewNullablePaymentMethodCashRequest ¶
func NewNullablePaymentMethodCashRequest(val *PaymentMethodCashRequest) *NullablePaymentMethodCashRequest
func (NullablePaymentMethodCashRequest) Get ¶
func (v NullablePaymentMethodCashRequest) Get() *PaymentMethodCashRequest
func (NullablePaymentMethodCashRequest) IsSet ¶
func (v NullablePaymentMethodCashRequest) IsSet() bool
func (NullablePaymentMethodCashRequest) MarshalJSON ¶
func (v NullablePaymentMethodCashRequest) MarshalJSON() ([]byte, error)
func (*NullablePaymentMethodCashRequest) Set ¶
func (v *NullablePaymentMethodCashRequest) Set(val *PaymentMethodCashRequest)
func (*NullablePaymentMethodCashRequest) UnmarshalJSON ¶
func (v *NullablePaymentMethodCashRequest) UnmarshalJSON(src []byte) error
func (*NullablePaymentMethodCashRequest) Unset ¶
func (v *NullablePaymentMethodCashRequest) Unset()
type NullablePaymentMethodCashResponse ¶
type NullablePaymentMethodCashResponse struct {
// contains filtered or unexported fields
}
func NewNullablePaymentMethodCashResponse ¶
func NewNullablePaymentMethodCashResponse(val *PaymentMethodCashResponse) *NullablePaymentMethodCashResponse
func (NullablePaymentMethodCashResponse) Get ¶
func (v NullablePaymentMethodCashResponse) Get() *PaymentMethodCashResponse
func (NullablePaymentMethodCashResponse) IsSet ¶
func (v NullablePaymentMethodCashResponse) IsSet() bool
func (NullablePaymentMethodCashResponse) MarshalJSON ¶
func (v NullablePaymentMethodCashResponse) MarshalJSON() ([]byte, error)
func (*NullablePaymentMethodCashResponse) Set ¶
func (v *NullablePaymentMethodCashResponse) Set(val *PaymentMethodCashResponse)
func (*NullablePaymentMethodCashResponse) UnmarshalJSON ¶
func (v *NullablePaymentMethodCashResponse) UnmarshalJSON(src []byte) error
func (*NullablePaymentMethodCashResponse) Unset ¶
func (v *NullablePaymentMethodCashResponse) Unset()
type NullablePaymentMethodResponse ¶
type NullablePaymentMethodResponse struct {
// contains filtered or unexported fields
}
func NewNullablePaymentMethodResponse ¶
func NewNullablePaymentMethodResponse(val *PaymentMethodResponse) *NullablePaymentMethodResponse
func (NullablePaymentMethodResponse) Get ¶
func (v NullablePaymentMethodResponse) Get() *PaymentMethodResponse
func (NullablePaymentMethodResponse) IsSet ¶
func (v NullablePaymentMethodResponse) IsSet() bool
func (NullablePaymentMethodResponse) MarshalJSON ¶
func (v NullablePaymentMethodResponse) MarshalJSON() ([]byte, error)
func (*NullablePaymentMethodResponse) Set ¶
func (v *NullablePaymentMethodResponse) Set(val *PaymentMethodResponse)
func (*NullablePaymentMethodResponse) UnmarshalJSON ¶
func (v *NullablePaymentMethodResponse) UnmarshalJSON(src []byte) error
func (*NullablePaymentMethodResponse) Unset ¶
func (v *NullablePaymentMethodResponse) 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 NullableProductDataResponse ¶
type NullableProductDataResponse struct {
// contains filtered or unexported fields
}
func NewNullableProductDataResponse ¶
func NewNullableProductDataResponse(val *ProductDataResponse) *NullableProductDataResponse
func (NullableProductDataResponse) Get ¶
func (v NullableProductDataResponse) Get() *ProductDataResponse
func (NullableProductDataResponse) IsSet ¶
func (v NullableProductDataResponse) IsSet() bool
func (NullableProductDataResponse) MarshalJSON ¶
func (v NullableProductDataResponse) MarshalJSON() ([]byte, error)
func (*NullableProductDataResponse) Set ¶
func (v *NullableProductDataResponse) Set(val *ProductDataResponse)
func (*NullableProductDataResponse) UnmarshalJSON ¶
func (v *NullableProductDataResponse) UnmarshalJSON(src []byte) error
func (*NullableProductDataResponse) Unset ¶
func (v *NullableProductDataResponse) Unset()
type NullableProductOrderResponse ¶
type NullableProductOrderResponse struct {
// contains filtered or unexported fields
}
func NewNullableProductOrderResponse ¶
func NewNullableProductOrderResponse(val *ProductOrderResponse) *NullableProductOrderResponse
func (NullableProductOrderResponse) Get ¶
func (v NullableProductOrderResponse) Get() *ProductOrderResponse
func (NullableProductOrderResponse) IsSet ¶
func (v NullableProductOrderResponse) IsSet() bool
func (NullableProductOrderResponse) MarshalJSON ¶
func (v NullableProductOrderResponse) MarshalJSON() ([]byte, error)
func (*NullableProductOrderResponse) Set ¶
func (v *NullableProductOrderResponse) Set(val *ProductOrderResponse)
func (*NullableProductOrderResponse) UnmarshalJSON ¶
func (v *NullableProductOrderResponse) UnmarshalJSON(src []byte) error
func (*NullableProductOrderResponse) Unset ¶
func (v *NullableProductOrderResponse) Unset()
type NullableShippingOrderResponse ¶
type NullableShippingOrderResponse struct {
// contains filtered or unexported fields
}
func NewNullableShippingOrderResponse ¶
func NewNullableShippingOrderResponse(val *ShippingOrderResponse) *NullableShippingOrderResponse
func (NullableShippingOrderResponse) Get ¶
func (v NullableShippingOrderResponse) Get() *ShippingOrderResponse
func (NullableShippingOrderResponse) IsSet ¶
func (v NullableShippingOrderResponse) IsSet() bool
func (NullableShippingOrderResponse) MarshalJSON ¶
func (v NullableShippingOrderResponse) MarshalJSON() ([]byte, error)
func (*NullableShippingOrderResponse) Set ¶
func (v *NullableShippingOrderResponse) Set(val *ShippingOrderResponse)
func (*NullableShippingOrderResponse) UnmarshalJSON ¶
func (v *NullableShippingOrderResponse) UnmarshalJSON(src []byte) error
func (*NullableShippingOrderResponse) Unset ¶
func (v *NullableShippingOrderResponse) Unset()
type NullableShippingRequest ¶
type NullableShippingRequest struct {
// contains filtered or unexported fields
}
func NewNullableShippingRequest ¶
func NewNullableShippingRequest(val *ShippingRequest) *NullableShippingRequest
func (NullableShippingRequest) Get ¶
func (v NullableShippingRequest) Get() *ShippingRequest
func (NullableShippingRequest) IsSet ¶
func (v NullableShippingRequest) IsSet() bool
func (NullableShippingRequest) MarshalJSON ¶
func (v NullableShippingRequest) MarshalJSON() ([]byte, error)
func (*NullableShippingRequest) Set ¶
func (v *NullableShippingRequest) Set(val *ShippingRequest)
func (*NullableShippingRequest) UnmarshalJSON ¶
func (v *NullableShippingRequest) UnmarshalJSON(src []byte) error
func (*NullableShippingRequest) Unset ¶
func (v *NullableShippingRequest) Unset()
type NullableSmsCheckoutRequest ¶
type NullableSmsCheckoutRequest struct {
// contains filtered or unexported fields
}
func NewNullableSmsCheckoutRequest ¶
func NewNullableSmsCheckoutRequest(val *SmsCheckoutRequest) *NullableSmsCheckoutRequest
func (NullableSmsCheckoutRequest) Get ¶
func (v NullableSmsCheckoutRequest) Get() *SmsCheckoutRequest
func (NullableSmsCheckoutRequest) IsSet ¶
func (v NullableSmsCheckoutRequest) IsSet() bool
func (NullableSmsCheckoutRequest) MarshalJSON ¶
func (v NullableSmsCheckoutRequest) MarshalJSON() ([]byte, error)
func (*NullableSmsCheckoutRequest) Set ¶
func (v *NullableSmsCheckoutRequest) Set(val *SmsCheckoutRequest)
func (*NullableSmsCheckoutRequest) UnmarshalJSON ¶
func (v *NullableSmsCheckoutRequest) UnmarshalJSON(src []byte) error
func (*NullableSmsCheckoutRequest) Unset ¶
func (v *NullableSmsCheckoutRequest) 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 NullableTransactionResponse ¶
type NullableTransactionResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransactionResponse ¶
func NewNullableTransactionResponse(val *TransactionResponse) *NullableTransactionResponse
func (NullableTransactionResponse) Get ¶
func (v NullableTransactionResponse) Get() *TransactionResponse
func (NullableTransactionResponse) IsSet ¶
func (v NullableTransactionResponse) IsSet() bool
func (NullableTransactionResponse) MarshalJSON ¶
func (v NullableTransactionResponse) MarshalJSON() ([]byte, error)
func (*NullableTransactionResponse) Set ¶
func (v *NullableTransactionResponse) Set(val *TransactionResponse)
func (*NullableTransactionResponse) UnmarshalJSON ¶
func (v *NullableTransactionResponse) UnmarshalJSON(src []byte) error
func (*NullableTransactionResponse) Unset ¶
func (v *NullableTransactionResponse) Unset()
type NullableTransferDestinationResponse ¶
type NullableTransferDestinationResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransferDestinationResponse ¶
func NewNullableTransferDestinationResponse(val *TransferDestinationResponse) *NullableTransferDestinationResponse
func (NullableTransferDestinationResponse) Get ¶
func (v NullableTransferDestinationResponse) Get() *TransferDestinationResponse
func (NullableTransferDestinationResponse) IsSet ¶
func (v NullableTransferDestinationResponse) IsSet() bool
func (NullableTransferDestinationResponse) MarshalJSON ¶
func (v NullableTransferDestinationResponse) MarshalJSON() ([]byte, error)
func (*NullableTransferDestinationResponse) Set ¶
func (v *NullableTransferDestinationResponse) Set(val *TransferDestinationResponse)
func (*NullableTransferDestinationResponse) UnmarshalJSON ¶
func (v *NullableTransferDestinationResponse) UnmarshalJSON(src []byte) error
func (*NullableTransferDestinationResponse) Unset ¶
func (v *NullableTransferDestinationResponse) Unset()
type NullableTransferMethodResponse ¶
type NullableTransferMethodResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransferMethodResponse ¶
func NewNullableTransferMethodResponse(val *TransferMethodResponse) *NullableTransferMethodResponse
func (NullableTransferMethodResponse) Get ¶
func (v NullableTransferMethodResponse) Get() *TransferMethodResponse
func (NullableTransferMethodResponse) IsSet ¶
func (v NullableTransferMethodResponse) IsSet() bool
func (NullableTransferMethodResponse) MarshalJSON ¶
func (v NullableTransferMethodResponse) MarshalJSON() ([]byte, error)
func (*NullableTransferMethodResponse) Set ¶
func (v *NullableTransferMethodResponse) Set(val *TransferMethodResponse)
func (*NullableTransferMethodResponse) UnmarshalJSON ¶
func (v *NullableTransferMethodResponse) UnmarshalJSON(src []byte) error
func (*NullableTransferMethodResponse) Unset ¶
func (v *NullableTransferMethodResponse) Unset()
type NullableTransferResponse ¶
type NullableTransferResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransferResponse ¶
func NewNullableTransferResponse(val *TransferResponse) *NullableTransferResponse
func (NullableTransferResponse) Get ¶
func (v NullableTransferResponse) Get() *TransferResponse
func (NullableTransferResponse) IsSet ¶
func (v NullableTransferResponse) IsSet() bool
func (NullableTransferResponse) MarshalJSON ¶
func (v NullableTransferResponse) MarshalJSON() ([]byte, error)
func (*NullableTransferResponse) Set ¶
func (v *NullableTransferResponse) Set(val *TransferResponse)
func (*NullableTransferResponse) UnmarshalJSON ¶
func (v *NullableTransferResponse) UnmarshalJSON(src []byte) error
func (*NullableTransferResponse) Unset ¶
func (v *NullableTransferResponse) Unset()
type NullableTransfersResponse ¶
type NullableTransfersResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransfersResponse ¶
func NewNullableTransfersResponse(val *TransfersResponse) *NullableTransfersResponse
func (NullableTransfersResponse) Get ¶
func (v NullableTransfersResponse) Get() *TransfersResponse
func (NullableTransfersResponse) IsSet ¶
func (v NullableTransfersResponse) IsSet() bool
func (NullableTransfersResponse) MarshalJSON ¶
func (v NullableTransfersResponse) MarshalJSON() ([]byte, error)
func (*NullableTransfersResponse) Set ¶
func (v *NullableTransfersResponse) Set(val *TransfersResponse)
func (*NullableTransfersResponse) UnmarshalJSON ¶
func (v *NullableTransfersResponse) UnmarshalJSON(src []byte) error
func (*NullableTransfersResponse) Unset ¶
func (v *NullableTransfersResponse) Unset()
type NullableUpdateCustomer ¶
type NullableUpdateCustomer struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCustomer ¶
func NewNullableUpdateCustomer(val *UpdateCustomer) *NullableUpdateCustomer
func (NullableUpdateCustomer) Get ¶
func (v NullableUpdateCustomer) Get() *UpdateCustomer
func (NullableUpdateCustomer) IsSet ¶
func (v NullableUpdateCustomer) IsSet() bool
func (NullableUpdateCustomer) MarshalJSON ¶
func (v NullableUpdateCustomer) MarshalJSON() ([]byte, error)
func (*NullableUpdateCustomer) Set ¶
func (v *NullableUpdateCustomer) Set(val *UpdateCustomer)
func (*NullableUpdateCustomer) UnmarshalJSON ¶
func (v *NullableUpdateCustomer) UnmarshalJSON(src []byte) error
func (*NullableUpdateCustomer) Unset ¶
func (v *NullableUpdateCustomer) Unset()
type NullableUpdateCustomerAntifraudInfo ¶
type NullableUpdateCustomerAntifraudInfo struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCustomerAntifraudInfo ¶
func NewNullableUpdateCustomerAntifraudInfo(val *UpdateCustomerAntifraudInfo) *NullableUpdateCustomerAntifraudInfo
func (NullableUpdateCustomerAntifraudInfo) Get ¶
func (v NullableUpdateCustomerAntifraudInfo) Get() *UpdateCustomerAntifraudInfo
func (NullableUpdateCustomerAntifraudInfo) IsSet ¶
func (v NullableUpdateCustomerAntifraudInfo) IsSet() bool
func (NullableUpdateCustomerAntifraudInfo) MarshalJSON ¶
func (v NullableUpdateCustomerAntifraudInfo) MarshalJSON() ([]byte, error)
func (*NullableUpdateCustomerAntifraudInfo) Set ¶
func (v *NullableUpdateCustomerAntifraudInfo) Set(val *UpdateCustomerAntifraudInfo)
func (*NullableUpdateCustomerAntifraudInfo) UnmarshalJSON ¶
func (v *NullableUpdateCustomerAntifraudInfo) UnmarshalJSON(src []byte) error
func (*NullableUpdateCustomerAntifraudInfo) Unset ¶
func (v *NullableUpdateCustomerAntifraudInfo) Unset()
type NullableUpdateCustomerFiscalEntitiesResponse ¶
type NullableUpdateCustomerFiscalEntitiesResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCustomerFiscalEntitiesResponse ¶
func NewNullableUpdateCustomerFiscalEntitiesResponse(val *UpdateCustomerFiscalEntitiesResponse) *NullableUpdateCustomerFiscalEntitiesResponse
func (NullableUpdateCustomerFiscalEntitiesResponse) IsSet ¶
func (v NullableUpdateCustomerFiscalEntitiesResponse) IsSet() bool
func (NullableUpdateCustomerFiscalEntitiesResponse) MarshalJSON ¶
func (v NullableUpdateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateCustomerFiscalEntitiesResponse) Set ¶
func (v *NullableUpdateCustomerFiscalEntitiesResponse) Set(val *UpdateCustomerFiscalEntitiesResponse)
func (*NullableUpdateCustomerFiscalEntitiesResponse) UnmarshalJSON ¶
func (v *NullableUpdateCustomerFiscalEntitiesResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateCustomerFiscalEntitiesResponse) Unset ¶
func (v *NullableUpdateCustomerFiscalEntitiesResponse) Unset()
type NullableUpdateCustomerPaymentMethodsResponse ¶
type NullableUpdateCustomerPaymentMethodsResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCustomerPaymentMethodsResponse ¶
func NewNullableUpdateCustomerPaymentMethodsResponse(val *UpdateCustomerPaymentMethodsResponse) *NullableUpdateCustomerPaymentMethodsResponse
func (NullableUpdateCustomerPaymentMethodsResponse) IsSet ¶
func (v NullableUpdateCustomerPaymentMethodsResponse) IsSet() bool
func (NullableUpdateCustomerPaymentMethodsResponse) MarshalJSON ¶
func (v NullableUpdateCustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateCustomerPaymentMethodsResponse) Set ¶
func (v *NullableUpdateCustomerPaymentMethodsResponse) Set(val *UpdateCustomerPaymentMethodsResponse)
func (*NullableUpdateCustomerPaymentMethodsResponse) UnmarshalJSON ¶
func (v *NullableUpdateCustomerPaymentMethodsResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateCustomerPaymentMethodsResponse) Unset ¶
func (v *NullableUpdateCustomerPaymentMethodsResponse) Unset()
type NullableUpdateOrderDiscountLinesRequest ¶
type NullableUpdateOrderDiscountLinesRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateOrderDiscountLinesRequest ¶
func NewNullableUpdateOrderDiscountLinesRequest(val *UpdateOrderDiscountLinesRequest) *NullableUpdateOrderDiscountLinesRequest
func (NullableUpdateOrderDiscountLinesRequest) IsSet ¶
func (v NullableUpdateOrderDiscountLinesRequest) IsSet() bool
func (NullableUpdateOrderDiscountLinesRequest) MarshalJSON ¶
func (v NullableUpdateOrderDiscountLinesRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateOrderDiscountLinesRequest) Set ¶
func (v *NullableUpdateOrderDiscountLinesRequest) Set(val *UpdateOrderDiscountLinesRequest)
func (*NullableUpdateOrderDiscountLinesRequest) UnmarshalJSON ¶
func (v *NullableUpdateOrderDiscountLinesRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateOrderDiscountLinesRequest) Unset ¶
func (v *NullableUpdateOrderDiscountLinesRequest) Unset()
type NullableUpdateOrderTaxRequest ¶
type NullableUpdateOrderTaxRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateOrderTaxRequest ¶
func NewNullableUpdateOrderTaxRequest(val *UpdateOrderTaxRequest) *NullableUpdateOrderTaxRequest
func (NullableUpdateOrderTaxRequest) Get ¶
func (v NullableUpdateOrderTaxRequest) Get() *UpdateOrderTaxRequest
func (NullableUpdateOrderTaxRequest) IsSet ¶
func (v NullableUpdateOrderTaxRequest) IsSet() bool
func (NullableUpdateOrderTaxRequest) MarshalJSON ¶
func (v NullableUpdateOrderTaxRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateOrderTaxRequest) Set ¶
func (v *NullableUpdateOrderTaxRequest) Set(val *UpdateOrderTaxRequest)
func (*NullableUpdateOrderTaxRequest) UnmarshalJSON ¶
func (v *NullableUpdateOrderTaxRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateOrderTaxRequest) Unset ¶
func (v *NullableUpdateOrderTaxRequest) Unset()
type NullableUpdateOrderTaxResponse ¶
type NullableUpdateOrderTaxResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateOrderTaxResponse ¶
func NewNullableUpdateOrderTaxResponse(val *UpdateOrderTaxResponse) *NullableUpdateOrderTaxResponse
func (NullableUpdateOrderTaxResponse) Get ¶
func (v NullableUpdateOrderTaxResponse) Get() *UpdateOrderTaxResponse
func (NullableUpdateOrderTaxResponse) IsSet ¶
func (v NullableUpdateOrderTaxResponse) IsSet() bool
func (NullableUpdateOrderTaxResponse) MarshalJSON ¶
func (v NullableUpdateOrderTaxResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateOrderTaxResponse) Set ¶
func (v *NullableUpdateOrderTaxResponse) Set(val *UpdateOrderTaxResponse)
func (*NullableUpdateOrderTaxResponse) UnmarshalJSON ¶
func (v *NullableUpdateOrderTaxResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateOrderTaxResponse) Unset ¶
func (v *NullableUpdateOrderTaxResponse) Unset()
type NullableUpdatePaymentMethods ¶
type NullableUpdatePaymentMethods struct {
// contains filtered or unexported fields
}
func NewNullableUpdatePaymentMethods ¶
func NewNullableUpdatePaymentMethods(val *UpdatePaymentMethods) *NullableUpdatePaymentMethods
func (NullableUpdatePaymentMethods) Get ¶
func (v NullableUpdatePaymentMethods) Get() *UpdatePaymentMethods
func (NullableUpdatePaymentMethods) IsSet ¶
func (v NullableUpdatePaymentMethods) IsSet() bool
func (NullableUpdatePaymentMethods) MarshalJSON ¶
func (v NullableUpdatePaymentMethods) MarshalJSON() ([]byte, error)
func (*NullableUpdatePaymentMethods) Set ¶
func (v *NullableUpdatePaymentMethods) Set(val *UpdatePaymentMethods)
func (*NullableUpdatePaymentMethods) UnmarshalJSON ¶
func (v *NullableUpdatePaymentMethods) UnmarshalJSON(src []byte) error
func (*NullableUpdatePaymentMethods) Unset ¶
func (v *NullableUpdatePaymentMethods) Unset()
type NullableUpdateProduct ¶
type NullableUpdateProduct struct {
// contains filtered or unexported fields
}
func NewNullableUpdateProduct ¶
func NewNullableUpdateProduct(val *UpdateProduct) *NullableUpdateProduct
func (NullableUpdateProduct) Get ¶
func (v NullableUpdateProduct) Get() *UpdateProduct
func (NullableUpdateProduct) IsSet ¶
func (v NullableUpdateProduct) IsSet() bool
func (NullableUpdateProduct) MarshalJSON ¶
func (v NullableUpdateProduct) MarshalJSON() ([]byte, error)
func (*NullableUpdateProduct) Set ¶
func (v *NullableUpdateProduct) Set(val *UpdateProduct)
func (*NullableUpdateProduct) UnmarshalJSON ¶
func (v *NullableUpdateProduct) UnmarshalJSON(src []byte) error
func (*NullableUpdateProduct) Unset ¶
func (v *NullableUpdateProduct) Unset()
type NullableWebhookKeyCreateResponse ¶
type NullableWebhookKeyCreateResponse struct {
// contains filtered or unexported fields
}
func NewNullableWebhookKeyCreateResponse ¶
func NewNullableWebhookKeyCreateResponse(val *WebhookKeyCreateResponse) *NullableWebhookKeyCreateResponse
func (NullableWebhookKeyCreateResponse) Get ¶
func (v NullableWebhookKeyCreateResponse) Get() *WebhookKeyCreateResponse
func (NullableWebhookKeyCreateResponse) IsSet ¶
func (v NullableWebhookKeyCreateResponse) IsSet() bool
func (NullableWebhookKeyCreateResponse) MarshalJSON ¶
func (v NullableWebhookKeyCreateResponse) MarshalJSON() ([]byte, error)
func (*NullableWebhookKeyCreateResponse) Set ¶
func (v *NullableWebhookKeyCreateResponse) Set(val *WebhookKeyCreateResponse)
func (*NullableWebhookKeyCreateResponse) UnmarshalJSON ¶
func (v *NullableWebhookKeyCreateResponse) UnmarshalJSON(src []byte) error
func (*NullableWebhookKeyCreateResponse) Unset ¶
func (v *NullableWebhookKeyCreateResponse) Unset()
type NullableWebhookKeyDeleteResponse ¶
type NullableWebhookKeyDeleteResponse struct {
// contains filtered or unexported fields
}
func NewNullableWebhookKeyDeleteResponse ¶
func NewNullableWebhookKeyDeleteResponse(val *WebhookKeyDeleteResponse) *NullableWebhookKeyDeleteResponse
func (NullableWebhookKeyDeleteResponse) Get ¶
func (v NullableWebhookKeyDeleteResponse) Get() *WebhookKeyDeleteResponse
func (NullableWebhookKeyDeleteResponse) IsSet ¶
func (v NullableWebhookKeyDeleteResponse) IsSet() bool
func (NullableWebhookKeyDeleteResponse) MarshalJSON ¶
func (v NullableWebhookKeyDeleteResponse) MarshalJSON() ([]byte, error)
func (*NullableWebhookKeyDeleteResponse) Set ¶
func (v *NullableWebhookKeyDeleteResponse) Set(val *WebhookKeyDeleteResponse)
func (*NullableWebhookKeyDeleteResponse) UnmarshalJSON ¶
func (v *NullableWebhookKeyDeleteResponse) UnmarshalJSON(src []byte) error
func (*NullableWebhookKeyDeleteResponse) Unset ¶
func (v *NullableWebhookKeyDeleteResponse) Unset()
type NullableWebhookKeyRequest ¶
type NullableWebhookKeyRequest struct {
// contains filtered or unexported fields
}
func NewNullableWebhookKeyRequest ¶
func NewNullableWebhookKeyRequest(val *WebhookKeyRequest) *NullableWebhookKeyRequest
func (NullableWebhookKeyRequest) Get ¶
func (v NullableWebhookKeyRequest) Get() *WebhookKeyRequest
func (NullableWebhookKeyRequest) IsSet ¶
func (v NullableWebhookKeyRequest) IsSet() bool
func (NullableWebhookKeyRequest) MarshalJSON ¶
func (v NullableWebhookKeyRequest) MarshalJSON() ([]byte, error)
func (*NullableWebhookKeyRequest) Set ¶
func (v *NullableWebhookKeyRequest) Set(val *WebhookKeyRequest)
func (*NullableWebhookKeyRequest) UnmarshalJSON ¶
func (v *NullableWebhookKeyRequest) UnmarshalJSON(src []byte) error
func (*NullableWebhookKeyRequest) Unset ¶
func (v *NullableWebhookKeyRequest) Unset()
type NullableWebhookKeyResponse ¶
type NullableWebhookKeyResponse struct {
// contains filtered or unexported fields
}
func NewNullableWebhookKeyResponse ¶
func NewNullableWebhookKeyResponse(val *WebhookKeyResponse) *NullableWebhookKeyResponse
func (NullableWebhookKeyResponse) Get ¶
func (v NullableWebhookKeyResponse) Get() *WebhookKeyResponse
func (NullableWebhookKeyResponse) IsSet ¶
func (v NullableWebhookKeyResponse) IsSet() bool
func (NullableWebhookKeyResponse) MarshalJSON ¶
func (v NullableWebhookKeyResponse) MarshalJSON() ([]byte, error)
func (*NullableWebhookKeyResponse) Set ¶
func (v *NullableWebhookKeyResponse) Set(val *WebhookKeyResponse)
func (*NullableWebhookKeyResponse) UnmarshalJSON ¶
func (v *NullableWebhookKeyResponse) UnmarshalJSON(src []byte) error
func (*NullableWebhookKeyResponse) Unset ¶
func (v *NullableWebhookKeyResponse) Unset()
type NullableWebhookKeyUpdateRequest ¶
type NullableWebhookKeyUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableWebhookKeyUpdateRequest ¶
func NewNullableWebhookKeyUpdateRequest(val *WebhookKeyUpdateRequest) *NullableWebhookKeyUpdateRequest
func (NullableWebhookKeyUpdateRequest) Get ¶
func (v NullableWebhookKeyUpdateRequest) Get() *WebhookKeyUpdateRequest
func (NullableWebhookKeyUpdateRequest) IsSet ¶
func (v NullableWebhookKeyUpdateRequest) IsSet() bool
func (NullableWebhookKeyUpdateRequest) MarshalJSON ¶
func (v NullableWebhookKeyUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableWebhookKeyUpdateRequest) Set ¶
func (v *NullableWebhookKeyUpdateRequest) Set(val *WebhookKeyUpdateRequest)
func (*NullableWebhookKeyUpdateRequest) UnmarshalJSON ¶
func (v *NullableWebhookKeyUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableWebhookKeyUpdateRequest) Unset ¶
func (v *NullableWebhookKeyUpdateRequest) Unset()
type NullableWebhookLog ¶
type NullableWebhookLog struct {
// contains filtered or unexported fields
}
func NewNullableWebhookLog ¶
func NewNullableWebhookLog(val *WebhookLog) *NullableWebhookLog
func (NullableWebhookLog) Get ¶
func (v NullableWebhookLog) Get() *WebhookLog
func (NullableWebhookLog) IsSet ¶
func (v NullableWebhookLog) IsSet() bool
func (NullableWebhookLog) MarshalJSON ¶
func (v NullableWebhookLog) MarshalJSON() ([]byte, error)
func (*NullableWebhookLog) Set ¶
func (v *NullableWebhookLog) Set(val *WebhookLog)
func (*NullableWebhookLog) UnmarshalJSON ¶
func (v *NullableWebhookLog) UnmarshalJSON(src []byte) error
func (*NullableWebhookLog) Unset ¶
func (v *NullableWebhookLog) Unset()
type NullableWebhookRequest ¶
type NullableWebhookRequest struct {
// contains filtered or unexported fields
}
func NewNullableWebhookRequest ¶
func NewNullableWebhookRequest(val *WebhookRequest) *NullableWebhookRequest
func (NullableWebhookRequest) Get ¶
func (v NullableWebhookRequest) Get() *WebhookRequest
func (NullableWebhookRequest) IsSet ¶
func (v NullableWebhookRequest) IsSet() bool
func (NullableWebhookRequest) MarshalJSON ¶
func (v NullableWebhookRequest) MarshalJSON() ([]byte, error)
func (*NullableWebhookRequest) Set ¶
func (v *NullableWebhookRequest) Set(val *WebhookRequest)
func (*NullableWebhookRequest) UnmarshalJSON ¶
func (v *NullableWebhookRequest) UnmarshalJSON(src []byte) error
func (*NullableWebhookRequest) Unset ¶
func (v *NullableWebhookRequest) Unset()
type NullableWebhookResponse ¶
type NullableWebhookResponse struct {
// contains filtered or unexported fields
}
func NewNullableWebhookResponse ¶
func NewNullableWebhookResponse(val *WebhookResponse) *NullableWebhookResponse
func (NullableWebhookResponse) Get ¶
func (v NullableWebhookResponse) Get() *WebhookResponse
func (NullableWebhookResponse) IsSet ¶
func (v NullableWebhookResponse) IsSet() bool
func (NullableWebhookResponse) MarshalJSON ¶
func (v NullableWebhookResponse) MarshalJSON() ([]byte, error)
func (*NullableWebhookResponse) Set ¶
func (v *NullableWebhookResponse) Set(val *WebhookResponse)
func (*NullableWebhookResponse) UnmarshalJSON ¶
func (v *NullableWebhookResponse) UnmarshalJSON(src []byte) error
func (*NullableWebhookResponse) Unset ¶
func (v *NullableWebhookResponse) Unset()
type NullableWebhookUpdateRequest ¶
type NullableWebhookUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableWebhookUpdateRequest ¶
func NewNullableWebhookUpdateRequest(val *WebhookUpdateRequest) *NullableWebhookUpdateRequest
func (NullableWebhookUpdateRequest) Get ¶
func (v NullableWebhookUpdateRequest) Get() *WebhookUpdateRequest
func (NullableWebhookUpdateRequest) IsSet ¶
func (v NullableWebhookUpdateRequest) IsSet() bool
func (NullableWebhookUpdateRequest) MarshalJSON ¶
func (v NullableWebhookUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableWebhookUpdateRequest) Set ¶
func (v *NullableWebhookUpdateRequest) Set(val *WebhookUpdateRequest)
func (*NullableWebhookUpdateRequest) UnmarshalJSON ¶
func (v *NullableWebhookUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableWebhookUpdateRequest) Unset ¶
func (v *NullableWebhookUpdateRequest) Unset()
type OrderCaptureRequest ¶
type OrderCaptureRequest struct {
// Amount to capture
Amount int64 `json:"amount"`
AdditionalProperties map[string]interface{}
}
OrderCaptureRequest struct for OrderCaptureRequest
func NewOrderCaptureRequest ¶
func NewOrderCaptureRequest(amount int64) *OrderCaptureRequest
NewOrderCaptureRequest instantiates a new OrderCaptureRequest 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 NewOrderCaptureRequestWithDefaults ¶
func NewOrderCaptureRequestWithDefaults() *OrderCaptureRequest
NewOrderCaptureRequestWithDefaults instantiates a new OrderCaptureRequest 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 (*OrderCaptureRequest) GetAmount ¶
func (o *OrderCaptureRequest) GetAmount() int64
GetAmount returns the Amount field value
func (*OrderCaptureRequest) GetAmountOk ¶
func (o *OrderCaptureRequest) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (OrderCaptureRequest) MarshalJSON ¶
func (o OrderCaptureRequest) MarshalJSON() ([]byte, error)
func (*OrderCaptureRequest) SetAmount ¶
func (o *OrderCaptureRequest) SetAmount(v int64)
SetAmount sets field value
func (OrderCaptureRequest) ToMap ¶
func (o OrderCaptureRequest) ToMap() (map[string]interface{}, error)
func (*OrderCaptureRequest) UnmarshalJSON ¶
func (o *OrderCaptureRequest) UnmarshalJSON(data []byte) (err error)
type OrderCustomerInfoResponse ¶
type OrderCustomerInfoResponse struct {
// Custom reference
CustomerCustomReference NullableString `json:"customer_custom_reference,omitempty"`
Name *string `json:"name,omitempty"`
Email *string `json:"email,omitempty"`
Phone *string `json:"phone,omitempty"`
Corporate *bool `json:"corporate,omitempty"`
Object *string `json:"object,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderCustomerInfoResponse struct for OrderCustomerInfoResponse
func NewOrderCustomerInfoResponse ¶
func NewOrderCustomerInfoResponse() *OrderCustomerInfoResponse
NewOrderCustomerInfoResponse instantiates a new OrderCustomerInfoResponse 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 NewOrderCustomerInfoResponseWithDefaults ¶
func NewOrderCustomerInfoResponseWithDefaults() *OrderCustomerInfoResponse
NewOrderCustomerInfoResponseWithDefaults instantiates a new OrderCustomerInfoResponse 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 (*OrderCustomerInfoResponse) GetCorporate ¶
func (o *OrderCustomerInfoResponse) GetCorporate() bool
GetCorporate returns the Corporate field value if set, zero value otherwise.
func (*OrderCustomerInfoResponse) GetCorporateOk ¶
func (o *OrderCustomerInfoResponse) GetCorporateOk() (*bool, bool)
GetCorporateOk returns a tuple with the Corporate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCustomerInfoResponse) GetCustomerCustomReference ¶
func (o *OrderCustomerInfoResponse) GetCustomerCustomReference() string
GetCustomerCustomReference returns the CustomerCustomReference field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderCustomerInfoResponse) GetCustomerCustomReferenceOk ¶
func (o *OrderCustomerInfoResponse) GetCustomerCustomReferenceOk() (*string, bool)
GetCustomerCustomReferenceOk returns a tuple with the CustomerCustomReference 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 (*OrderCustomerInfoResponse) GetEmail ¶
func (o *OrderCustomerInfoResponse) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*OrderCustomerInfoResponse) GetEmailOk ¶
func (o *OrderCustomerInfoResponse) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCustomerInfoResponse) GetName ¶
func (o *OrderCustomerInfoResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OrderCustomerInfoResponse) GetNameOk ¶
func (o *OrderCustomerInfoResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCustomerInfoResponse) GetObject ¶
func (o *OrderCustomerInfoResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*OrderCustomerInfoResponse) GetObjectOk ¶
func (o *OrderCustomerInfoResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCustomerInfoResponse) GetPhone ¶
func (o *OrderCustomerInfoResponse) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*OrderCustomerInfoResponse) GetPhoneOk ¶
func (o *OrderCustomerInfoResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCustomerInfoResponse) HasCorporate ¶
func (o *OrderCustomerInfoResponse) HasCorporate() bool
HasCorporate returns a boolean if a field has been set.
func (*OrderCustomerInfoResponse) HasCustomerCustomReference ¶
func (o *OrderCustomerInfoResponse) HasCustomerCustomReference() bool
HasCustomerCustomReference returns a boolean if a field has been set.
func (*OrderCustomerInfoResponse) HasEmail ¶
func (o *OrderCustomerInfoResponse) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*OrderCustomerInfoResponse) HasName ¶
func (o *OrderCustomerInfoResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrderCustomerInfoResponse) HasObject ¶
func (o *OrderCustomerInfoResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*OrderCustomerInfoResponse) HasPhone ¶
func (o *OrderCustomerInfoResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (OrderCustomerInfoResponse) MarshalJSON ¶
func (o OrderCustomerInfoResponse) MarshalJSON() ([]byte, error)
func (*OrderCustomerInfoResponse) SetCorporate ¶
func (o *OrderCustomerInfoResponse) SetCorporate(v bool)
SetCorporate gets a reference to the given bool and assigns it to the Corporate field.
func (*OrderCustomerInfoResponse) SetCustomerCustomReference ¶
func (o *OrderCustomerInfoResponse) SetCustomerCustomReference(v string)
SetCustomerCustomReference gets a reference to the given NullableString and assigns it to the CustomerCustomReference field.
func (*OrderCustomerInfoResponse) SetCustomerCustomReferenceNil ¶
func (o *OrderCustomerInfoResponse) SetCustomerCustomReferenceNil()
SetCustomerCustomReferenceNil sets the value for CustomerCustomReference to be an explicit nil
func (*OrderCustomerInfoResponse) SetEmail ¶
func (o *OrderCustomerInfoResponse) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*OrderCustomerInfoResponse) SetName ¶
func (o *OrderCustomerInfoResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OrderCustomerInfoResponse) SetObject ¶
func (o *OrderCustomerInfoResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*OrderCustomerInfoResponse) SetPhone ¶
func (o *OrderCustomerInfoResponse) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (OrderCustomerInfoResponse) ToMap ¶
func (o OrderCustomerInfoResponse) ToMap() (map[string]interface{}, error)
func (*OrderCustomerInfoResponse) UnmarshalJSON ¶
func (o *OrderCustomerInfoResponse) UnmarshalJSON(data []byte) (err error)
func (*OrderCustomerInfoResponse) UnsetCustomerCustomReference ¶
func (o *OrderCustomerInfoResponse) UnsetCustomerCustomReference()
UnsetCustomerCustomReference ensures that no value is present for CustomerCustomReference, not even an explicit nil
type OrderDiscountLinesRequest ¶
type OrderDiscountLinesRequest struct {
// The amount to be deducted from the total sum of all payments, in cents.
Amount int64 `json:"amount"`
// Discount code.
Code string `json:"code"`
// It can be 'loyalty', 'campaign', 'coupon' o 'sign'
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
OrderDiscountLinesRequest List of discounts that apply to the order.
func NewOrderDiscountLinesRequest ¶
func NewOrderDiscountLinesRequest(amount int64, code string, type_ string) *OrderDiscountLinesRequest
NewOrderDiscountLinesRequest instantiates a new OrderDiscountLinesRequest 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 NewOrderDiscountLinesRequestWithDefaults ¶
func NewOrderDiscountLinesRequestWithDefaults() *OrderDiscountLinesRequest
NewOrderDiscountLinesRequestWithDefaults instantiates a new OrderDiscountLinesRequest 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 (*OrderDiscountLinesRequest) GetAmount ¶
func (o *OrderDiscountLinesRequest) GetAmount() int64
GetAmount returns the Amount field value
func (*OrderDiscountLinesRequest) GetAmountOk ¶
func (o *OrderDiscountLinesRequest) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*OrderDiscountLinesRequest) GetCode ¶
func (o *OrderDiscountLinesRequest) GetCode() string
GetCode returns the Code field value
func (*OrderDiscountLinesRequest) GetCodeOk ¶
func (o *OrderDiscountLinesRequest) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*OrderDiscountLinesRequest) GetType ¶
func (o *OrderDiscountLinesRequest) GetType() string
GetType returns the Type field value
func (*OrderDiscountLinesRequest) GetTypeOk ¶
func (o *OrderDiscountLinesRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (OrderDiscountLinesRequest) MarshalJSON ¶
func (o OrderDiscountLinesRequest) MarshalJSON() ([]byte, error)
func (*OrderDiscountLinesRequest) SetAmount ¶
func (o *OrderDiscountLinesRequest) SetAmount(v int64)
SetAmount sets field value
func (*OrderDiscountLinesRequest) SetCode ¶
func (o *OrderDiscountLinesRequest) SetCode(v string)
SetCode sets field value
func (*OrderDiscountLinesRequest) SetType ¶
func (o *OrderDiscountLinesRequest) SetType(v string)
SetType sets field value
func (OrderDiscountLinesRequest) ToMap ¶
func (o OrderDiscountLinesRequest) ToMap() (map[string]interface{}, error)
func (*OrderDiscountLinesRequest) UnmarshalJSON ¶
func (o *OrderDiscountLinesRequest) UnmarshalJSON(data []byte) (err error)
type OrderFiscalEntityAddressResponse ¶
type OrderFiscalEntityAddressResponse struct {
// Street name and number
Street1 string `json:"street1"`
// Street name and number
Street2 NullableString `json:"street2,omitempty"`
// Postal code
PostalCode string `json:"postal_code"`
// City
City string `json:"city"`
// State
State *string `json:"state,omitempty"`
// this field follows the [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
Country string `json:"country"`
// External number
ExternalNumber string `json:"external_number"`
Object *string `json:"object,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderFiscalEntityAddressResponse Address of the fiscal entity
func NewOrderFiscalEntityAddressResponse ¶
func NewOrderFiscalEntityAddressResponse(street1 string, postalCode string, city string, country string, externalNumber string) *OrderFiscalEntityAddressResponse
NewOrderFiscalEntityAddressResponse instantiates a new OrderFiscalEntityAddressResponse 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 NewOrderFiscalEntityAddressResponseWithDefaults ¶
func NewOrderFiscalEntityAddressResponseWithDefaults() *OrderFiscalEntityAddressResponse
NewOrderFiscalEntityAddressResponseWithDefaults instantiates a new OrderFiscalEntityAddressResponse 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 (*OrderFiscalEntityAddressResponse) GetCity ¶
func (o *OrderFiscalEntityAddressResponse) GetCity() string
GetCity returns the City field value
func (*OrderFiscalEntityAddressResponse) GetCityOk ¶
func (o *OrderFiscalEntityAddressResponse) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityAddressResponse) GetCountry ¶
func (o *OrderFiscalEntityAddressResponse) GetCountry() string
GetCountry returns the Country field value
func (*OrderFiscalEntityAddressResponse) GetCountryOk ¶
func (o *OrderFiscalEntityAddressResponse) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityAddressResponse) GetExternalNumber ¶
func (o *OrderFiscalEntityAddressResponse) GetExternalNumber() string
GetExternalNumber returns the ExternalNumber field value
func (*OrderFiscalEntityAddressResponse) GetExternalNumberOk ¶
func (o *OrderFiscalEntityAddressResponse) GetExternalNumberOk() (*string, bool)
GetExternalNumberOk returns a tuple with the ExternalNumber field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityAddressResponse) GetObject ¶
func (o *OrderFiscalEntityAddressResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*OrderFiscalEntityAddressResponse) GetObjectOk ¶
func (o *OrderFiscalEntityAddressResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFiscalEntityAddressResponse) GetPostalCode ¶
func (o *OrderFiscalEntityAddressResponse) GetPostalCode() string
GetPostalCode returns the PostalCode field value
func (*OrderFiscalEntityAddressResponse) GetPostalCodeOk ¶
func (o *OrderFiscalEntityAddressResponse) GetPostalCodeOk() (*string, bool)
GetPostalCodeOk returns a tuple with the PostalCode field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityAddressResponse) GetState ¶
func (o *OrderFiscalEntityAddressResponse) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*OrderFiscalEntityAddressResponse) GetStateOk ¶
func (o *OrderFiscalEntityAddressResponse) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFiscalEntityAddressResponse) GetStreet1 ¶
func (o *OrderFiscalEntityAddressResponse) GetStreet1() string
GetStreet1 returns the Street1 field value
func (*OrderFiscalEntityAddressResponse) GetStreet1Ok ¶
func (o *OrderFiscalEntityAddressResponse) GetStreet1Ok() (*string, bool)
GetStreet1Ok returns a tuple with the Street1 field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityAddressResponse) GetStreet2 ¶
func (o *OrderFiscalEntityAddressResponse) GetStreet2() string
GetStreet2 returns the Street2 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderFiscalEntityAddressResponse) GetStreet2Ok ¶
func (o *OrderFiscalEntityAddressResponse) GetStreet2Ok() (*string, bool)
GetStreet2Ok returns a tuple with the Street2 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 (*OrderFiscalEntityAddressResponse) HasObject ¶
func (o *OrderFiscalEntityAddressResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*OrderFiscalEntityAddressResponse) HasState ¶
func (o *OrderFiscalEntityAddressResponse) HasState() bool
HasState returns a boolean if a field has been set.
func (*OrderFiscalEntityAddressResponse) HasStreet2 ¶
func (o *OrderFiscalEntityAddressResponse) HasStreet2() bool
HasStreet2 returns a boolean if a field has been set.
func (OrderFiscalEntityAddressResponse) MarshalJSON ¶
func (o OrderFiscalEntityAddressResponse) MarshalJSON() ([]byte, error)
func (*OrderFiscalEntityAddressResponse) SetCity ¶
func (o *OrderFiscalEntityAddressResponse) SetCity(v string)
SetCity sets field value
func (*OrderFiscalEntityAddressResponse) SetCountry ¶
func (o *OrderFiscalEntityAddressResponse) SetCountry(v string)
SetCountry sets field value
func (*OrderFiscalEntityAddressResponse) SetExternalNumber ¶
func (o *OrderFiscalEntityAddressResponse) SetExternalNumber(v string)
SetExternalNumber sets field value
func (*OrderFiscalEntityAddressResponse) SetObject ¶
func (o *OrderFiscalEntityAddressResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*OrderFiscalEntityAddressResponse) SetPostalCode ¶
func (o *OrderFiscalEntityAddressResponse) SetPostalCode(v string)
SetPostalCode sets field value
func (*OrderFiscalEntityAddressResponse) SetState ¶
func (o *OrderFiscalEntityAddressResponse) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*OrderFiscalEntityAddressResponse) SetStreet1 ¶
func (o *OrderFiscalEntityAddressResponse) SetStreet1(v string)
SetStreet1 sets field value
func (*OrderFiscalEntityAddressResponse) SetStreet2 ¶
func (o *OrderFiscalEntityAddressResponse) SetStreet2(v string)
SetStreet2 gets a reference to the given NullableString and assigns it to the Street2 field.
func (*OrderFiscalEntityAddressResponse) SetStreet2Nil ¶
func (o *OrderFiscalEntityAddressResponse) SetStreet2Nil()
SetStreet2Nil sets the value for Street2 to be an explicit nil
func (OrderFiscalEntityAddressResponse) ToMap ¶
func (o OrderFiscalEntityAddressResponse) ToMap() (map[string]interface{}, error)
func (*OrderFiscalEntityAddressResponse) UnmarshalJSON ¶
func (o *OrderFiscalEntityAddressResponse) UnmarshalJSON(data []byte) (err error)
func (*OrderFiscalEntityAddressResponse) UnsetStreet2 ¶
func (o *OrderFiscalEntityAddressResponse) UnsetStreet2()
UnsetStreet2 ensures that no value is present for Street2, not even an explicit nil
type OrderFiscalEntityRequest ¶
type OrderFiscalEntityRequest struct {
Address FiscalEntityAddress `json:"address"`
// Email of the fiscal entity
Email *string `json:"email,omitempty"`
// Metadata associated with the fiscal entity
Metadata map[string]interface{} `json:"metadata,omitempty"`
// Name of the fiscal entity
Name NullableString `json:"name,omitempty"`
// Phone of the fiscal entity
Phone *string `json:"phone,omitempty"`
// Tax ID of the fiscal entity
TaxId NullableString `json:"tax_id,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderFiscalEntityRequest Fiscal entity of the order, Currently it is a purely informative field
func NewOrderFiscalEntityRequest ¶
func NewOrderFiscalEntityRequest(address FiscalEntityAddress) *OrderFiscalEntityRequest
NewOrderFiscalEntityRequest instantiates a new OrderFiscalEntityRequest 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 NewOrderFiscalEntityRequestWithDefaults ¶
func NewOrderFiscalEntityRequestWithDefaults() *OrderFiscalEntityRequest
NewOrderFiscalEntityRequestWithDefaults instantiates a new OrderFiscalEntityRequest 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 (*OrderFiscalEntityRequest) GetAddress ¶
func (o *OrderFiscalEntityRequest) GetAddress() FiscalEntityAddress
GetAddress returns the Address field value
func (*OrderFiscalEntityRequest) GetAddressOk ¶
func (o *OrderFiscalEntityRequest) GetAddressOk() (*FiscalEntityAddress, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityRequest) GetEmail ¶
func (o *OrderFiscalEntityRequest) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*OrderFiscalEntityRequest) GetEmailOk ¶
func (o *OrderFiscalEntityRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFiscalEntityRequest) GetMetadata ¶
func (o *OrderFiscalEntityRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OrderFiscalEntityRequest) GetMetadataOk ¶
func (o *OrderFiscalEntityRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFiscalEntityRequest) GetName ¶
func (o *OrderFiscalEntityRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderFiscalEntityRequest) GetNameOk ¶
func (o *OrderFiscalEntityRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*OrderFiscalEntityRequest) GetPhone ¶
func (o *OrderFiscalEntityRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*OrderFiscalEntityRequest) GetPhoneOk ¶
func (o *OrderFiscalEntityRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFiscalEntityRequest) GetTaxId ¶
func (o *OrderFiscalEntityRequest) GetTaxId() string
GetTaxId returns the TaxId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderFiscalEntityRequest) GetTaxIdOk ¶
func (o *OrderFiscalEntityRequest) GetTaxIdOk() (*string, bool)
GetTaxIdOk returns a tuple with the TaxId 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 (*OrderFiscalEntityRequest) HasEmail ¶
func (o *OrderFiscalEntityRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*OrderFiscalEntityRequest) HasMetadata ¶
func (o *OrderFiscalEntityRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*OrderFiscalEntityRequest) HasName ¶
func (o *OrderFiscalEntityRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrderFiscalEntityRequest) HasPhone ¶
func (o *OrderFiscalEntityRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*OrderFiscalEntityRequest) HasTaxId ¶
func (o *OrderFiscalEntityRequest) HasTaxId() bool
HasTaxId returns a boolean if a field has been set.
func (OrderFiscalEntityRequest) MarshalJSON ¶
func (o OrderFiscalEntityRequest) MarshalJSON() ([]byte, error)
func (*OrderFiscalEntityRequest) SetAddress ¶
func (o *OrderFiscalEntityRequest) SetAddress(v FiscalEntityAddress)
SetAddress sets field value
func (*OrderFiscalEntityRequest) SetEmail ¶
func (o *OrderFiscalEntityRequest) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*OrderFiscalEntityRequest) SetMetadata ¶
func (o *OrderFiscalEntityRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*OrderFiscalEntityRequest) SetName ¶
func (o *OrderFiscalEntityRequest) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*OrderFiscalEntityRequest) SetNameNil ¶
func (o *OrderFiscalEntityRequest) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*OrderFiscalEntityRequest) SetPhone ¶
func (o *OrderFiscalEntityRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*OrderFiscalEntityRequest) SetTaxId ¶
func (o *OrderFiscalEntityRequest) SetTaxId(v string)
SetTaxId gets a reference to the given NullableString and assigns it to the TaxId field.
func (*OrderFiscalEntityRequest) SetTaxIdNil ¶
func (o *OrderFiscalEntityRequest) SetTaxIdNil()
SetTaxIdNil sets the value for TaxId to be an explicit nil
func (OrderFiscalEntityRequest) ToMap ¶
func (o OrderFiscalEntityRequest) ToMap() (map[string]interface{}, error)
func (*OrderFiscalEntityRequest) UnmarshalJSON ¶
func (o *OrderFiscalEntityRequest) UnmarshalJSON(data []byte) (err error)
func (*OrderFiscalEntityRequest) UnsetName ¶
func (o *OrderFiscalEntityRequest) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*OrderFiscalEntityRequest) UnsetTaxId ¶
func (o *OrderFiscalEntityRequest) UnsetTaxId()
UnsetTaxId ensures that no value is present for TaxId, not even an explicit nil
type OrderFiscalEntityResponse ¶
type OrderFiscalEntityResponse struct {
Address OrderFiscalEntityAddressResponse `json:"address"`
// Email of the fiscal entity
Email NullableString `json:"email,omitempty"`
// Metadata associated with the fiscal entity
Metadata map[string]interface{} `json:"metadata,omitempty"`
// Name of the fiscal entity
Name NullableString `json:"name,omitempty"`
// Tax ID of the fiscal entity
TaxId NullableString `json:"tax_id,omitempty"`
// ID of the fiscal entity
Id string `json:"id"`
// The time at which the object was created in seconds since the Unix epoch
CreatedAt int64 `json:"created_at"`
Object string `json:"object"`
// Phone of the fiscal entity
Phone NullableString `json:"phone,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderFiscalEntityResponse Fiscal entity of the order, Currently it is a purely informative field
func NewOrderFiscalEntityResponse ¶
func NewOrderFiscalEntityResponse(address OrderFiscalEntityAddressResponse, id string, createdAt int64, object string) *OrderFiscalEntityResponse
NewOrderFiscalEntityResponse instantiates a new OrderFiscalEntityResponse 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 NewOrderFiscalEntityResponseWithDefaults ¶
func NewOrderFiscalEntityResponseWithDefaults() *OrderFiscalEntityResponse
NewOrderFiscalEntityResponseWithDefaults instantiates a new OrderFiscalEntityResponse 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 (*OrderFiscalEntityResponse) GetAddress ¶
func (o *OrderFiscalEntityResponse) GetAddress() OrderFiscalEntityAddressResponse
GetAddress returns the Address field value
func (*OrderFiscalEntityResponse) GetAddressOk ¶
func (o *OrderFiscalEntityResponse) GetAddressOk() (*OrderFiscalEntityAddressResponse, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityResponse) GetCreatedAt ¶
func (o *OrderFiscalEntityResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*OrderFiscalEntityResponse) GetCreatedAtOk ¶
func (o *OrderFiscalEntityResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityResponse) GetEmail ¶
func (o *OrderFiscalEntityResponse) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderFiscalEntityResponse) GetEmailOk ¶
func (o *OrderFiscalEntityResponse) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email 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 (*OrderFiscalEntityResponse) GetId ¶
func (o *OrderFiscalEntityResponse) GetId() string
GetId returns the Id field value
func (*OrderFiscalEntityResponse) GetIdOk ¶
func (o *OrderFiscalEntityResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityResponse) GetMetadata ¶
func (o *OrderFiscalEntityResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OrderFiscalEntityResponse) GetMetadataOk ¶
func (o *OrderFiscalEntityResponse) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFiscalEntityResponse) GetName ¶
func (o *OrderFiscalEntityResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderFiscalEntityResponse) GetNameOk ¶
func (o *OrderFiscalEntityResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*OrderFiscalEntityResponse) GetObject ¶
func (o *OrderFiscalEntityResponse) GetObject() string
GetObject returns the Object field value
func (*OrderFiscalEntityResponse) GetObjectOk ¶
func (o *OrderFiscalEntityResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*OrderFiscalEntityResponse) GetPhone ¶
func (o *OrderFiscalEntityResponse) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderFiscalEntityResponse) GetPhoneOk ¶
func (o *OrderFiscalEntityResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone 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 (*OrderFiscalEntityResponse) GetTaxId ¶
func (o *OrderFiscalEntityResponse) GetTaxId() string
GetTaxId returns the TaxId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderFiscalEntityResponse) GetTaxIdOk ¶
func (o *OrderFiscalEntityResponse) GetTaxIdOk() (*string, bool)
GetTaxIdOk returns a tuple with the TaxId 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 (*OrderFiscalEntityResponse) HasEmail ¶
func (o *OrderFiscalEntityResponse) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*OrderFiscalEntityResponse) HasMetadata ¶
func (o *OrderFiscalEntityResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*OrderFiscalEntityResponse) HasName ¶
func (o *OrderFiscalEntityResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrderFiscalEntityResponse) HasPhone ¶
func (o *OrderFiscalEntityResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*OrderFiscalEntityResponse) HasTaxId ¶
func (o *OrderFiscalEntityResponse) HasTaxId() bool
HasTaxId returns a boolean if a field has been set.
func (OrderFiscalEntityResponse) MarshalJSON ¶
func (o OrderFiscalEntityResponse) MarshalJSON() ([]byte, error)
func (*OrderFiscalEntityResponse) SetAddress ¶
func (o *OrderFiscalEntityResponse) SetAddress(v OrderFiscalEntityAddressResponse)
SetAddress sets field value
func (*OrderFiscalEntityResponse) SetCreatedAt ¶
func (o *OrderFiscalEntityResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*OrderFiscalEntityResponse) SetEmail ¶
func (o *OrderFiscalEntityResponse) SetEmail(v string)
SetEmail gets a reference to the given NullableString and assigns it to the Email field.
func (*OrderFiscalEntityResponse) SetEmailNil ¶
func (o *OrderFiscalEntityResponse) SetEmailNil()
SetEmailNil sets the value for Email to be an explicit nil
func (*OrderFiscalEntityResponse) SetId ¶
func (o *OrderFiscalEntityResponse) SetId(v string)
SetId sets field value
func (*OrderFiscalEntityResponse) SetMetadata ¶
func (o *OrderFiscalEntityResponse) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*OrderFiscalEntityResponse) SetName ¶
func (o *OrderFiscalEntityResponse) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*OrderFiscalEntityResponse) SetNameNil ¶
func (o *OrderFiscalEntityResponse) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*OrderFiscalEntityResponse) SetObject ¶
func (o *OrderFiscalEntityResponse) SetObject(v string)
SetObject sets field value
func (*OrderFiscalEntityResponse) SetPhone ¶
func (o *OrderFiscalEntityResponse) SetPhone(v string)
SetPhone gets a reference to the given NullableString and assigns it to the Phone field.
func (*OrderFiscalEntityResponse) SetPhoneNil ¶
func (o *OrderFiscalEntityResponse) SetPhoneNil()
SetPhoneNil sets the value for Phone to be an explicit nil
func (*OrderFiscalEntityResponse) SetTaxId ¶
func (o *OrderFiscalEntityResponse) SetTaxId(v string)
SetTaxId gets a reference to the given NullableString and assigns it to the TaxId field.
func (*OrderFiscalEntityResponse) SetTaxIdNil ¶
func (o *OrderFiscalEntityResponse) SetTaxIdNil()
SetTaxIdNil sets the value for TaxId to be an explicit nil
func (OrderFiscalEntityResponse) ToMap ¶
func (o OrderFiscalEntityResponse) ToMap() (map[string]interface{}, error)
func (*OrderFiscalEntityResponse) UnmarshalJSON ¶
func (o *OrderFiscalEntityResponse) UnmarshalJSON(data []byte) (err error)
func (*OrderFiscalEntityResponse) UnsetEmail ¶
func (o *OrderFiscalEntityResponse) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (*OrderFiscalEntityResponse) UnsetName ¶
func (o *OrderFiscalEntityResponse) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*OrderFiscalEntityResponse) UnsetPhone ¶
func (o *OrderFiscalEntityResponse) UnsetPhone()
UnsetPhone ensures that no value is present for Phone, not even an explicit nil
func (*OrderFiscalEntityResponse) UnsetTaxId ¶
func (o *OrderFiscalEntityResponse) UnsetTaxId()
UnsetTaxId ensures that no value is present for TaxId, not even an explicit nil
type OrderNextActionResponse ¶
type OrderNextActionResponse struct {
RedirectToUrl *OrderNextActionResponseRedirectToUrl `json:"redirect_to_url,omitempty"`
// Indicates the type of action to be taken
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderNextActionResponse contains the following attributes that will guide to continue the flow
func NewOrderNextActionResponse ¶
func NewOrderNextActionResponse() *OrderNextActionResponse
NewOrderNextActionResponse instantiates a new OrderNextActionResponse 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 NewOrderNextActionResponseWithDefaults ¶
func NewOrderNextActionResponseWithDefaults() *OrderNextActionResponse
NewOrderNextActionResponseWithDefaults instantiates a new OrderNextActionResponse 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 (*OrderNextActionResponse) GetRedirectToUrl ¶
func (o *OrderNextActionResponse) GetRedirectToUrl() OrderNextActionResponseRedirectToUrl
GetRedirectToUrl returns the RedirectToUrl field value if set, zero value otherwise.
func (*OrderNextActionResponse) GetRedirectToUrlOk ¶
func (o *OrderNextActionResponse) GetRedirectToUrlOk() (*OrderNextActionResponseRedirectToUrl, bool)
GetRedirectToUrlOk returns a tuple with the RedirectToUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderNextActionResponse) GetType ¶
func (o *OrderNextActionResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*OrderNextActionResponse) GetTypeOk ¶
func (o *OrderNextActionResponse) 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 (*OrderNextActionResponse) HasRedirectToUrl ¶
func (o *OrderNextActionResponse) HasRedirectToUrl() bool
HasRedirectToUrl returns a boolean if a field has been set.
func (*OrderNextActionResponse) HasType ¶
func (o *OrderNextActionResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (OrderNextActionResponse) MarshalJSON ¶
func (o OrderNextActionResponse) MarshalJSON() ([]byte, error)
func (*OrderNextActionResponse) SetRedirectToUrl ¶
func (o *OrderNextActionResponse) SetRedirectToUrl(v OrderNextActionResponseRedirectToUrl)
SetRedirectToUrl gets a reference to the given OrderNextActionResponseRedirectToUrl and assigns it to the RedirectToUrl field.
func (*OrderNextActionResponse) SetType ¶
func (o *OrderNextActionResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (OrderNextActionResponse) ToMap ¶
func (o OrderNextActionResponse) ToMap() (map[string]interface{}, error)
func (*OrderNextActionResponse) UnmarshalJSON ¶
func (o *OrderNextActionResponse) UnmarshalJSON(data []byte) (err error)
type OrderNextActionResponseRedirectToUrl ¶
type OrderNextActionResponseRedirectToUrl struct {
// pay.femsa.com/{id} Indicates the url of the Femsa component to authenticate the flow through 3DS2.
Url *string `json:"url,omitempty"`
// Indicates the url to which the 3DS2 flow returns at the end, when the integration is redirected.
ReturnUrl *string `json:"return_url,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderNextActionResponseRedirectToUrl contains the following attributes that will guide to continue the flow
func NewOrderNextActionResponseRedirectToUrl ¶
func NewOrderNextActionResponseRedirectToUrl() *OrderNextActionResponseRedirectToUrl
NewOrderNextActionResponseRedirectToUrl instantiates a new OrderNextActionResponseRedirectToUrl 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 NewOrderNextActionResponseRedirectToUrlWithDefaults ¶
func NewOrderNextActionResponseRedirectToUrlWithDefaults() *OrderNextActionResponseRedirectToUrl
NewOrderNextActionResponseRedirectToUrlWithDefaults instantiates a new OrderNextActionResponseRedirectToUrl 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 (*OrderNextActionResponseRedirectToUrl) GetReturnUrl ¶
func (o *OrderNextActionResponseRedirectToUrl) GetReturnUrl() string
GetReturnUrl returns the ReturnUrl field value if set, zero value otherwise.
func (*OrderNextActionResponseRedirectToUrl) GetReturnUrlOk ¶
func (o *OrderNextActionResponseRedirectToUrl) GetReturnUrlOk() (*string, bool)
GetReturnUrlOk returns a tuple with the ReturnUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderNextActionResponseRedirectToUrl) GetUrl ¶
func (o *OrderNextActionResponseRedirectToUrl) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*OrderNextActionResponseRedirectToUrl) GetUrlOk ¶
func (o *OrderNextActionResponseRedirectToUrl) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderNextActionResponseRedirectToUrl) HasReturnUrl ¶
func (o *OrderNextActionResponseRedirectToUrl) HasReturnUrl() bool
HasReturnUrl returns a boolean if a field has been set.
func (*OrderNextActionResponseRedirectToUrl) HasUrl ¶
func (o *OrderNextActionResponseRedirectToUrl) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (OrderNextActionResponseRedirectToUrl) MarshalJSON ¶
func (o OrderNextActionResponseRedirectToUrl) MarshalJSON() ([]byte, error)
func (*OrderNextActionResponseRedirectToUrl) SetReturnUrl ¶
func (o *OrderNextActionResponseRedirectToUrl) SetReturnUrl(v string)
SetReturnUrl gets a reference to the given string and assigns it to the ReturnUrl field.
func (*OrderNextActionResponseRedirectToUrl) SetUrl ¶
func (o *OrderNextActionResponseRedirectToUrl) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (OrderNextActionResponseRedirectToUrl) ToMap ¶
func (o OrderNextActionResponseRedirectToUrl) ToMap() (map[string]interface{}, error)
func (*OrderNextActionResponseRedirectToUrl) UnmarshalJSON ¶
func (o *OrderNextActionResponseRedirectToUrl) UnmarshalJSON(data []byte) (err error)
type OrderRefundRequest ¶
type OrderRefundRequest struct {
Amount int32 `json:"amount"`
ExpiresAt NullableInt64 `json:"expires_at,omitempty"`
Reason string `json:"reason"`
AdditionalProperties map[string]interface{}
}
OrderRefundRequest struct for OrderRefundRequest
func NewOrderRefundRequest ¶
func NewOrderRefundRequest(amount int32, reason string) *OrderRefundRequest
NewOrderRefundRequest instantiates a new OrderRefundRequest 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 NewOrderRefundRequestWithDefaults ¶
func NewOrderRefundRequestWithDefaults() *OrderRefundRequest
NewOrderRefundRequestWithDefaults instantiates a new OrderRefundRequest 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 (*OrderRefundRequest) GetAmount ¶
func (o *OrderRefundRequest) GetAmount() int32
GetAmount returns the Amount field value
func (*OrderRefundRequest) GetAmountOk ¶
func (o *OrderRefundRequest) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*OrderRefundRequest) GetExpiresAt ¶
func (o *OrderRefundRequest) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderRefundRequest) GetExpiresAtOk ¶
func (o *OrderRefundRequest) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt 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 (*OrderRefundRequest) GetReason ¶
func (o *OrderRefundRequest) GetReason() string
GetReason returns the Reason field value
func (*OrderRefundRequest) GetReasonOk ¶
func (o *OrderRefundRequest) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*OrderRefundRequest) HasExpiresAt ¶
func (o *OrderRefundRequest) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (OrderRefundRequest) MarshalJSON ¶
func (o OrderRefundRequest) MarshalJSON() ([]byte, error)
func (*OrderRefundRequest) SetAmount ¶
func (o *OrderRefundRequest) SetAmount(v int32)
SetAmount sets field value
func (*OrderRefundRequest) SetExpiresAt ¶
func (o *OrderRefundRequest) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given NullableInt64 and assigns it to the ExpiresAt field.
func (*OrderRefundRequest) SetExpiresAtNil ¶
func (o *OrderRefundRequest) SetExpiresAtNil()
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (*OrderRefundRequest) SetReason ¶
func (o *OrderRefundRequest) SetReason(v string)
SetReason sets field value
func (OrderRefundRequest) ToMap ¶
func (o OrderRefundRequest) ToMap() (map[string]interface{}, error)
func (*OrderRefundRequest) UnmarshalJSON ¶
func (o *OrderRefundRequest) UnmarshalJSON(data []byte) (err error)
func (*OrderRefundRequest) UnsetExpiresAt ¶
func (o *OrderRefundRequest) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil
type OrderRequest ¶
type OrderRequest struct {
// List of [charges](https://developers.femsa.com/v2.1.0/reference/orderscreatecharge) that are applied to the order
Charges []ChargeRequest `json:"charges,omitempty"`
Checkout *CheckoutRequest `json:"checkout,omitempty"`
// Currency with which the payment will be made. It uses the 3-letter code of the [International Standard ISO 4217.](https://es.wikipedia.org/wiki/ISO_4217)
Currency string `json:"currency"`
CustomerInfo OrderRequestCustomerInfo `json:"customer_info"`
// List of [discounts](https://developers.femsa.com/v2.1.0/reference/orderscreatediscountline) that are applied to the order. You must have at least one discount.
DiscountLines []OrderDiscountLinesRequest `json:"discount_lines,omitempty"`
FiscalEntity *OrderFiscalEntityRequest `json:"fiscal_entity,omitempty"`
// List of [products](https://developers.femsa.com/v2.1.0/reference/orderscreateproduct) that are sold in the order. You must have at least one product.
LineItems []Product `json:"line_items"`
// Metadata associated with the order
Metadata map[string]interface{} `json:"metadata,omitempty"`
// Allows you to fill out the shipping information at checkout
NeedsShippingContact *bool `json:"needs_shipping_contact,omitempty"`
// Indicates the processing mode for the order, either ecommerce, recurrent or validation.
ProcessingMode *string `json:"processing_mode,omitempty"`
// Indicates the redirection callback upon completion of the 3DS2 flow.
ReturnUrl *string `json:"return_url,omitempty"`
ShippingContact *CustomerShippingContacts `json:"shipping_contact,omitempty"`
// List of [shipping costs](https://developers.femsa.com/v2.1.0/reference/orderscreateshipping). If the online store offers digital products.
ShippingLines []ShippingRequest `json:"shipping_lines,omitempty"`
// List of [taxes](https://developers.femsa.com/v2.1.0/reference/orderscreatetaxes) that are applied to the order.
TaxLines []OrderTaxRequest `json:"tax_lines,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderRequest a order
func NewOrderRequest ¶
func NewOrderRequest(currency string, customerInfo OrderRequestCustomerInfo, lineItems []Product) *OrderRequest
NewOrderRequest instantiates a new OrderRequest 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 NewOrderRequestWithDefaults ¶
func NewOrderRequestWithDefaults() *OrderRequest
NewOrderRequestWithDefaults instantiates a new OrderRequest 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 (*OrderRequest) GetCharges ¶
func (o *OrderRequest) GetCharges() []ChargeRequest
GetCharges returns the Charges field value if set, zero value otherwise.
func (*OrderRequest) GetChargesOk ¶
func (o *OrderRequest) GetChargesOk() ([]ChargeRequest, bool)
GetChargesOk returns a tuple with the Charges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetCheckout ¶
func (o *OrderRequest) GetCheckout() CheckoutRequest
GetCheckout returns the Checkout field value if set, zero value otherwise.
func (*OrderRequest) GetCheckoutOk ¶
func (o *OrderRequest) GetCheckoutOk() (*CheckoutRequest, bool)
GetCheckoutOk returns a tuple with the Checkout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetCurrency ¶
func (o *OrderRequest) GetCurrency() string
GetCurrency returns the Currency field value
func (*OrderRequest) GetCurrencyOk ¶
func (o *OrderRequest) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*OrderRequest) GetCustomerInfo ¶
func (o *OrderRequest) GetCustomerInfo() OrderRequestCustomerInfo
GetCustomerInfo returns the CustomerInfo field value
func (*OrderRequest) GetCustomerInfoOk ¶
func (o *OrderRequest) GetCustomerInfoOk() (*OrderRequestCustomerInfo, bool)
GetCustomerInfoOk returns a tuple with the CustomerInfo field value and a boolean to check if the value has been set.
func (*OrderRequest) GetDiscountLines ¶
func (o *OrderRequest) GetDiscountLines() []OrderDiscountLinesRequest
GetDiscountLines returns the DiscountLines field value if set, zero value otherwise.
func (*OrderRequest) GetDiscountLinesOk ¶
func (o *OrderRequest) GetDiscountLinesOk() ([]OrderDiscountLinesRequest, bool)
GetDiscountLinesOk returns a tuple with the DiscountLines field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetFiscalEntity ¶
func (o *OrderRequest) GetFiscalEntity() OrderFiscalEntityRequest
GetFiscalEntity returns the FiscalEntity field value if set, zero value otherwise.
func (*OrderRequest) GetFiscalEntityOk ¶
func (o *OrderRequest) GetFiscalEntityOk() (*OrderFiscalEntityRequest, bool)
GetFiscalEntityOk returns a tuple with the FiscalEntity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetLineItems ¶
func (o *OrderRequest) GetLineItems() []Product
GetLineItems returns the LineItems field value
func (*OrderRequest) GetLineItemsOk ¶
func (o *OrderRequest) GetLineItemsOk() ([]Product, bool)
GetLineItemsOk returns a tuple with the LineItems field value and a boolean to check if the value has been set.
func (*OrderRequest) GetMetadata ¶
func (o *OrderRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OrderRequest) GetMetadataOk ¶
func (o *OrderRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetNeedsShippingContact ¶
func (o *OrderRequest) GetNeedsShippingContact() bool
GetNeedsShippingContact returns the NeedsShippingContact field value if set, zero value otherwise.
func (*OrderRequest) GetNeedsShippingContactOk ¶
func (o *OrderRequest) GetNeedsShippingContactOk() (*bool, bool)
GetNeedsShippingContactOk returns a tuple with the NeedsShippingContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetProcessingMode ¶
func (o *OrderRequest) GetProcessingMode() string
GetProcessingMode returns the ProcessingMode field value if set, zero value otherwise.
func (*OrderRequest) GetProcessingModeOk ¶
func (o *OrderRequest) GetProcessingModeOk() (*string, bool)
GetProcessingModeOk returns a tuple with the ProcessingMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetReturnUrl ¶
func (o *OrderRequest) GetReturnUrl() string
GetReturnUrl returns the ReturnUrl field value if set, zero value otherwise.
func (*OrderRequest) GetReturnUrlOk ¶
func (o *OrderRequest) GetReturnUrlOk() (*string, bool)
GetReturnUrlOk returns a tuple with the ReturnUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetShippingContact ¶
func (o *OrderRequest) GetShippingContact() CustomerShippingContacts
GetShippingContact returns the ShippingContact field value if set, zero value otherwise.
func (*OrderRequest) GetShippingContactOk ¶
func (o *OrderRequest) GetShippingContactOk() (*CustomerShippingContacts, bool)
GetShippingContactOk returns a tuple with the ShippingContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetShippingLines ¶
func (o *OrderRequest) GetShippingLines() []ShippingRequest
GetShippingLines returns the ShippingLines field value if set, zero value otherwise.
func (*OrderRequest) GetShippingLinesOk ¶
func (o *OrderRequest) GetShippingLinesOk() ([]ShippingRequest, bool)
GetShippingLinesOk returns a tuple with the ShippingLines field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetTaxLines ¶
func (o *OrderRequest) GetTaxLines() []OrderTaxRequest
GetTaxLines returns the TaxLines field value if set, zero value otherwise.
func (*OrderRequest) GetTaxLinesOk ¶
func (o *OrderRequest) GetTaxLinesOk() ([]OrderTaxRequest, bool)
GetTaxLinesOk returns a tuple with the TaxLines field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) HasCharges ¶
func (o *OrderRequest) HasCharges() bool
HasCharges returns a boolean if a field has been set.
func (*OrderRequest) HasCheckout ¶
func (o *OrderRequest) HasCheckout() bool
HasCheckout returns a boolean if a field has been set.
func (*OrderRequest) HasDiscountLines ¶
func (o *OrderRequest) HasDiscountLines() bool
HasDiscountLines returns a boolean if a field has been set.
func (*OrderRequest) HasFiscalEntity ¶
func (o *OrderRequest) HasFiscalEntity() bool
HasFiscalEntity returns a boolean if a field has been set.
func (*OrderRequest) HasMetadata ¶
func (o *OrderRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*OrderRequest) HasNeedsShippingContact ¶
func (o *OrderRequest) HasNeedsShippingContact() bool
HasNeedsShippingContact returns a boolean if a field has been set.
func (*OrderRequest) HasProcessingMode ¶
func (o *OrderRequest) HasProcessingMode() bool
HasProcessingMode returns a boolean if a field has been set.
func (*OrderRequest) HasReturnUrl ¶
func (o *OrderRequest) HasReturnUrl() bool
HasReturnUrl returns a boolean if a field has been set.
func (*OrderRequest) HasShippingContact ¶
func (o *OrderRequest) HasShippingContact() bool
HasShippingContact returns a boolean if a field has been set.
func (*OrderRequest) HasShippingLines ¶
func (o *OrderRequest) HasShippingLines() bool
HasShippingLines returns a boolean if a field has been set.
func (*OrderRequest) HasTaxLines ¶
func (o *OrderRequest) HasTaxLines() bool
HasTaxLines returns a boolean if a field has been set.
func (OrderRequest) MarshalJSON ¶
func (o OrderRequest) MarshalJSON() ([]byte, error)
func (*OrderRequest) SetCharges ¶
func (o *OrderRequest) SetCharges(v []ChargeRequest)
SetCharges gets a reference to the given []ChargeRequest and assigns it to the Charges field.
func (*OrderRequest) SetCheckout ¶
func (o *OrderRequest) SetCheckout(v CheckoutRequest)
SetCheckout gets a reference to the given CheckoutRequest and assigns it to the Checkout field.
func (*OrderRequest) SetCurrency ¶
func (o *OrderRequest) SetCurrency(v string)
SetCurrency sets field value
func (*OrderRequest) SetCustomerInfo ¶
func (o *OrderRequest) SetCustomerInfo(v OrderRequestCustomerInfo)
SetCustomerInfo sets field value
func (*OrderRequest) SetDiscountLines ¶
func (o *OrderRequest) SetDiscountLines(v []OrderDiscountLinesRequest)
SetDiscountLines gets a reference to the given []OrderDiscountLinesRequest and assigns it to the DiscountLines field.
func (*OrderRequest) SetFiscalEntity ¶
func (o *OrderRequest) SetFiscalEntity(v OrderFiscalEntityRequest)
SetFiscalEntity gets a reference to the given OrderFiscalEntityRequest and assigns it to the FiscalEntity field.
func (*OrderRequest) SetLineItems ¶
func (o *OrderRequest) SetLineItems(v []Product)
SetLineItems sets field value
func (*OrderRequest) SetMetadata ¶
func (o *OrderRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*OrderRequest) SetNeedsShippingContact ¶
func (o *OrderRequest) SetNeedsShippingContact(v bool)
SetNeedsShippingContact gets a reference to the given bool and assigns it to the NeedsShippingContact field.
func (*OrderRequest) SetProcessingMode ¶
func (o *OrderRequest) SetProcessingMode(v string)
SetProcessingMode gets a reference to the given string and assigns it to the ProcessingMode field.
func (*OrderRequest) SetReturnUrl ¶
func (o *OrderRequest) SetReturnUrl(v string)
SetReturnUrl gets a reference to the given string and assigns it to the ReturnUrl field.
func (*OrderRequest) SetShippingContact ¶
func (o *OrderRequest) SetShippingContact(v CustomerShippingContacts)
SetShippingContact gets a reference to the given CustomerShippingContacts and assigns it to the ShippingContact field.
func (*OrderRequest) SetShippingLines ¶
func (o *OrderRequest) SetShippingLines(v []ShippingRequest)
SetShippingLines gets a reference to the given []ShippingRequest and assigns it to the ShippingLines field.
func (*OrderRequest) SetTaxLines ¶
func (o *OrderRequest) SetTaxLines(v []OrderTaxRequest)
SetTaxLines gets a reference to the given []OrderTaxRequest and assigns it to the TaxLines field.
func (OrderRequest) ToMap ¶
func (o OrderRequest) ToMap() (map[string]interface{}, error)
func (*OrderRequest) UnmarshalJSON ¶
func (o *OrderRequest) UnmarshalJSON(data []byte) (err error)
type OrderRequestCustomerInfo ¶
type OrderRequestCustomerInfo struct {
CustomerInfo *CustomerInfo
CustomerInfoJustCustomerId *CustomerInfoJustCustomerId
}
OrderRequestCustomerInfo - Customer information
func CustomerInfoAsOrderRequestCustomerInfo ¶
func CustomerInfoAsOrderRequestCustomerInfo(v *CustomerInfo) OrderRequestCustomerInfo
CustomerInfoAsOrderRequestCustomerInfo is a convenience function that returns CustomerInfo wrapped in OrderRequestCustomerInfo
func CustomerInfoJustCustomerIdAsOrderRequestCustomerInfo ¶
func CustomerInfoJustCustomerIdAsOrderRequestCustomerInfo(v *CustomerInfoJustCustomerId) OrderRequestCustomerInfo
CustomerInfoJustCustomerIdAsOrderRequestCustomerInfo is a convenience function that returns CustomerInfoJustCustomerId wrapped in OrderRequestCustomerInfo
func (*OrderRequestCustomerInfo) GetActualInstance ¶
func (obj *OrderRequestCustomerInfo) GetActualInstance() interface{}
Get the actual instance
func (OrderRequestCustomerInfo) MarshalJSON ¶
func (src OrderRequestCustomerInfo) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*OrderRequestCustomerInfo) UnmarshalJSON ¶
func (dst *OrderRequestCustomerInfo) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type OrderResponse ¶
type OrderResponse struct {
// The total amount to be collected in cents
Amount *int32 `json:"amount,omitempty"`
// The total amount refunded in cents
AmountRefunded *int32 `json:"amount_refunded,omitempty"`
Channel *ChargeResponseChannel `json:"channel,omitempty"`
Charges *OrderResponseCharges `json:"charges,omitempty"`
Checkout *OrderResponseCheckout `json:"checkout,omitempty"`
// The time at which the object was created in seconds since the Unix epoch
CreatedAt *int64 `json:"created_at,omitempty"`
// The three-letter ISO 4217 currency code. The currency of the order.
Currency *string `json:"currency,omitempty"`
CustomerInfo *OrderResponseCustomerInfo `json:"customer_info,omitempty"`
DiscountLines *OrderResponseDiscountLines `json:"discount_lines,omitempty"`
FiscalEntity NullableOrderFiscalEntityResponse `json:"fiscal_entity,omitempty"`
Id *string `json:"id,omitempty"`
IsRefundable *bool `json:"is_refundable,omitempty"`
LineItems *OrderResponseProducts `json:"line_items,omitempty"`
// Whether the object exists in live mode or test mode
Livemode *bool `json:"livemode,omitempty"`
// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Metadata map[string]interface{} `json:"metadata,omitempty"`
NextAction *OrderNextActionResponse `json:"next_action,omitempty"`
// String representing the object’s type. Objects of the same type share the same value.
Object *string `json:"object,omitempty"`
// The payment status of the order.
PaymentStatus *string `json:"payment_status,omitempty"`
// Indicates the processing mode for the order, either ecommerce, recurrent or validation.
ProcessingMode *string `json:"processing_mode,omitempty"`
ShippingContact *OrderResponseShippingContact `json:"shipping_contact,omitempty"`
// The time at which the object was last updated in seconds since the Unix epoch
UpdatedAt *int64 `json:"updated_at,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderResponse order response
func NewOrderResponse ¶
func NewOrderResponse() *OrderResponse
NewOrderResponse instantiates a new OrderResponse 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 NewOrderResponseWithDefaults ¶
func NewOrderResponseWithDefaults() *OrderResponse
NewOrderResponseWithDefaults instantiates a new OrderResponse 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 (*OrderResponse) GetAmount ¶
func (o *OrderResponse) GetAmount() int32
GetAmount returns the Amount field value if set, zero value otherwise.
func (*OrderResponse) GetAmountOk ¶
func (o *OrderResponse) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetAmountRefunded ¶
func (o *OrderResponse) GetAmountRefunded() int32
GetAmountRefunded returns the AmountRefunded field value if set, zero value otherwise.
func (*OrderResponse) GetAmountRefundedOk ¶
func (o *OrderResponse) GetAmountRefundedOk() (*int32, bool)
GetAmountRefundedOk returns a tuple with the AmountRefunded field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetChannel ¶
func (o *OrderResponse) GetChannel() ChargeResponseChannel
GetChannel returns the Channel field value if set, zero value otherwise.
func (*OrderResponse) GetChannelOk ¶
func (o *OrderResponse) GetChannelOk() (*ChargeResponseChannel, bool)
GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetCharges ¶
func (o *OrderResponse) GetCharges() OrderResponseCharges
GetCharges returns the Charges field value if set, zero value otherwise.
func (*OrderResponse) GetChargesOk ¶
func (o *OrderResponse) GetChargesOk() (*OrderResponseCharges, bool)
GetChargesOk returns a tuple with the Charges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetCheckout ¶
func (o *OrderResponse) GetCheckout() OrderResponseCheckout
GetCheckout returns the Checkout field value if set, zero value otherwise.
func (*OrderResponse) GetCheckoutOk ¶
func (o *OrderResponse) GetCheckoutOk() (*OrderResponseCheckout, bool)
GetCheckoutOk returns a tuple with the Checkout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetCreatedAt ¶
func (o *OrderResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*OrderResponse) GetCreatedAtOk ¶
func (o *OrderResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetCurrency ¶
func (o *OrderResponse) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*OrderResponse) GetCurrencyOk ¶
func (o *OrderResponse) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetCustomerInfo ¶
func (o *OrderResponse) GetCustomerInfo() OrderResponseCustomerInfo
GetCustomerInfo returns the CustomerInfo field value if set, zero value otherwise.
func (*OrderResponse) GetCustomerInfoOk ¶
func (o *OrderResponse) GetCustomerInfoOk() (*OrderResponseCustomerInfo, bool)
GetCustomerInfoOk returns a tuple with the CustomerInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetDiscountLines ¶
func (o *OrderResponse) GetDiscountLines() OrderResponseDiscountLines
GetDiscountLines returns the DiscountLines field value if set, zero value otherwise.
func (*OrderResponse) GetDiscountLinesOk ¶
func (o *OrderResponse) GetDiscountLinesOk() (*OrderResponseDiscountLines, bool)
GetDiscountLinesOk returns a tuple with the DiscountLines field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetFiscalEntity ¶
func (o *OrderResponse) GetFiscalEntity() OrderFiscalEntityResponse
GetFiscalEntity returns the FiscalEntity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderResponse) GetFiscalEntityOk ¶
func (o *OrderResponse) GetFiscalEntityOk() (*OrderFiscalEntityResponse, bool)
GetFiscalEntityOk returns a tuple with the FiscalEntity 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 (*OrderResponse) GetId ¶
func (o *OrderResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*OrderResponse) GetIdOk ¶
func (o *OrderResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetIsRefundable ¶
func (o *OrderResponse) GetIsRefundable() bool
GetIsRefundable returns the IsRefundable field value if set, zero value otherwise.
func (*OrderResponse) GetIsRefundableOk ¶
func (o *OrderResponse) GetIsRefundableOk() (*bool, bool)
GetIsRefundableOk returns a tuple with the IsRefundable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetLineItems ¶
func (o *OrderResponse) GetLineItems() OrderResponseProducts
GetLineItems returns the LineItems field value if set, zero value otherwise.
func (*OrderResponse) GetLineItemsOk ¶
func (o *OrderResponse) GetLineItemsOk() (*OrderResponseProducts, bool)
GetLineItemsOk returns a tuple with the LineItems field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetLivemode ¶
func (o *OrderResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*OrderResponse) GetLivemodeOk ¶
func (o *OrderResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetMetadata ¶
func (o *OrderResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OrderResponse) GetMetadataOk ¶
func (o *OrderResponse) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetNextAction ¶
func (o *OrderResponse) GetNextAction() OrderNextActionResponse
GetNextAction returns the NextAction field value if set, zero value otherwise.
func (*OrderResponse) GetNextActionOk ¶
func (o *OrderResponse) GetNextActionOk() (*OrderNextActionResponse, bool)
GetNextActionOk returns a tuple with the NextAction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetObject ¶
func (o *OrderResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*OrderResponse) GetObjectOk ¶
func (o *OrderResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetPaymentStatus ¶
func (o *OrderResponse) GetPaymentStatus() string
GetPaymentStatus returns the PaymentStatus field value if set, zero value otherwise.
func (*OrderResponse) GetPaymentStatusOk ¶
func (o *OrderResponse) GetPaymentStatusOk() (*string, bool)
GetPaymentStatusOk returns a tuple with the PaymentStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetProcessingMode ¶
func (o *OrderResponse) GetProcessingMode() string
GetProcessingMode returns the ProcessingMode field value if set, zero value otherwise.
func (*OrderResponse) GetProcessingModeOk ¶
func (o *OrderResponse) GetProcessingModeOk() (*string, bool)
GetProcessingModeOk returns a tuple with the ProcessingMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetShippingContact ¶
func (o *OrderResponse) GetShippingContact() OrderResponseShippingContact
GetShippingContact returns the ShippingContact field value if set, zero value otherwise.
func (*OrderResponse) GetShippingContactOk ¶
func (o *OrderResponse) GetShippingContactOk() (*OrderResponseShippingContact, bool)
GetShippingContactOk returns a tuple with the ShippingContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) GetUpdatedAt ¶
func (o *OrderResponse) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*OrderResponse) GetUpdatedAtOk ¶
func (o *OrderResponse) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponse) HasAmount ¶
func (o *OrderResponse) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*OrderResponse) HasAmountRefunded ¶
func (o *OrderResponse) HasAmountRefunded() bool
HasAmountRefunded returns a boolean if a field has been set.
func (*OrderResponse) HasChannel ¶
func (o *OrderResponse) HasChannel() bool
HasChannel returns a boolean if a field has been set.
func (*OrderResponse) HasCharges ¶
func (o *OrderResponse) HasCharges() bool
HasCharges returns a boolean if a field has been set.
func (*OrderResponse) HasCheckout ¶
func (o *OrderResponse) HasCheckout() bool
HasCheckout returns a boolean if a field has been set.
func (*OrderResponse) HasCreatedAt ¶
func (o *OrderResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*OrderResponse) HasCurrency ¶
func (o *OrderResponse) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*OrderResponse) HasCustomerInfo ¶
func (o *OrderResponse) HasCustomerInfo() bool
HasCustomerInfo returns a boolean if a field has been set.
func (*OrderResponse) HasDiscountLines ¶
func (o *OrderResponse) HasDiscountLines() bool
HasDiscountLines returns a boolean if a field has been set.
func (*OrderResponse) HasFiscalEntity ¶
func (o *OrderResponse) HasFiscalEntity() bool
HasFiscalEntity returns a boolean if a field has been set.
func (*OrderResponse) HasId ¶
func (o *OrderResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*OrderResponse) HasIsRefundable ¶
func (o *OrderResponse) HasIsRefundable() bool
HasIsRefundable returns a boolean if a field has been set.
func (*OrderResponse) HasLineItems ¶
func (o *OrderResponse) HasLineItems() bool
HasLineItems returns a boolean if a field has been set.
func (*OrderResponse) HasLivemode ¶
func (o *OrderResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*OrderResponse) HasMetadata ¶
func (o *OrderResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*OrderResponse) HasNextAction ¶
func (o *OrderResponse) HasNextAction() bool
HasNextAction returns a boolean if a field has been set.
func (*OrderResponse) HasObject ¶
func (o *OrderResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*OrderResponse) HasPaymentStatus ¶
func (o *OrderResponse) HasPaymentStatus() bool
HasPaymentStatus returns a boolean if a field has been set.
func (*OrderResponse) HasProcessingMode ¶
func (o *OrderResponse) HasProcessingMode() bool
HasProcessingMode returns a boolean if a field has been set.
func (*OrderResponse) HasShippingContact ¶
func (o *OrderResponse) HasShippingContact() bool
HasShippingContact returns a boolean if a field has been set.
func (*OrderResponse) HasUpdatedAt ¶
func (o *OrderResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (OrderResponse) MarshalJSON ¶
func (o OrderResponse) MarshalJSON() ([]byte, error)
func (*OrderResponse) SetAmount ¶
func (o *OrderResponse) SetAmount(v int32)
SetAmount gets a reference to the given int32 and assigns it to the Amount field.
func (*OrderResponse) SetAmountRefunded ¶
func (o *OrderResponse) SetAmountRefunded(v int32)
SetAmountRefunded gets a reference to the given int32 and assigns it to the AmountRefunded field.
func (*OrderResponse) SetChannel ¶
func (o *OrderResponse) SetChannel(v ChargeResponseChannel)
SetChannel gets a reference to the given ChargeResponseChannel and assigns it to the Channel field.
func (*OrderResponse) SetCharges ¶
func (o *OrderResponse) SetCharges(v OrderResponseCharges)
SetCharges gets a reference to the given OrderResponseCharges and assigns it to the Charges field.
func (*OrderResponse) SetCheckout ¶
func (o *OrderResponse) SetCheckout(v OrderResponseCheckout)
SetCheckout gets a reference to the given OrderResponseCheckout and assigns it to the Checkout field.
func (*OrderResponse) SetCreatedAt ¶
func (o *OrderResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*OrderResponse) SetCurrency ¶
func (o *OrderResponse) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*OrderResponse) SetCustomerInfo ¶
func (o *OrderResponse) SetCustomerInfo(v OrderResponseCustomerInfo)
SetCustomerInfo gets a reference to the given OrderResponseCustomerInfo and assigns it to the CustomerInfo field.
func (*OrderResponse) SetDiscountLines ¶
func (o *OrderResponse) SetDiscountLines(v OrderResponseDiscountLines)
SetDiscountLines gets a reference to the given OrderResponseDiscountLines and assigns it to the DiscountLines field.
func (*OrderResponse) SetFiscalEntity ¶
func (o *OrderResponse) SetFiscalEntity(v OrderFiscalEntityResponse)
SetFiscalEntity gets a reference to the given NullableOrderFiscalEntityResponse and assigns it to the FiscalEntity field.
func (*OrderResponse) SetFiscalEntityNil ¶
func (o *OrderResponse) SetFiscalEntityNil()
SetFiscalEntityNil sets the value for FiscalEntity to be an explicit nil
func (*OrderResponse) SetId ¶
func (o *OrderResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*OrderResponse) SetIsRefundable ¶
func (o *OrderResponse) SetIsRefundable(v bool)
SetIsRefundable gets a reference to the given bool and assigns it to the IsRefundable field.
func (*OrderResponse) SetLineItems ¶
func (o *OrderResponse) SetLineItems(v OrderResponseProducts)
SetLineItems gets a reference to the given OrderResponseProducts and assigns it to the LineItems field.
func (*OrderResponse) SetLivemode ¶
func (o *OrderResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*OrderResponse) SetMetadata ¶
func (o *OrderResponse) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*OrderResponse) SetNextAction ¶
func (o *OrderResponse) SetNextAction(v OrderNextActionResponse)
SetNextAction gets a reference to the given OrderNextActionResponse and assigns it to the NextAction field.
func (*OrderResponse) SetObject ¶
func (o *OrderResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*OrderResponse) SetPaymentStatus ¶
func (o *OrderResponse) SetPaymentStatus(v string)
SetPaymentStatus gets a reference to the given string and assigns it to the PaymentStatus field.
func (*OrderResponse) SetProcessingMode ¶
func (o *OrderResponse) SetProcessingMode(v string)
SetProcessingMode gets a reference to the given string and assigns it to the ProcessingMode field.
func (*OrderResponse) SetShippingContact ¶
func (o *OrderResponse) SetShippingContact(v OrderResponseShippingContact)
SetShippingContact gets a reference to the given OrderResponseShippingContact and assigns it to the ShippingContact field.
func (*OrderResponse) SetUpdatedAt ¶
func (o *OrderResponse) SetUpdatedAt(v int64)
SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.
func (OrderResponse) ToMap ¶
func (o OrderResponse) ToMap() (map[string]interface{}, error)
func (*OrderResponse) UnmarshalJSON ¶
func (o *OrderResponse) UnmarshalJSON(data []byte) (err error)
func (*OrderResponse) UnsetFiscalEntity ¶
func (o *OrderResponse) UnsetFiscalEntity()
UnsetFiscalEntity ensures that no value is present for FiscalEntity, not even an explicit nil
type OrderResponseCharges ¶
type OrderResponseCharges struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
Data []ChargesDataResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderResponseCharges The charges associated with the order
func NewOrderResponseCharges ¶
func NewOrderResponseCharges(hasMore bool, object string) *OrderResponseCharges
NewOrderResponseCharges instantiates a new OrderResponseCharges 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 NewOrderResponseChargesWithDefaults ¶
func NewOrderResponseChargesWithDefaults() *OrderResponseCharges
NewOrderResponseChargesWithDefaults instantiates a new OrderResponseCharges 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 (*OrderResponseCharges) GetData ¶
func (o *OrderResponseCharges) GetData() []ChargesDataResponse
GetData returns the Data field value if set, zero value otherwise.
func (*OrderResponseCharges) GetDataOk ¶
func (o *OrderResponseCharges) GetDataOk() ([]ChargesDataResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCharges) GetHasMore ¶
func (o *OrderResponseCharges) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*OrderResponseCharges) GetHasMoreOk ¶
func (o *OrderResponseCharges) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*OrderResponseCharges) GetObject ¶
func (o *OrderResponseCharges) GetObject() string
GetObject returns the Object field value
func (*OrderResponseCharges) GetObjectOk ¶
func (o *OrderResponseCharges) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*OrderResponseCharges) HasData ¶
func (o *OrderResponseCharges) HasData() bool
HasData returns a boolean if a field has been set.
func (OrderResponseCharges) MarshalJSON ¶
func (o OrderResponseCharges) MarshalJSON() ([]byte, error)
func (*OrderResponseCharges) SetData ¶
func (o *OrderResponseCharges) SetData(v []ChargesDataResponse)
SetData gets a reference to the given []ChargesDataResponse and assigns it to the Data field.
func (*OrderResponseCharges) SetHasMore ¶
func (o *OrderResponseCharges) SetHasMore(v bool)
SetHasMore sets field value
func (*OrderResponseCharges) SetObject ¶
func (o *OrderResponseCharges) SetObject(v string)
SetObject sets field value
func (OrderResponseCharges) ToMap ¶
func (o OrderResponseCharges) ToMap() (map[string]interface{}, error)
func (*OrderResponseCharges) UnmarshalJSON ¶
func (o *OrderResponseCharges) UnmarshalJSON(data []byte) (err error)
type OrderResponseCheckout ¶
type OrderResponseCheckout struct {
AllowedPaymentMethods []string `json:"allowed_payment_methods,omitempty"`
CanNotExpire *bool `json:"can_not_expire,omitempty"`
EmailsSent *int32 `json:"emails_sent,omitempty"`
ExpiresAt *int64 `json:"expires_at,omitempty"`
FailureUrl *string `json:"failure_url,omitempty"`
Id *string `json:"id,omitempty"`
IsRedirectOnFailure *bool `json:"is_redirect_on_failure,omitempty"`
Livemode *bool `json:"livemode,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
NeedsShippingContact *bool `json:"needs_shipping_contact,omitempty"`
Object *string `json:"object,omitempty"`
OnDemandEnabled NullableBool `json:"on_demand_enabled,omitempty"`
Recurrent *bool `json:"recurrent,omitempty"`
Slug *string `json:"slug,omitempty"`
SmsSent *int32 `json:"sms_sent,omitempty"`
SuccessUrl *string `json:"success_url,omitempty"`
StartsAt *int32 `json:"starts_at,omitempty"`
Status *string `json:"status,omitempty"`
Type *string `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderResponseCheckout struct for OrderResponseCheckout
func NewOrderResponseCheckout ¶
func NewOrderResponseCheckout() *OrderResponseCheckout
NewOrderResponseCheckout instantiates a new OrderResponseCheckout 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 NewOrderResponseCheckoutWithDefaults ¶
func NewOrderResponseCheckoutWithDefaults() *OrderResponseCheckout
NewOrderResponseCheckoutWithDefaults instantiates a new OrderResponseCheckout 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 (*OrderResponseCheckout) GetAllowedPaymentMethods ¶
func (o *OrderResponseCheckout) GetAllowedPaymentMethods() []string
GetAllowedPaymentMethods returns the AllowedPaymentMethods field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetAllowedPaymentMethodsOk ¶
func (o *OrderResponseCheckout) GetAllowedPaymentMethodsOk() ([]string, bool)
GetAllowedPaymentMethodsOk returns a tuple with the AllowedPaymentMethods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetCanNotExpire ¶
func (o *OrderResponseCheckout) GetCanNotExpire() bool
GetCanNotExpire returns the CanNotExpire field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetCanNotExpireOk ¶
func (o *OrderResponseCheckout) GetCanNotExpireOk() (*bool, bool)
GetCanNotExpireOk returns a tuple with the CanNotExpire field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetEmailsSent ¶
func (o *OrderResponseCheckout) GetEmailsSent() int32
GetEmailsSent returns the EmailsSent field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetEmailsSentOk ¶
func (o *OrderResponseCheckout) GetEmailsSentOk() (*int32, bool)
GetEmailsSentOk returns a tuple with the EmailsSent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetExpiresAt ¶
func (o *OrderResponseCheckout) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetExpiresAtOk ¶
func (o *OrderResponseCheckout) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetFailureUrl ¶
func (o *OrderResponseCheckout) GetFailureUrl() string
GetFailureUrl returns the FailureUrl field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetFailureUrlOk ¶
func (o *OrderResponseCheckout) GetFailureUrlOk() (*string, bool)
GetFailureUrlOk returns a tuple with the FailureUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetId ¶
func (o *OrderResponseCheckout) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetIdOk ¶
func (o *OrderResponseCheckout) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetIsRedirectOnFailure ¶
func (o *OrderResponseCheckout) GetIsRedirectOnFailure() bool
GetIsRedirectOnFailure returns the IsRedirectOnFailure field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetIsRedirectOnFailureOk ¶
func (o *OrderResponseCheckout) GetIsRedirectOnFailureOk() (*bool, bool)
GetIsRedirectOnFailureOk returns a tuple with the IsRedirectOnFailure field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetLivemode ¶
func (o *OrderResponseCheckout) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetLivemodeOk ¶
func (o *OrderResponseCheckout) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetMetadata ¶
func (o *OrderResponseCheckout) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetMetadataOk ¶
func (o *OrderResponseCheckout) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetName ¶
func (o *OrderResponseCheckout) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetNameOk ¶
func (o *OrderResponseCheckout) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetNeedsShippingContact ¶
func (o *OrderResponseCheckout) GetNeedsShippingContact() bool
GetNeedsShippingContact returns the NeedsShippingContact field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetNeedsShippingContactOk ¶
func (o *OrderResponseCheckout) GetNeedsShippingContactOk() (*bool, bool)
GetNeedsShippingContactOk returns a tuple with the NeedsShippingContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetObject ¶
func (o *OrderResponseCheckout) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetObjectOk ¶
func (o *OrderResponseCheckout) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetOnDemandEnabled ¶
func (o *OrderResponseCheckout) GetOnDemandEnabled() bool
GetOnDemandEnabled returns the OnDemandEnabled field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderResponseCheckout) GetOnDemandEnabledOk ¶
func (o *OrderResponseCheckout) GetOnDemandEnabledOk() (*bool, bool)
GetOnDemandEnabledOk returns a tuple with the OnDemandEnabled 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 (*OrderResponseCheckout) GetRecurrent ¶
func (o *OrderResponseCheckout) GetRecurrent() bool
GetRecurrent returns the Recurrent field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetRecurrentOk ¶
func (o *OrderResponseCheckout) GetRecurrentOk() (*bool, bool)
GetRecurrentOk returns a tuple with the Recurrent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetSlug ¶
func (o *OrderResponseCheckout) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetSlugOk ¶
func (o *OrderResponseCheckout) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetSmsSent ¶
func (o *OrderResponseCheckout) GetSmsSent() int32
GetSmsSent returns the SmsSent field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetSmsSentOk ¶
func (o *OrderResponseCheckout) GetSmsSentOk() (*int32, bool)
GetSmsSentOk returns a tuple with the SmsSent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetStartsAt ¶
func (o *OrderResponseCheckout) GetStartsAt() int32
GetStartsAt returns the StartsAt field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetStartsAtOk ¶
func (o *OrderResponseCheckout) GetStartsAtOk() (*int32, bool)
GetStartsAtOk returns a tuple with the StartsAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetStatus ¶
func (o *OrderResponseCheckout) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetStatusOk ¶
func (o *OrderResponseCheckout) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetSuccessUrl ¶
func (o *OrderResponseCheckout) GetSuccessUrl() string
GetSuccessUrl returns the SuccessUrl field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetSuccessUrlOk ¶
func (o *OrderResponseCheckout) GetSuccessUrlOk() (*string, bool)
GetSuccessUrlOk returns a tuple with the SuccessUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) GetType ¶
func (o *OrderResponseCheckout) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetTypeOk ¶
func (o *OrderResponseCheckout) 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 (*OrderResponseCheckout) GetUrl ¶
func (o *OrderResponseCheckout) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*OrderResponseCheckout) GetUrlOk ¶
func (o *OrderResponseCheckout) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCheckout) HasAllowedPaymentMethods ¶
func (o *OrderResponseCheckout) HasAllowedPaymentMethods() bool
HasAllowedPaymentMethods returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasCanNotExpire ¶
func (o *OrderResponseCheckout) HasCanNotExpire() bool
HasCanNotExpire returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasEmailsSent ¶
func (o *OrderResponseCheckout) HasEmailsSent() bool
HasEmailsSent returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasExpiresAt ¶
func (o *OrderResponseCheckout) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasFailureUrl ¶
func (o *OrderResponseCheckout) HasFailureUrl() bool
HasFailureUrl returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasId ¶
func (o *OrderResponseCheckout) HasId() bool
HasId returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasIsRedirectOnFailure ¶
func (o *OrderResponseCheckout) HasIsRedirectOnFailure() bool
HasIsRedirectOnFailure returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasLivemode ¶
func (o *OrderResponseCheckout) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasMetadata ¶
func (o *OrderResponseCheckout) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasName ¶
func (o *OrderResponseCheckout) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasNeedsShippingContact ¶
func (o *OrderResponseCheckout) HasNeedsShippingContact() bool
HasNeedsShippingContact returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasObject ¶
func (o *OrderResponseCheckout) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasOnDemandEnabled ¶
func (o *OrderResponseCheckout) HasOnDemandEnabled() bool
HasOnDemandEnabled returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasRecurrent ¶
func (o *OrderResponseCheckout) HasRecurrent() bool
HasRecurrent returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasSlug ¶
func (o *OrderResponseCheckout) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasSmsSent ¶
func (o *OrderResponseCheckout) HasSmsSent() bool
HasSmsSent returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasStartsAt ¶
func (o *OrderResponseCheckout) HasStartsAt() bool
HasStartsAt returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasStatus ¶
func (o *OrderResponseCheckout) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasSuccessUrl ¶
func (o *OrderResponseCheckout) HasSuccessUrl() bool
HasSuccessUrl returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasType ¶
func (o *OrderResponseCheckout) HasType() bool
HasType returns a boolean if a field has been set.
func (*OrderResponseCheckout) HasUrl ¶
func (o *OrderResponseCheckout) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (OrderResponseCheckout) MarshalJSON ¶
func (o OrderResponseCheckout) MarshalJSON() ([]byte, error)
func (*OrderResponseCheckout) SetAllowedPaymentMethods ¶
func (o *OrderResponseCheckout) SetAllowedPaymentMethods(v []string)
SetAllowedPaymentMethods gets a reference to the given []string and assigns it to the AllowedPaymentMethods field.
func (*OrderResponseCheckout) SetCanNotExpire ¶
func (o *OrderResponseCheckout) SetCanNotExpire(v bool)
SetCanNotExpire gets a reference to the given bool and assigns it to the CanNotExpire field.
func (*OrderResponseCheckout) SetEmailsSent ¶
func (o *OrderResponseCheckout) SetEmailsSent(v int32)
SetEmailsSent gets a reference to the given int32 and assigns it to the EmailsSent field.
func (*OrderResponseCheckout) SetExpiresAt ¶
func (o *OrderResponseCheckout) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*OrderResponseCheckout) SetFailureUrl ¶
func (o *OrderResponseCheckout) SetFailureUrl(v string)
SetFailureUrl gets a reference to the given string and assigns it to the FailureUrl field.
func (*OrderResponseCheckout) SetId ¶
func (o *OrderResponseCheckout) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*OrderResponseCheckout) SetIsRedirectOnFailure ¶
func (o *OrderResponseCheckout) SetIsRedirectOnFailure(v bool)
SetIsRedirectOnFailure gets a reference to the given bool and assigns it to the IsRedirectOnFailure field.
func (*OrderResponseCheckout) SetLivemode ¶
func (o *OrderResponseCheckout) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*OrderResponseCheckout) SetMetadata ¶
func (o *OrderResponseCheckout) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*OrderResponseCheckout) SetName ¶
func (o *OrderResponseCheckout) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OrderResponseCheckout) SetNeedsShippingContact ¶
func (o *OrderResponseCheckout) SetNeedsShippingContact(v bool)
SetNeedsShippingContact gets a reference to the given bool and assigns it to the NeedsShippingContact field.
func (*OrderResponseCheckout) SetObject ¶
func (o *OrderResponseCheckout) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*OrderResponseCheckout) SetOnDemandEnabled ¶
func (o *OrderResponseCheckout) SetOnDemandEnabled(v bool)
SetOnDemandEnabled gets a reference to the given NullableBool and assigns it to the OnDemandEnabled field.
func (*OrderResponseCheckout) SetOnDemandEnabledNil ¶
func (o *OrderResponseCheckout) SetOnDemandEnabledNil()
SetOnDemandEnabledNil sets the value for OnDemandEnabled to be an explicit nil
func (*OrderResponseCheckout) SetRecurrent ¶
func (o *OrderResponseCheckout) SetRecurrent(v bool)
SetRecurrent gets a reference to the given bool and assigns it to the Recurrent field.
func (*OrderResponseCheckout) SetSlug ¶
func (o *OrderResponseCheckout) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (*OrderResponseCheckout) SetSmsSent ¶
func (o *OrderResponseCheckout) SetSmsSent(v int32)
SetSmsSent gets a reference to the given int32 and assigns it to the SmsSent field.
func (*OrderResponseCheckout) SetStartsAt ¶
func (o *OrderResponseCheckout) SetStartsAt(v int32)
SetStartsAt gets a reference to the given int32 and assigns it to the StartsAt field.
func (*OrderResponseCheckout) SetStatus ¶
func (o *OrderResponseCheckout) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*OrderResponseCheckout) SetSuccessUrl ¶
func (o *OrderResponseCheckout) SetSuccessUrl(v string)
SetSuccessUrl gets a reference to the given string and assigns it to the SuccessUrl field.
func (*OrderResponseCheckout) SetType ¶
func (o *OrderResponseCheckout) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*OrderResponseCheckout) SetUrl ¶
func (o *OrderResponseCheckout) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (OrderResponseCheckout) ToMap ¶
func (o OrderResponseCheckout) ToMap() (map[string]interface{}, error)
func (*OrderResponseCheckout) UnmarshalJSON ¶
func (o *OrderResponseCheckout) UnmarshalJSON(data []byte) (err error)
func (*OrderResponseCheckout) UnsetOnDemandEnabled ¶
func (o *OrderResponseCheckout) UnsetOnDemandEnabled()
UnsetOnDemandEnabled ensures that no value is present for OnDemandEnabled, not even an explicit nil
type OrderResponseCustomerInfo ¶
type OrderResponseCustomerInfo struct {
// Custom reference
CustomerCustomReference NullableString `json:"customer_custom_reference,omitempty"`
Name *string `json:"name,omitempty"`
Email *string `json:"email,omitempty"`
Phone *string `json:"phone,omitempty"`
Corporate *bool `json:"corporate,omitempty"`
Object *string `json:"object,omitempty"`
CustomerId *string `json:"customer_id,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderResponseCustomerInfo struct for OrderResponseCustomerInfo
func NewOrderResponseCustomerInfo ¶
func NewOrderResponseCustomerInfo() *OrderResponseCustomerInfo
NewOrderResponseCustomerInfo instantiates a new OrderResponseCustomerInfo 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 NewOrderResponseCustomerInfoWithDefaults ¶
func NewOrderResponseCustomerInfoWithDefaults() *OrderResponseCustomerInfo
NewOrderResponseCustomerInfoWithDefaults instantiates a new OrderResponseCustomerInfo 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 (*OrderResponseCustomerInfo) GetCorporate ¶
func (o *OrderResponseCustomerInfo) GetCorporate() bool
GetCorporate returns the Corporate field value if set, zero value otherwise.
func (*OrderResponseCustomerInfo) GetCorporateOk ¶
func (o *OrderResponseCustomerInfo) GetCorporateOk() (*bool, bool)
GetCorporateOk returns a tuple with the Corporate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCustomerInfo) GetCustomerCustomReference ¶
func (o *OrderResponseCustomerInfo) GetCustomerCustomReference() string
GetCustomerCustomReference returns the CustomerCustomReference field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderResponseCustomerInfo) GetCustomerCustomReferenceOk ¶
func (o *OrderResponseCustomerInfo) GetCustomerCustomReferenceOk() (*string, bool)
GetCustomerCustomReferenceOk returns a tuple with the CustomerCustomReference 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 (*OrderResponseCustomerInfo) GetCustomerId ¶
func (o *OrderResponseCustomerInfo) GetCustomerId() string
GetCustomerId returns the CustomerId field value if set, zero value otherwise.
func (*OrderResponseCustomerInfo) GetCustomerIdOk ¶
func (o *OrderResponseCustomerInfo) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCustomerInfo) GetEmail ¶
func (o *OrderResponseCustomerInfo) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*OrderResponseCustomerInfo) GetEmailOk ¶
func (o *OrderResponseCustomerInfo) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCustomerInfo) GetName ¶
func (o *OrderResponseCustomerInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OrderResponseCustomerInfo) GetNameOk ¶
func (o *OrderResponseCustomerInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCustomerInfo) GetObject ¶
func (o *OrderResponseCustomerInfo) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*OrderResponseCustomerInfo) GetObjectOk ¶
func (o *OrderResponseCustomerInfo) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCustomerInfo) GetPhone ¶
func (o *OrderResponseCustomerInfo) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*OrderResponseCustomerInfo) GetPhoneOk ¶
func (o *OrderResponseCustomerInfo) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseCustomerInfo) HasCorporate ¶
func (o *OrderResponseCustomerInfo) HasCorporate() bool
HasCorporate returns a boolean if a field has been set.
func (*OrderResponseCustomerInfo) HasCustomerCustomReference ¶
func (o *OrderResponseCustomerInfo) HasCustomerCustomReference() bool
HasCustomerCustomReference returns a boolean if a field has been set.
func (*OrderResponseCustomerInfo) HasCustomerId ¶
func (o *OrderResponseCustomerInfo) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (*OrderResponseCustomerInfo) HasEmail ¶
func (o *OrderResponseCustomerInfo) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*OrderResponseCustomerInfo) HasName ¶
func (o *OrderResponseCustomerInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrderResponseCustomerInfo) HasObject ¶
func (o *OrderResponseCustomerInfo) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*OrderResponseCustomerInfo) HasPhone ¶
func (o *OrderResponseCustomerInfo) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (OrderResponseCustomerInfo) MarshalJSON ¶
func (o OrderResponseCustomerInfo) MarshalJSON() ([]byte, error)
func (*OrderResponseCustomerInfo) SetCorporate ¶
func (o *OrderResponseCustomerInfo) SetCorporate(v bool)
SetCorporate gets a reference to the given bool and assigns it to the Corporate field.
func (*OrderResponseCustomerInfo) SetCustomerCustomReference ¶
func (o *OrderResponseCustomerInfo) SetCustomerCustomReference(v string)
SetCustomerCustomReference gets a reference to the given NullableString and assigns it to the CustomerCustomReference field.
func (*OrderResponseCustomerInfo) SetCustomerCustomReferenceNil ¶
func (o *OrderResponseCustomerInfo) SetCustomerCustomReferenceNil()
SetCustomerCustomReferenceNil sets the value for CustomerCustomReference to be an explicit nil
func (*OrderResponseCustomerInfo) SetCustomerId ¶
func (o *OrderResponseCustomerInfo) SetCustomerId(v string)
SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.
func (*OrderResponseCustomerInfo) SetEmail ¶
func (o *OrderResponseCustomerInfo) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*OrderResponseCustomerInfo) SetName ¶
func (o *OrderResponseCustomerInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OrderResponseCustomerInfo) SetObject ¶
func (o *OrderResponseCustomerInfo) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*OrderResponseCustomerInfo) SetPhone ¶
func (o *OrderResponseCustomerInfo) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (OrderResponseCustomerInfo) ToMap ¶
func (o OrderResponseCustomerInfo) ToMap() (map[string]interface{}, error)
func (*OrderResponseCustomerInfo) UnmarshalJSON ¶
func (o *OrderResponseCustomerInfo) UnmarshalJSON(data []byte) (err error)
func (*OrderResponseCustomerInfo) UnsetCustomerCustomReference ¶
func (o *OrderResponseCustomerInfo) UnsetCustomerCustomReference()
UnsetCustomerCustomReference ensures that no value is present for CustomerCustomReference, not even an explicit nil
type OrderResponseDiscountLines ¶
type OrderResponseDiscountLines struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
Data []DiscountLinesDataResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderResponseDiscountLines struct for OrderResponseDiscountLines
func NewOrderResponseDiscountLines ¶
func NewOrderResponseDiscountLines(hasMore bool, object string) *OrderResponseDiscountLines
NewOrderResponseDiscountLines instantiates a new OrderResponseDiscountLines 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 NewOrderResponseDiscountLinesWithDefaults ¶
func NewOrderResponseDiscountLinesWithDefaults() *OrderResponseDiscountLines
NewOrderResponseDiscountLinesWithDefaults instantiates a new OrderResponseDiscountLines 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 (*OrderResponseDiscountLines) GetData ¶
func (o *OrderResponseDiscountLines) GetData() []DiscountLinesDataResponse
GetData returns the Data field value if set, zero value otherwise.
func (*OrderResponseDiscountLines) GetDataOk ¶
func (o *OrderResponseDiscountLines) GetDataOk() ([]DiscountLinesDataResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseDiscountLines) GetHasMore ¶
func (o *OrderResponseDiscountLines) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*OrderResponseDiscountLines) GetHasMoreOk ¶
func (o *OrderResponseDiscountLines) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*OrderResponseDiscountLines) GetObject ¶
func (o *OrderResponseDiscountLines) GetObject() string
GetObject returns the Object field value
func (*OrderResponseDiscountLines) GetObjectOk ¶
func (o *OrderResponseDiscountLines) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*OrderResponseDiscountLines) HasData ¶
func (o *OrderResponseDiscountLines) HasData() bool
HasData returns a boolean if a field has been set.
func (OrderResponseDiscountLines) MarshalJSON ¶
func (o OrderResponseDiscountLines) MarshalJSON() ([]byte, error)
func (*OrderResponseDiscountLines) SetData ¶
func (o *OrderResponseDiscountLines) SetData(v []DiscountLinesDataResponse)
SetData gets a reference to the given []DiscountLinesDataResponse and assigns it to the Data field.
func (*OrderResponseDiscountLines) SetHasMore ¶
func (o *OrderResponseDiscountLines) SetHasMore(v bool)
SetHasMore sets field value
func (*OrderResponseDiscountLines) SetObject ¶
func (o *OrderResponseDiscountLines) SetObject(v string)
SetObject sets field value
func (OrderResponseDiscountLines) ToMap ¶
func (o OrderResponseDiscountLines) ToMap() (map[string]interface{}, error)
func (*OrderResponseDiscountLines) UnmarshalJSON ¶
func (o *OrderResponseDiscountLines) UnmarshalJSON(data []byte) (err error)
type OrderResponseProducts ¶
type OrderResponseProducts struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
Data []ProductDataResponse `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderResponseProducts struct for OrderResponseProducts
func NewOrderResponseProducts ¶
func NewOrderResponseProducts(hasMore bool, object string) *OrderResponseProducts
NewOrderResponseProducts instantiates a new OrderResponseProducts 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 NewOrderResponseProductsWithDefaults ¶
func NewOrderResponseProductsWithDefaults() *OrderResponseProducts
NewOrderResponseProductsWithDefaults instantiates a new OrderResponseProducts 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 (*OrderResponseProducts) GetData ¶
func (o *OrderResponseProducts) GetData() []ProductDataResponse
GetData returns the Data field value if set, zero value otherwise.
func (*OrderResponseProducts) GetDataOk ¶
func (o *OrderResponseProducts) GetDataOk() ([]ProductDataResponse, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseProducts) GetHasMore ¶
func (o *OrderResponseProducts) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*OrderResponseProducts) GetHasMoreOk ¶
func (o *OrderResponseProducts) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*OrderResponseProducts) GetNextPageUrl ¶
func (o *OrderResponseProducts) GetNextPageUrl() string
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderResponseProducts) GetNextPageUrlOk ¶
func (o *OrderResponseProducts) GetNextPageUrlOk() (*string, bool)
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*OrderResponseProducts) GetObject ¶
func (o *OrderResponseProducts) GetObject() string
GetObject returns the Object field value
func (*OrderResponseProducts) GetObjectOk ¶
func (o *OrderResponseProducts) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*OrderResponseProducts) GetPreviousPageUrl ¶
func (o *OrderResponseProducts) GetPreviousPageUrl() string
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderResponseProducts) GetPreviousPageUrlOk ¶
func (o *OrderResponseProducts) GetPreviousPageUrlOk() (*string, bool)
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*OrderResponseProducts) HasData ¶
func (o *OrderResponseProducts) HasData() bool
HasData returns a boolean if a field has been set.
func (*OrderResponseProducts) HasNextPageUrl ¶
func (o *OrderResponseProducts) HasNextPageUrl() bool
HasNextPageUrl returns a boolean if a field has been set.
func (*OrderResponseProducts) HasPreviousPageUrl ¶
func (o *OrderResponseProducts) HasPreviousPageUrl() bool
HasPreviousPageUrl returns a boolean if a field has been set.
func (OrderResponseProducts) MarshalJSON ¶
func (o OrderResponseProducts) MarshalJSON() ([]byte, error)
func (*OrderResponseProducts) SetData ¶
func (o *OrderResponseProducts) SetData(v []ProductDataResponse)
SetData gets a reference to the given []ProductDataResponse and assigns it to the Data field.
func (*OrderResponseProducts) SetHasMore ¶
func (o *OrderResponseProducts) SetHasMore(v bool)
SetHasMore sets field value
func (*OrderResponseProducts) SetNextPageUrl ¶
func (o *OrderResponseProducts) SetNextPageUrl(v string)
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*OrderResponseProducts) SetNextPageUrlNil ¶
func (o *OrderResponseProducts) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*OrderResponseProducts) SetObject ¶
func (o *OrderResponseProducts) SetObject(v string)
SetObject sets field value
func (*OrderResponseProducts) SetPreviousPageUrl ¶
func (o *OrderResponseProducts) SetPreviousPageUrl(v string)
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*OrderResponseProducts) SetPreviousPageUrlNil ¶
func (o *OrderResponseProducts) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (OrderResponseProducts) ToMap ¶
func (o OrderResponseProducts) ToMap() (map[string]interface{}, error)
func (*OrderResponseProducts) UnmarshalJSON ¶
func (o *OrderResponseProducts) UnmarshalJSON(data []byte) (err error)
func (*OrderResponseProducts) UnsetNextPageUrl ¶
func (o *OrderResponseProducts) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*OrderResponseProducts) UnsetPreviousPageUrl ¶
func (o *OrderResponseProducts) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type OrderResponseShippingContact ¶
type OrderResponseShippingContact struct {
Phone *string `json:"phone,omitempty"`
Receiver *string `json:"receiver,omitempty"`
BetweenStreets NullableString `json:"between_streets,omitempty"`
Address *CustomerShippingContactsResponseAddress `json:"address,omitempty"`
ParentId *string `json:"parent_id,omitempty"`
Default *bool `json:"default,omitempty"`
Id *string `json:"id,omitempty"`
CreatedAt *int64 `json:"created_at,omitempty"`
// Metadata associated with the shipping contact
Metadata map[string]interface{} `json:"metadata,omitempty"`
Object *string `json:"object,omitempty"`
Deleted *bool `json:"deleted,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderResponseShippingContact struct for OrderResponseShippingContact
func NewOrderResponseShippingContact ¶
func NewOrderResponseShippingContact() *OrderResponseShippingContact
NewOrderResponseShippingContact instantiates a new OrderResponseShippingContact 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 NewOrderResponseShippingContactWithDefaults ¶
func NewOrderResponseShippingContactWithDefaults() *OrderResponseShippingContact
NewOrderResponseShippingContactWithDefaults instantiates a new OrderResponseShippingContact 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 (*OrderResponseShippingContact) GetAddress ¶
func (o *OrderResponseShippingContact) GetAddress() CustomerShippingContactsResponseAddress
GetAddress returns the Address field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetAddressOk ¶
func (o *OrderResponseShippingContact) GetAddressOk() (*CustomerShippingContactsResponseAddress, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) GetBetweenStreets ¶
func (o *OrderResponseShippingContact) GetBetweenStreets() string
GetBetweenStreets returns the BetweenStreets field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderResponseShippingContact) GetBetweenStreetsOk ¶
func (o *OrderResponseShippingContact) GetBetweenStreetsOk() (*string, bool)
GetBetweenStreetsOk returns a tuple with the BetweenStreets 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 (*OrderResponseShippingContact) GetCreatedAt ¶
func (o *OrderResponseShippingContact) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetCreatedAtOk ¶
func (o *OrderResponseShippingContact) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) GetDefault ¶
func (o *OrderResponseShippingContact) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetDefaultOk ¶
func (o *OrderResponseShippingContact) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) GetDeleted ¶
func (o *OrderResponseShippingContact) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetDeletedOk ¶
func (o *OrderResponseShippingContact) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) GetId ¶
func (o *OrderResponseShippingContact) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetIdOk ¶
func (o *OrderResponseShippingContact) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) GetMetadata ¶
func (o *OrderResponseShippingContact) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetMetadataOk ¶
func (o *OrderResponseShippingContact) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) GetObject ¶
func (o *OrderResponseShippingContact) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetObjectOk ¶
func (o *OrderResponseShippingContact) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) GetParentId ¶
func (o *OrderResponseShippingContact) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetParentIdOk ¶
func (o *OrderResponseShippingContact) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) GetPhone ¶
func (o *OrderResponseShippingContact) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetPhoneOk ¶
func (o *OrderResponseShippingContact) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) GetReceiver ¶
func (o *OrderResponseShippingContact) GetReceiver() string
GetReceiver returns the Receiver field value if set, zero value otherwise.
func (*OrderResponseShippingContact) GetReceiverOk ¶
func (o *OrderResponseShippingContact) GetReceiverOk() (*string, bool)
GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderResponseShippingContact) HasAddress ¶
func (o *OrderResponseShippingContact) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasBetweenStreets ¶
func (o *OrderResponseShippingContact) HasBetweenStreets() bool
HasBetweenStreets returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasCreatedAt ¶
func (o *OrderResponseShippingContact) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasDefault ¶
func (o *OrderResponseShippingContact) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasDeleted ¶
func (o *OrderResponseShippingContact) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasId ¶
func (o *OrderResponseShippingContact) HasId() bool
HasId returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasMetadata ¶
func (o *OrderResponseShippingContact) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasObject ¶
func (o *OrderResponseShippingContact) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasParentId ¶
func (o *OrderResponseShippingContact) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasPhone ¶
func (o *OrderResponseShippingContact) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*OrderResponseShippingContact) HasReceiver ¶
func (o *OrderResponseShippingContact) HasReceiver() bool
HasReceiver returns a boolean if a field has been set.
func (OrderResponseShippingContact) MarshalJSON ¶
func (o OrderResponseShippingContact) MarshalJSON() ([]byte, error)
func (*OrderResponseShippingContact) SetAddress ¶
func (o *OrderResponseShippingContact) SetAddress(v CustomerShippingContactsResponseAddress)
SetAddress gets a reference to the given CustomerShippingContactsResponseAddress and assigns it to the Address field.
func (*OrderResponseShippingContact) SetBetweenStreets ¶
func (o *OrderResponseShippingContact) SetBetweenStreets(v string)
SetBetweenStreets gets a reference to the given NullableString and assigns it to the BetweenStreets field.
func (*OrderResponseShippingContact) SetBetweenStreetsNil ¶
func (o *OrderResponseShippingContact) SetBetweenStreetsNil()
SetBetweenStreetsNil sets the value for BetweenStreets to be an explicit nil
func (*OrderResponseShippingContact) SetCreatedAt ¶
func (o *OrderResponseShippingContact) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*OrderResponseShippingContact) SetDefault ¶
func (o *OrderResponseShippingContact) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*OrderResponseShippingContact) SetDeleted ¶
func (o *OrderResponseShippingContact) SetDeleted(v bool)
SetDeleted gets a reference to the given bool and assigns it to the Deleted field.
func (*OrderResponseShippingContact) SetId ¶
func (o *OrderResponseShippingContact) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*OrderResponseShippingContact) SetMetadata ¶
func (o *OrderResponseShippingContact) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*OrderResponseShippingContact) SetObject ¶
func (o *OrderResponseShippingContact) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*OrderResponseShippingContact) SetParentId ¶
func (o *OrderResponseShippingContact) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*OrderResponseShippingContact) SetPhone ¶
func (o *OrderResponseShippingContact) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*OrderResponseShippingContact) SetReceiver ¶
func (o *OrderResponseShippingContact) SetReceiver(v string)
SetReceiver gets a reference to the given string and assigns it to the Receiver field.
func (OrderResponseShippingContact) ToMap ¶
func (o OrderResponseShippingContact) ToMap() (map[string]interface{}, error)
func (*OrderResponseShippingContact) UnmarshalJSON ¶
func (o *OrderResponseShippingContact) UnmarshalJSON(data []byte) (err error)
func (*OrderResponseShippingContact) UnsetBetweenStreets ¶
func (o *OrderResponseShippingContact) UnsetBetweenStreets()
UnsetBetweenStreets ensures that no value is present for BetweenStreets, not even an explicit nil
type OrderTaxRequest ¶
type OrderTaxRequest struct {
// The amount to be collected for tax in cents
Amount int64 `json:"amount"`
// description or tax's name
Description string `json:"description"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderTaxRequest create new taxes for an existing order
func NewOrderTaxRequest ¶
func NewOrderTaxRequest(amount int64, description string) *OrderTaxRequest
NewOrderTaxRequest instantiates a new OrderTaxRequest 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 NewOrderTaxRequestWithDefaults ¶
func NewOrderTaxRequestWithDefaults() *OrderTaxRequest
NewOrderTaxRequestWithDefaults instantiates a new OrderTaxRequest 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 (*OrderTaxRequest) GetAmount ¶
func (o *OrderTaxRequest) GetAmount() int64
GetAmount returns the Amount field value
func (*OrderTaxRequest) GetAmountOk ¶
func (o *OrderTaxRequest) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*OrderTaxRequest) GetDescription ¶
func (o *OrderTaxRequest) GetDescription() string
GetDescription returns the Description field value
func (*OrderTaxRequest) GetDescriptionOk ¶
func (o *OrderTaxRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*OrderTaxRequest) GetMetadata ¶
func (o *OrderTaxRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OrderTaxRequest) GetMetadataOk ¶
func (o *OrderTaxRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderTaxRequest) HasMetadata ¶
func (o *OrderTaxRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (OrderTaxRequest) MarshalJSON ¶
func (o OrderTaxRequest) MarshalJSON() ([]byte, error)
func (*OrderTaxRequest) SetAmount ¶
func (o *OrderTaxRequest) SetAmount(v int64)
SetAmount sets field value
func (*OrderTaxRequest) SetDescription ¶
func (o *OrderTaxRequest) SetDescription(v string)
SetDescription sets field value
func (*OrderTaxRequest) SetMetadata ¶
func (o *OrderTaxRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (OrderTaxRequest) ToMap ¶
func (o OrderTaxRequest) ToMap() (map[string]interface{}, error)
func (*OrderTaxRequest) UnmarshalJSON ¶
func (o *OrderTaxRequest) UnmarshalJSON(data []byte) (err error)
type OrderUpdateFiscalEntityRequest ¶
type OrderUpdateFiscalEntityRequest struct {
Address FiscalEntityAddress `json:"address"`
// Email of the fiscal entity
Email *string `json:"email,omitempty"`
// Name of the fiscal entity
Name NullableString `json:"name,omitempty"`
// Metadata associated with the fiscal entity
Metadata map[string]interface{} `json:"metadata,omitempty"`
// Phone of the fiscal entity
Phone *string `json:"phone,omitempty"`
// Tax ID of the fiscal entity
TaxId NullableString `json:"tax_id,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderUpdateFiscalEntityRequest Fiscal entity of the order, Currently it is a purely informative field
func NewOrderUpdateFiscalEntityRequest ¶
func NewOrderUpdateFiscalEntityRequest(address FiscalEntityAddress) *OrderUpdateFiscalEntityRequest
NewOrderUpdateFiscalEntityRequest instantiates a new OrderUpdateFiscalEntityRequest 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 NewOrderUpdateFiscalEntityRequestWithDefaults ¶
func NewOrderUpdateFiscalEntityRequestWithDefaults() *OrderUpdateFiscalEntityRequest
NewOrderUpdateFiscalEntityRequestWithDefaults instantiates a new OrderUpdateFiscalEntityRequest 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 (*OrderUpdateFiscalEntityRequest) GetAddress ¶
func (o *OrderUpdateFiscalEntityRequest) GetAddress() FiscalEntityAddress
GetAddress returns the Address field value
func (*OrderUpdateFiscalEntityRequest) GetAddressOk ¶
func (o *OrderUpdateFiscalEntityRequest) GetAddressOk() (*FiscalEntityAddress, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*OrderUpdateFiscalEntityRequest) GetEmail ¶
func (o *OrderUpdateFiscalEntityRequest) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*OrderUpdateFiscalEntityRequest) GetEmailOk ¶
func (o *OrderUpdateFiscalEntityRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateFiscalEntityRequest) GetMetadata ¶
func (o *OrderUpdateFiscalEntityRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OrderUpdateFiscalEntityRequest) GetMetadataOk ¶
func (o *OrderUpdateFiscalEntityRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateFiscalEntityRequest) GetName ¶
func (o *OrderUpdateFiscalEntityRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderUpdateFiscalEntityRequest) GetNameOk ¶
func (o *OrderUpdateFiscalEntityRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*OrderUpdateFiscalEntityRequest) GetPhone ¶
func (o *OrderUpdateFiscalEntityRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*OrderUpdateFiscalEntityRequest) GetPhoneOk ¶
func (o *OrderUpdateFiscalEntityRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateFiscalEntityRequest) GetTaxId ¶
func (o *OrderUpdateFiscalEntityRequest) GetTaxId() string
GetTaxId returns the TaxId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderUpdateFiscalEntityRequest) GetTaxIdOk ¶
func (o *OrderUpdateFiscalEntityRequest) GetTaxIdOk() (*string, bool)
GetTaxIdOk returns a tuple with the TaxId 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 (*OrderUpdateFiscalEntityRequest) HasEmail ¶
func (o *OrderUpdateFiscalEntityRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*OrderUpdateFiscalEntityRequest) HasMetadata ¶
func (o *OrderUpdateFiscalEntityRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*OrderUpdateFiscalEntityRequest) HasName ¶
func (o *OrderUpdateFiscalEntityRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrderUpdateFiscalEntityRequest) HasPhone ¶
func (o *OrderUpdateFiscalEntityRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*OrderUpdateFiscalEntityRequest) HasTaxId ¶
func (o *OrderUpdateFiscalEntityRequest) HasTaxId() bool
HasTaxId returns a boolean if a field has been set.
func (OrderUpdateFiscalEntityRequest) MarshalJSON ¶
func (o OrderUpdateFiscalEntityRequest) MarshalJSON() ([]byte, error)
func (*OrderUpdateFiscalEntityRequest) SetAddress ¶
func (o *OrderUpdateFiscalEntityRequest) SetAddress(v FiscalEntityAddress)
SetAddress sets field value
func (*OrderUpdateFiscalEntityRequest) SetEmail ¶
func (o *OrderUpdateFiscalEntityRequest) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*OrderUpdateFiscalEntityRequest) SetMetadata ¶
func (o *OrderUpdateFiscalEntityRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*OrderUpdateFiscalEntityRequest) SetName ¶
func (o *OrderUpdateFiscalEntityRequest) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*OrderUpdateFiscalEntityRequest) SetNameNil ¶
func (o *OrderUpdateFiscalEntityRequest) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*OrderUpdateFiscalEntityRequest) SetPhone ¶
func (o *OrderUpdateFiscalEntityRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*OrderUpdateFiscalEntityRequest) SetTaxId ¶
func (o *OrderUpdateFiscalEntityRequest) SetTaxId(v string)
SetTaxId gets a reference to the given NullableString and assigns it to the TaxId field.
func (*OrderUpdateFiscalEntityRequest) SetTaxIdNil ¶
func (o *OrderUpdateFiscalEntityRequest) SetTaxIdNil()
SetTaxIdNil sets the value for TaxId to be an explicit nil
func (OrderUpdateFiscalEntityRequest) ToMap ¶
func (o OrderUpdateFiscalEntityRequest) ToMap() (map[string]interface{}, error)
func (*OrderUpdateFiscalEntityRequest) UnmarshalJSON ¶
func (o *OrderUpdateFiscalEntityRequest) UnmarshalJSON(data []byte) (err error)
func (*OrderUpdateFiscalEntityRequest) UnsetName ¶
func (o *OrderUpdateFiscalEntityRequest) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*OrderUpdateFiscalEntityRequest) UnsetTaxId ¶
func (o *OrderUpdateFiscalEntityRequest) UnsetTaxId()
UnsetTaxId ensures that no value is present for TaxId, not even an explicit nil
type OrderUpdateRequest ¶
type OrderUpdateRequest struct {
Charges []ChargeRequest `json:"charges,omitempty"`
Checkout *CheckoutRequest `json:"checkout,omitempty"`
// Currency with which the payment will be made. It uses the 3-letter code of the [International Standard ISO 4217.](https://es.wikipedia.org/wiki/ISO_4217)
Currency *string `json:"currency,omitempty"`
CustomerInfo *OrderUpdateRequestCustomerInfo `json:"customer_info,omitempty"`
// List of [discounts](https://developers.femsa.com/v2.1.0/reference/orderscreatediscountline) that are applied to the order. You must have at least one discount.
DiscountLines []OrderDiscountLinesRequest `json:"discount_lines,omitempty"`
FiscalEntity *OrderUpdateFiscalEntityRequest `json:"fiscal_entity,omitempty"`
// List of [products](https://developers.femsa.com/v2.1.0/reference/orderscreateproduct) that are sold in the order. You must have at least one product.
LineItems []Product `json:"line_items,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
// Indicates whether the order charges must be preauthorized
PreAuthorize *bool `json:"pre_authorize,omitempty"`
ShippingContact *CustomerShippingContacts `json:"shipping_contact,omitempty"`
// List of [shipping costs](https://developers.femsa.com/v2.1.0/reference/orderscreateshipping). If the online store offers digital products.
ShippingLines []ShippingRequest `json:"shipping_lines,omitempty"`
TaxLines []OrderTaxRequest `json:"tax_lines,omitempty"`
AdditionalProperties map[string]interface{}
}
OrderUpdateRequest a order
func NewOrderUpdateRequest ¶
func NewOrderUpdateRequest() *OrderUpdateRequest
NewOrderUpdateRequest instantiates a new OrderUpdateRequest 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 NewOrderUpdateRequestWithDefaults ¶
func NewOrderUpdateRequestWithDefaults() *OrderUpdateRequest
NewOrderUpdateRequestWithDefaults instantiates a new OrderUpdateRequest 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 (*OrderUpdateRequest) GetCharges ¶
func (o *OrderUpdateRequest) GetCharges() []ChargeRequest
GetCharges returns the Charges field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetChargesOk ¶
func (o *OrderUpdateRequest) GetChargesOk() ([]ChargeRequest, bool)
GetChargesOk returns a tuple with the Charges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetCheckout ¶
func (o *OrderUpdateRequest) GetCheckout() CheckoutRequest
GetCheckout returns the Checkout field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetCheckoutOk ¶
func (o *OrderUpdateRequest) GetCheckoutOk() (*CheckoutRequest, bool)
GetCheckoutOk returns a tuple with the Checkout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetCurrency ¶
func (o *OrderUpdateRequest) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetCurrencyOk ¶
func (o *OrderUpdateRequest) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetCustomerInfo ¶
func (o *OrderUpdateRequest) GetCustomerInfo() OrderUpdateRequestCustomerInfo
GetCustomerInfo returns the CustomerInfo field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetCustomerInfoOk ¶
func (o *OrderUpdateRequest) GetCustomerInfoOk() (*OrderUpdateRequestCustomerInfo, bool)
GetCustomerInfoOk returns a tuple with the CustomerInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetDiscountLines ¶
func (o *OrderUpdateRequest) GetDiscountLines() []OrderDiscountLinesRequest
GetDiscountLines returns the DiscountLines field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetDiscountLinesOk ¶
func (o *OrderUpdateRequest) GetDiscountLinesOk() ([]OrderDiscountLinesRequest, bool)
GetDiscountLinesOk returns a tuple with the DiscountLines field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetFiscalEntity ¶
func (o *OrderUpdateRequest) GetFiscalEntity() OrderUpdateFiscalEntityRequest
GetFiscalEntity returns the FiscalEntity field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetFiscalEntityOk ¶
func (o *OrderUpdateRequest) GetFiscalEntityOk() (*OrderUpdateFiscalEntityRequest, bool)
GetFiscalEntityOk returns a tuple with the FiscalEntity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetLineItems ¶
func (o *OrderUpdateRequest) GetLineItems() []Product
GetLineItems returns the LineItems field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetLineItemsOk ¶
func (o *OrderUpdateRequest) GetLineItemsOk() ([]Product, bool)
GetLineItemsOk returns a tuple with the LineItems field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetMetadata ¶
func (o *OrderUpdateRequest) GetMetadata() map[string]string
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetMetadataOk ¶
func (o *OrderUpdateRequest) GetMetadataOk() (*map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetPreAuthorize ¶
func (o *OrderUpdateRequest) GetPreAuthorize() bool
GetPreAuthorize returns the PreAuthorize field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetPreAuthorizeOk ¶
func (o *OrderUpdateRequest) GetPreAuthorizeOk() (*bool, bool)
GetPreAuthorizeOk returns a tuple with the PreAuthorize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetShippingContact ¶
func (o *OrderUpdateRequest) GetShippingContact() CustomerShippingContacts
GetShippingContact returns the ShippingContact field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetShippingContactOk ¶
func (o *OrderUpdateRequest) GetShippingContactOk() (*CustomerShippingContacts, bool)
GetShippingContactOk returns a tuple with the ShippingContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetShippingLines ¶
func (o *OrderUpdateRequest) GetShippingLines() []ShippingRequest
GetShippingLines returns the ShippingLines field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetShippingLinesOk ¶
func (o *OrderUpdateRequest) GetShippingLinesOk() ([]ShippingRequest, bool)
GetShippingLinesOk returns a tuple with the ShippingLines field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) GetTaxLines ¶
func (o *OrderUpdateRequest) GetTaxLines() []OrderTaxRequest
GetTaxLines returns the TaxLines field value if set, zero value otherwise.
func (*OrderUpdateRequest) GetTaxLinesOk ¶
func (o *OrderUpdateRequest) GetTaxLinesOk() ([]OrderTaxRequest, bool)
GetTaxLinesOk returns a tuple with the TaxLines field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderUpdateRequest) HasCharges ¶
func (o *OrderUpdateRequest) HasCharges() bool
HasCharges returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasCheckout ¶
func (o *OrderUpdateRequest) HasCheckout() bool
HasCheckout returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasCurrency ¶
func (o *OrderUpdateRequest) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasCustomerInfo ¶
func (o *OrderUpdateRequest) HasCustomerInfo() bool
HasCustomerInfo returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasDiscountLines ¶
func (o *OrderUpdateRequest) HasDiscountLines() bool
HasDiscountLines returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasFiscalEntity ¶
func (o *OrderUpdateRequest) HasFiscalEntity() bool
HasFiscalEntity returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasLineItems ¶
func (o *OrderUpdateRequest) HasLineItems() bool
HasLineItems returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasMetadata ¶
func (o *OrderUpdateRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasPreAuthorize ¶
func (o *OrderUpdateRequest) HasPreAuthorize() bool
HasPreAuthorize returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasShippingContact ¶
func (o *OrderUpdateRequest) HasShippingContact() bool
HasShippingContact returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasShippingLines ¶
func (o *OrderUpdateRequest) HasShippingLines() bool
HasShippingLines returns a boolean if a field has been set.
func (*OrderUpdateRequest) HasTaxLines ¶
func (o *OrderUpdateRequest) HasTaxLines() bool
HasTaxLines returns a boolean if a field has been set.
func (OrderUpdateRequest) MarshalJSON ¶
func (o OrderUpdateRequest) MarshalJSON() ([]byte, error)
func (*OrderUpdateRequest) SetCharges ¶
func (o *OrderUpdateRequest) SetCharges(v []ChargeRequest)
SetCharges gets a reference to the given []ChargeRequest and assigns it to the Charges field.
func (*OrderUpdateRequest) SetCheckout ¶
func (o *OrderUpdateRequest) SetCheckout(v CheckoutRequest)
SetCheckout gets a reference to the given CheckoutRequest and assigns it to the Checkout field.
func (*OrderUpdateRequest) SetCurrency ¶
func (o *OrderUpdateRequest) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*OrderUpdateRequest) SetCustomerInfo ¶
func (o *OrderUpdateRequest) SetCustomerInfo(v OrderUpdateRequestCustomerInfo)
SetCustomerInfo gets a reference to the given OrderUpdateRequestCustomerInfo and assigns it to the CustomerInfo field.
func (*OrderUpdateRequest) SetDiscountLines ¶
func (o *OrderUpdateRequest) SetDiscountLines(v []OrderDiscountLinesRequest)
SetDiscountLines gets a reference to the given []OrderDiscountLinesRequest and assigns it to the DiscountLines field.
func (*OrderUpdateRequest) SetFiscalEntity ¶
func (o *OrderUpdateRequest) SetFiscalEntity(v OrderUpdateFiscalEntityRequest)
SetFiscalEntity gets a reference to the given OrderUpdateFiscalEntityRequest and assigns it to the FiscalEntity field.
func (*OrderUpdateRequest) SetLineItems ¶
func (o *OrderUpdateRequest) SetLineItems(v []Product)
SetLineItems gets a reference to the given []Product and assigns it to the LineItems field.
func (*OrderUpdateRequest) SetMetadata ¶
func (o *OrderUpdateRequest) SetMetadata(v map[string]string)
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (*OrderUpdateRequest) SetPreAuthorize ¶
func (o *OrderUpdateRequest) SetPreAuthorize(v bool)
SetPreAuthorize gets a reference to the given bool and assigns it to the PreAuthorize field.
func (*OrderUpdateRequest) SetShippingContact ¶
func (o *OrderUpdateRequest) SetShippingContact(v CustomerShippingContacts)
SetShippingContact gets a reference to the given CustomerShippingContacts and assigns it to the ShippingContact field.
func (*OrderUpdateRequest) SetShippingLines ¶
func (o *OrderUpdateRequest) SetShippingLines(v []ShippingRequest)
SetShippingLines gets a reference to the given []ShippingRequest and assigns it to the ShippingLines field.
func (*OrderUpdateRequest) SetTaxLines ¶
func (o *OrderUpdateRequest) SetTaxLines(v []OrderTaxRequest)
SetTaxLines gets a reference to the given []OrderTaxRequest and assigns it to the TaxLines field.
func (OrderUpdateRequest) ToMap ¶
func (o OrderUpdateRequest) ToMap() (map[string]interface{}, error)
func (*OrderUpdateRequest) UnmarshalJSON ¶
func (o *OrderUpdateRequest) UnmarshalJSON(data []byte) (err error)
type OrderUpdateRequestCustomerInfo ¶
type OrderUpdateRequestCustomerInfo struct {
CustomerInfo *CustomerInfo
CustomerInfoJustCustomerId *CustomerInfoJustCustomerId
}
OrderUpdateRequestCustomerInfo - struct for OrderUpdateRequestCustomerInfo
func CustomerInfoAsOrderUpdateRequestCustomerInfo ¶
func CustomerInfoAsOrderUpdateRequestCustomerInfo(v *CustomerInfo) OrderUpdateRequestCustomerInfo
CustomerInfoAsOrderUpdateRequestCustomerInfo is a convenience function that returns CustomerInfo wrapped in OrderUpdateRequestCustomerInfo
func CustomerInfoJustCustomerIdAsOrderUpdateRequestCustomerInfo ¶
func CustomerInfoJustCustomerIdAsOrderUpdateRequestCustomerInfo(v *CustomerInfoJustCustomerId) OrderUpdateRequestCustomerInfo
CustomerInfoJustCustomerIdAsOrderUpdateRequestCustomerInfo is a convenience function that returns CustomerInfoJustCustomerId wrapped in OrderUpdateRequestCustomerInfo
func (*OrderUpdateRequestCustomerInfo) GetActualInstance ¶
func (obj *OrderUpdateRequestCustomerInfo) GetActualInstance() interface{}
Get the actual instance
func (OrderUpdateRequestCustomerInfo) MarshalJSON ¶
func (src OrderUpdateRequestCustomerInfo) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*OrderUpdateRequestCustomerInfo) UnmarshalJSON ¶
func (dst *OrderUpdateRequestCustomerInfo) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type OrdersAPI ¶
type OrdersAPI interface {
/*
CancelOrder Cancel Order
Cancel an order that has been previously created.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiCancelOrderRequest
*/
CancelOrder(ctx context.Context, id string) ApiCancelOrderRequest
// CancelOrderExecute executes the request
// @return OrderResponse
CancelOrderExecute(r ApiCancelOrderRequest) (*OrderResponse, *http.Response, error)
/*
CreateOrder Create order
Create a new order.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateOrderRequest
*/
CreateOrder(ctx context.Context) ApiCreateOrderRequest
// CreateOrderExecute executes the request
// @return OrderResponse
CreateOrderExecute(r ApiCreateOrderRequest) (*OrderResponse, *http.Response, error)
/*
GetOrderById Get Order
Info for a specific order
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetOrderByIdRequest
*/
GetOrderById(ctx context.Context, id string) ApiGetOrderByIdRequest
// GetOrderByIdExecute executes the request
// @return OrderResponse
GetOrderByIdExecute(r ApiGetOrderByIdRequest) (*OrderResponse, *http.Response, error)
/*
GetOrders Get a list of Orders
Get order details in the form of a list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetOrdersRequest
*/
GetOrders(ctx context.Context) ApiGetOrdersRequest
// GetOrdersExecute executes the request
// @return GetOrdersResponse
GetOrdersExecute(r ApiGetOrdersRequest) (*GetOrdersResponse, *http.Response, error)
/*
OrderCancelRefund Cancel Refund
A refunded order describes the items, amount, and reason an order is being refunded.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param refundId refund identifier
@return ApiOrderCancelRefundRequest
*/
OrderCancelRefund(ctx context.Context, id string, refundId string) ApiOrderCancelRefundRequest
// OrderCancelRefundExecute executes the request
// @return OrderResponse
OrderCancelRefundExecute(r ApiOrderCancelRefundRequest) (*OrderResponse, *http.Response, error)
/*
OrderRefund Refund Order
A refunded order describes the items, amount, and reason an order is being refunded.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiOrderRefundRequest
*/
OrderRefund(ctx context.Context, id string) ApiOrderRefundRequest
// OrderRefundExecute executes the request
// @return OrderResponse
OrderRefundExecute(r ApiOrderRefundRequest) (*OrderResponse, *http.Response, error)
/*
OrdersCreateCapture Capture Order
Processes an order that has been previously authorized.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiOrdersCreateCaptureRequest
*/
OrdersCreateCapture(ctx context.Context, id string) ApiOrdersCreateCaptureRequest
// OrdersCreateCaptureExecute executes the request
// @return OrderResponse
OrdersCreateCaptureExecute(r ApiOrdersCreateCaptureRequest) (*OrderResponse, *http.Response, error)
/*
UpdateOrder Update Order
Update an existing Order.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiUpdateOrderRequest
*/
UpdateOrder(ctx context.Context, id string) ApiUpdateOrderRequest
// UpdateOrderExecute executes the request
// @return OrderResponse
UpdateOrderExecute(r ApiUpdateOrderRequest) (*OrderResponse, *http.Response, error)
}
type OrdersAPIService ¶
type OrdersAPIService service
OrdersAPIService OrdersAPI service
func (*OrdersAPIService) CancelOrder ¶
func (a *OrdersAPIService) CancelOrder(ctx context.Context, id string) ApiCancelOrderRequest
CancelOrder Cancel Order
Cancel an order that has been previously created.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiCancelOrderRequest
func (*OrdersAPIService) CancelOrderExecute ¶
func (a *OrdersAPIService) CancelOrderExecute(r ApiCancelOrderRequest) (*OrderResponse, *http.Response, error)
Execute executes the request
@return OrderResponse
func (*OrdersAPIService) CreateOrder ¶
func (a *OrdersAPIService) CreateOrder(ctx context.Context) ApiCreateOrderRequest
CreateOrder Create order
Create a new order.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateOrderRequest
func (*OrdersAPIService) CreateOrderExecute ¶
func (a *OrdersAPIService) CreateOrderExecute(r ApiCreateOrderRequest) (*OrderResponse, *http.Response, error)
Execute executes the request
@return OrderResponse
func (*OrdersAPIService) GetOrderById ¶
func (a *OrdersAPIService) GetOrderById(ctx context.Context, id string) ApiGetOrderByIdRequest
GetOrderById Get Order
Info for a specific order
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetOrderByIdRequest
func (*OrdersAPIService) GetOrderByIdExecute ¶
func (a *OrdersAPIService) GetOrderByIdExecute(r ApiGetOrderByIdRequest) (*OrderResponse, *http.Response, error)
Execute executes the request
@return OrderResponse
func (*OrdersAPIService) GetOrders ¶
func (a *OrdersAPIService) GetOrders(ctx context.Context) ApiGetOrdersRequest
GetOrders Get a list of Orders
Get order details in the form of a list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOrdersRequest
func (*OrdersAPIService) GetOrdersExecute ¶
func (a *OrdersAPIService) GetOrdersExecute(r ApiGetOrdersRequest) (*GetOrdersResponse, *http.Response, error)
Execute executes the request
@return GetOrdersResponse
func (*OrdersAPIService) OrderCancelRefund ¶
func (a *OrdersAPIService) OrderCancelRefund(ctx context.Context, id string, refundId string) ApiOrderCancelRefundRequest
OrderCancelRefund Cancel Refund
A refunded order describes the items, amount, and reason an order is being refunded.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param refundId refund identifier @return ApiOrderCancelRefundRequest
func (*OrdersAPIService) OrderCancelRefundExecute ¶
func (a *OrdersAPIService) OrderCancelRefundExecute(r ApiOrderCancelRefundRequest) (*OrderResponse, *http.Response, error)
Execute executes the request
@return OrderResponse
func (*OrdersAPIService) OrderRefund ¶
func (a *OrdersAPIService) OrderRefund(ctx context.Context, id string) ApiOrderRefundRequest
OrderRefund Refund Order
A refunded order describes the items, amount, and reason an order is being refunded.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiOrderRefundRequest
func (*OrdersAPIService) OrderRefundExecute ¶
func (a *OrdersAPIService) OrderRefundExecute(r ApiOrderRefundRequest) (*OrderResponse, *http.Response, error)
Execute executes the request
@return OrderResponse
func (*OrdersAPIService) OrdersCreateCapture ¶
func (a *OrdersAPIService) OrdersCreateCapture(ctx context.Context, id string) ApiOrdersCreateCaptureRequest
OrdersCreateCapture Capture Order
Processes an order that has been previously authorized.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiOrdersCreateCaptureRequest
func (*OrdersAPIService) OrdersCreateCaptureExecute ¶
func (a *OrdersAPIService) OrdersCreateCaptureExecute(r ApiOrdersCreateCaptureRequest) (*OrderResponse, *http.Response, error)
Execute executes the request
@return OrderResponse
func (*OrdersAPIService) UpdateOrder ¶
func (a *OrdersAPIService) UpdateOrder(ctx context.Context, id string) ApiUpdateOrderRequest
UpdateOrder Update Order
Update an existing Order.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiUpdateOrderRequest
func (*OrdersAPIService) UpdateOrderExecute ¶
func (a *OrdersAPIService) UpdateOrderExecute(r ApiUpdateOrderRequest) (*OrderResponse, *http.Response, error)
Execute executes the request
@return OrderResponse
type OrdersResponse ¶
type OrdersResponse struct {
Data []OrderResponse `json:"data"`
AdditionalProperties map[string]interface{}
}
OrdersResponse struct for OrdersResponse
func NewOrdersResponse ¶
func NewOrdersResponse(data []OrderResponse) *OrdersResponse
NewOrdersResponse instantiates a new OrdersResponse 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 NewOrdersResponseWithDefaults ¶
func NewOrdersResponseWithDefaults() *OrdersResponse
NewOrdersResponseWithDefaults instantiates a new OrdersResponse 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 (*OrdersResponse) GetData ¶
func (o *OrdersResponse) GetData() []OrderResponse
GetData returns the Data field value
func (*OrdersResponse) GetDataOk ¶
func (o *OrdersResponse) GetDataOk() ([]OrderResponse, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (OrdersResponse) MarshalJSON ¶
func (o OrdersResponse) MarshalJSON() ([]byte, error)
func (*OrdersResponse) SetData ¶
func (o *OrdersResponse) SetData(v []OrderResponse)
SetData sets field value
func (OrdersResponse) ToMap ¶
func (o OrdersResponse) ToMap() (map[string]interface{}, error)
func (*OrdersResponse) UnmarshalJSON ¶
func (o *OrdersResponse) UnmarshalJSON(data []byte) (err error)
type Page ¶
type Page struct {
// URL of the next page.
NextPageUrl NullableString `json:"next_page_url,omitempty"`
// Url of the previous page.
PreviousPageUrl NullableString `json:"previous_page_url,omitempty"`
AdditionalProperties map[string]interface{}
}
Page page metadata
func NewPage ¶
func NewPage() *Page
NewPage instantiates a new Page 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 NewPageWithDefaults ¶
func NewPageWithDefaults() *Page
NewPageWithDefaults instantiates a new Page 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 (*Page) GetNextPageUrl ¶
GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Page) GetNextPageUrlOk ¶
GetNextPageUrlOk returns a tuple with the NextPageUrl 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 (*Page) GetPreviousPageUrl ¶
GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Page) GetPreviousPageUrlOk ¶
GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl 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 (*Page) HasNextPageUrl ¶
HasNextPageUrl returns a boolean if a field has been set.
func (*Page) HasPreviousPageUrl ¶
HasPreviousPageUrl returns a boolean if a field has been set.
func (Page) MarshalJSON ¶
func (*Page) SetNextPageUrl ¶
SetNextPageUrl gets a reference to the given NullableString and assigns it to the NextPageUrl field.
func (*Page) SetNextPageUrlNil ¶
func (o *Page) SetNextPageUrlNil()
SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil
func (*Page) SetPreviousPageUrl ¶
SetPreviousPageUrl gets a reference to the given NullableString and assigns it to the PreviousPageUrl field.
func (*Page) SetPreviousPageUrlNil ¶
func (o *Page) SetPreviousPageUrlNil()
SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil
func (*Page) UnmarshalJSON ¶
func (*Page) UnsetNextPageUrl ¶
func (o *Page) UnsetNextPageUrl()
UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil
func (*Page) UnsetPreviousPageUrl ¶
func (o *Page) UnsetPreviousPageUrl()
UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil
type Pagination ¶
type Pagination struct {
// Indicates if there are more pages to be requested
HasMore bool `json:"has_more"`
// Object type, in this case is list
Object string `json:"object"`
AdditionalProperties map[string]interface{}
}
Pagination pagination metadata
func NewPagination ¶
func NewPagination(hasMore bool, object string) *Pagination
NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetHasMore ¶
func (o *Pagination) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*Pagination) GetHasMoreOk ¶
func (o *Pagination) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*Pagination) GetObject ¶
func (o *Pagination) GetObject() string
GetObject returns the Object field value
func (*Pagination) GetObjectOk ¶
func (o *Pagination) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
func (Pagination) ToMap ¶
func (o Pagination) ToMap() (map[string]interface{}, error)
func (*Pagination) UnmarshalJSON ¶
func (o *Pagination) UnmarshalJSON(data []byte) (err error)
type PaymentLinkAPI ¶
type PaymentLinkAPI interface {
/*
CancelCheckout Cancel Payment Link
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiCancelCheckoutRequest
*/
CancelCheckout(ctx context.Context, id string) ApiCancelCheckoutRequest
// CancelCheckoutExecute executes the request
// @return CheckoutResponse
CancelCheckoutExecute(r ApiCancelCheckoutRequest) (*CheckoutResponse, *http.Response, error)
/*
CreateCheckout Create Unique Payment Link
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateCheckoutRequest
*/
CreateCheckout(ctx context.Context) ApiCreateCheckoutRequest
// CreateCheckoutExecute executes the request
// @return CheckoutResponse
CreateCheckoutExecute(r ApiCreateCheckoutRequest) (*CheckoutResponse, *http.Response, error)
/*
EmailCheckout Send an email
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiEmailCheckoutRequest
*/
EmailCheckout(ctx context.Context, id string) ApiEmailCheckoutRequest
// EmailCheckoutExecute executes the request
// @return CheckoutResponse
EmailCheckoutExecute(r ApiEmailCheckoutRequest) (*CheckoutResponse, *http.Response, error)
/*
GetCheckout Get a payment link by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetCheckoutRequest
*/
GetCheckout(ctx context.Context, id string) ApiGetCheckoutRequest
// GetCheckoutExecute executes the request
// @return CheckoutResponse
GetCheckoutExecute(r ApiGetCheckoutRequest) (*CheckoutResponse, *http.Response, error)
/*
GetCheckouts Get a list of payment links
Returns a list of links generated by the merchant
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetCheckoutsRequest
*/
GetCheckouts(ctx context.Context) ApiGetCheckoutsRequest
// GetCheckoutsExecute executes the request
// @return CheckoutsResponse
GetCheckoutsExecute(r ApiGetCheckoutsRequest) (*CheckoutsResponse, *http.Response, error)
/*
SmsCheckout Send an sms
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiSmsCheckoutRequest
*/
SmsCheckout(ctx context.Context, id string) ApiSmsCheckoutRequest
// SmsCheckoutExecute executes the request
// @return CheckoutResponse
SmsCheckoutExecute(r ApiSmsCheckoutRequest) (*CheckoutResponse, *http.Response, error)
}
type PaymentLinkAPIService ¶
type PaymentLinkAPIService service
PaymentLinkAPIService PaymentLinkAPI service
func (*PaymentLinkAPIService) CancelCheckout ¶
func (a *PaymentLinkAPIService) CancelCheckout(ctx context.Context, id string) ApiCancelCheckoutRequest
CancelCheckout Cancel Payment Link
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiCancelCheckoutRequest
func (*PaymentLinkAPIService) CancelCheckoutExecute ¶
func (a *PaymentLinkAPIService) CancelCheckoutExecute(r ApiCancelCheckoutRequest) (*CheckoutResponse, *http.Response, error)
Execute executes the request
@return CheckoutResponse
func (*PaymentLinkAPIService) CreateCheckout ¶
func (a *PaymentLinkAPIService) CreateCheckout(ctx context.Context) ApiCreateCheckoutRequest
CreateCheckout Create Unique Payment Link
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCheckoutRequest
func (*PaymentLinkAPIService) CreateCheckoutExecute ¶
func (a *PaymentLinkAPIService) CreateCheckoutExecute(r ApiCreateCheckoutRequest) (*CheckoutResponse, *http.Response, error)
Execute executes the request
@return CheckoutResponse
func (*PaymentLinkAPIService) EmailCheckout ¶
func (a *PaymentLinkAPIService) EmailCheckout(ctx context.Context, id string) ApiEmailCheckoutRequest
EmailCheckout Send an email
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiEmailCheckoutRequest
func (*PaymentLinkAPIService) EmailCheckoutExecute ¶
func (a *PaymentLinkAPIService) EmailCheckoutExecute(r ApiEmailCheckoutRequest) (*CheckoutResponse, *http.Response, error)
Execute executes the request
@return CheckoutResponse
func (*PaymentLinkAPIService) GetCheckout ¶
func (a *PaymentLinkAPIService) GetCheckout(ctx context.Context, id string) ApiGetCheckoutRequest
GetCheckout Get a payment link by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetCheckoutRequest
func (*PaymentLinkAPIService) GetCheckoutExecute ¶
func (a *PaymentLinkAPIService) GetCheckoutExecute(r ApiGetCheckoutRequest) (*CheckoutResponse, *http.Response, error)
Execute executes the request
@return CheckoutResponse
func (*PaymentLinkAPIService) GetCheckouts ¶
func (a *PaymentLinkAPIService) GetCheckouts(ctx context.Context) ApiGetCheckoutsRequest
GetCheckouts Get a list of payment links
Returns a list of links generated by the merchant
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCheckoutsRequest
func (*PaymentLinkAPIService) GetCheckoutsExecute ¶
func (a *PaymentLinkAPIService) GetCheckoutsExecute(r ApiGetCheckoutsRequest) (*CheckoutsResponse, *http.Response, error)
Execute executes the request
@return CheckoutsResponse
func (*PaymentLinkAPIService) SmsCheckout ¶
func (a *PaymentLinkAPIService) SmsCheckout(ctx context.Context, id string) ApiSmsCheckoutRequest
SmsCheckout Send an sms
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiSmsCheckoutRequest
func (*PaymentLinkAPIService) SmsCheckoutExecute ¶
func (a *PaymentLinkAPIService) SmsCheckoutExecute(r ApiSmsCheckoutRequest) (*CheckoutResponse, *http.Response, error)
Execute executes the request
@return CheckoutResponse
type PaymentMethod ¶
type PaymentMethod struct {
Type *string `json:"type,omitempty"`
Object string `json:"object"`
AdditionalProperties map[string]interface{}
}
PaymentMethod struct for PaymentMethod
func NewPaymentMethod ¶
func NewPaymentMethod(object string) *PaymentMethod
NewPaymentMethod instantiates a new PaymentMethod 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 NewPaymentMethodWithDefaults ¶
func NewPaymentMethodWithDefaults() *PaymentMethod
NewPaymentMethodWithDefaults instantiates a new PaymentMethod 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 (*PaymentMethod) GetObject ¶
func (o *PaymentMethod) GetObject() string
GetObject returns the Object field value
func (*PaymentMethod) GetObjectOk ¶
func (o *PaymentMethod) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*PaymentMethod) GetType ¶
func (o *PaymentMethod) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*PaymentMethod) GetTypeOk ¶
func (o *PaymentMethod) 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 (*PaymentMethod) HasType ¶
func (o *PaymentMethod) HasType() bool
HasType returns a boolean if a field has been set.
func (PaymentMethod) MarshalJSON ¶
func (o PaymentMethod) MarshalJSON() ([]byte, error)
func (*PaymentMethod) SetObject ¶
func (o *PaymentMethod) SetObject(v string)
SetObject sets field value
func (*PaymentMethod) SetType ¶
func (o *PaymentMethod) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (PaymentMethod) ToMap ¶
func (o PaymentMethod) ToMap() (map[string]interface{}, error)
func (*PaymentMethod) UnmarshalJSON ¶
func (o *PaymentMethod) UnmarshalJSON(data []byte) (err error)
type PaymentMethodCash ¶
type PaymentMethodCash struct {
Type *string `json:"type,omitempty"`
Object string `json:"object"`
AuthCode NullableInt32 `json:"auth_code,omitempty"`
CashierId NullableString `json:"cashier_id,omitempty"`
Reference *string `json:"reference,omitempty"`
BarcodeUrl *string `json:"barcode_url,omitempty"`
ExpiresAt *int64 `json:"expires_at,omitempty"`
ServiceName *string `json:"service_name,omitempty"`
Store NullableString `json:"store,omitempty"`
StoreName *string `json:"store_name,omitempty"`
AdditionalProperties map[string]interface{}
}
PaymentMethodCash struct for PaymentMethodCash
func NewPaymentMethodCash ¶
func NewPaymentMethodCash(object string) *PaymentMethodCash
NewPaymentMethodCash instantiates a new PaymentMethodCash 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 NewPaymentMethodCashWithDefaults ¶
func NewPaymentMethodCashWithDefaults() *PaymentMethodCash
NewPaymentMethodCashWithDefaults instantiates a new PaymentMethodCash 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 (*PaymentMethodCash) GetAuthCode ¶
func (o *PaymentMethodCash) GetAuthCode() int32
GetAuthCode returns the AuthCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentMethodCash) GetAuthCodeOk ¶
func (o *PaymentMethodCash) GetAuthCodeOk() (*int32, bool)
GetAuthCodeOk returns a tuple with the AuthCode 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 (*PaymentMethodCash) GetBarcodeUrl ¶
func (o *PaymentMethodCash) GetBarcodeUrl() string
GetBarcodeUrl returns the BarcodeUrl field value if set, zero value otherwise.
func (*PaymentMethodCash) GetBarcodeUrlOk ¶
func (o *PaymentMethodCash) GetBarcodeUrlOk() (*string, bool)
GetBarcodeUrlOk returns a tuple with the BarcodeUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCash) GetCashierId ¶
func (o *PaymentMethodCash) GetCashierId() string
GetCashierId returns the CashierId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentMethodCash) GetCashierIdOk ¶
func (o *PaymentMethodCash) GetCashierIdOk() (*string, bool)
GetCashierIdOk returns a tuple with the CashierId 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 (*PaymentMethodCash) GetExpiresAt ¶
func (o *PaymentMethodCash) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*PaymentMethodCash) GetExpiresAtOk ¶
func (o *PaymentMethodCash) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCash) GetObject ¶
func (o *PaymentMethodCash) GetObject() string
GetObject returns the Object field value
func (*PaymentMethodCash) GetObjectOk ¶
func (o *PaymentMethodCash) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*PaymentMethodCash) GetReference ¶
func (o *PaymentMethodCash) GetReference() string
GetReference returns the Reference field value if set, zero value otherwise.
func (*PaymentMethodCash) GetReferenceOk ¶
func (o *PaymentMethodCash) 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 (*PaymentMethodCash) GetServiceName ¶
func (o *PaymentMethodCash) GetServiceName() string
GetServiceName returns the ServiceName field value if set, zero value otherwise.
func (*PaymentMethodCash) GetServiceNameOk ¶
func (o *PaymentMethodCash) GetServiceNameOk() (*string, bool)
GetServiceNameOk returns a tuple with the ServiceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCash) GetStore ¶
func (o *PaymentMethodCash) GetStore() string
GetStore returns the Store field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentMethodCash) GetStoreName ¶
func (o *PaymentMethodCash) GetStoreName() string
GetStoreName returns the StoreName field value if set, zero value otherwise.
func (*PaymentMethodCash) GetStoreNameOk ¶
func (o *PaymentMethodCash) GetStoreNameOk() (*string, bool)
GetStoreNameOk returns a tuple with the StoreName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCash) GetStoreOk ¶
func (o *PaymentMethodCash) GetStoreOk() (*string, bool)
GetStoreOk returns a tuple with the Store 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 (*PaymentMethodCash) GetType ¶
func (o *PaymentMethodCash) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*PaymentMethodCash) GetTypeOk ¶
func (o *PaymentMethodCash) 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 (*PaymentMethodCash) HasAuthCode ¶
func (o *PaymentMethodCash) HasAuthCode() bool
HasAuthCode returns a boolean if a field has been set.
func (*PaymentMethodCash) HasBarcodeUrl ¶
func (o *PaymentMethodCash) HasBarcodeUrl() bool
HasBarcodeUrl returns a boolean if a field has been set.
func (*PaymentMethodCash) HasCashierId ¶
func (o *PaymentMethodCash) HasCashierId() bool
HasCashierId returns a boolean if a field has been set.
func (*PaymentMethodCash) HasExpiresAt ¶
func (o *PaymentMethodCash) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*PaymentMethodCash) HasReference ¶
func (o *PaymentMethodCash) HasReference() bool
HasReference returns a boolean if a field has been set.
func (*PaymentMethodCash) HasServiceName ¶
func (o *PaymentMethodCash) HasServiceName() bool
HasServiceName returns a boolean if a field has been set.
func (*PaymentMethodCash) HasStore ¶
func (o *PaymentMethodCash) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*PaymentMethodCash) HasStoreName ¶
func (o *PaymentMethodCash) HasStoreName() bool
HasStoreName returns a boolean if a field has been set.
func (*PaymentMethodCash) HasType ¶
func (o *PaymentMethodCash) HasType() bool
HasType returns a boolean if a field has been set.
func (PaymentMethodCash) MarshalJSON ¶
func (o PaymentMethodCash) MarshalJSON() ([]byte, error)
func (*PaymentMethodCash) SetAuthCode ¶
func (o *PaymentMethodCash) SetAuthCode(v int32)
SetAuthCode gets a reference to the given NullableInt32 and assigns it to the AuthCode field.
func (*PaymentMethodCash) SetAuthCodeNil ¶
func (o *PaymentMethodCash) SetAuthCodeNil()
SetAuthCodeNil sets the value for AuthCode to be an explicit nil
func (*PaymentMethodCash) SetBarcodeUrl ¶
func (o *PaymentMethodCash) SetBarcodeUrl(v string)
SetBarcodeUrl gets a reference to the given string and assigns it to the BarcodeUrl field.
func (*PaymentMethodCash) SetCashierId ¶
func (o *PaymentMethodCash) SetCashierId(v string)
SetCashierId gets a reference to the given NullableString and assigns it to the CashierId field.
func (*PaymentMethodCash) SetCashierIdNil ¶
func (o *PaymentMethodCash) SetCashierIdNil()
SetCashierIdNil sets the value for CashierId to be an explicit nil
func (*PaymentMethodCash) SetExpiresAt ¶
func (o *PaymentMethodCash) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*PaymentMethodCash) SetObject ¶
func (o *PaymentMethodCash) SetObject(v string)
SetObject sets field value
func (*PaymentMethodCash) SetReference ¶
func (o *PaymentMethodCash) SetReference(v string)
SetReference gets a reference to the given string and assigns it to the Reference field.
func (*PaymentMethodCash) SetServiceName ¶
func (o *PaymentMethodCash) SetServiceName(v string)
SetServiceName gets a reference to the given string and assigns it to the ServiceName field.
func (*PaymentMethodCash) SetStore ¶
func (o *PaymentMethodCash) SetStore(v string)
SetStore gets a reference to the given NullableString and assigns it to the Store field.
func (*PaymentMethodCash) SetStoreName ¶
func (o *PaymentMethodCash) SetStoreName(v string)
SetStoreName gets a reference to the given string and assigns it to the StoreName field.
func (*PaymentMethodCash) SetStoreNil ¶
func (o *PaymentMethodCash) SetStoreNil()
SetStoreNil sets the value for Store to be an explicit nil
func (*PaymentMethodCash) SetType ¶
func (o *PaymentMethodCash) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (PaymentMethodCash) ToMap ¶
func (o PaymentMethodCash) ToMap() (map[string]interface{}, error)
func (*PaymentMethodCash) UnmarshalJSON ¶
func (o *PaymentMethodCash) UnmarshalJSON(data []byte) (err error)
func (*PaymentMethodCash) UnsetAuthCode ¶
func (o *PaymentMethodCash) UnsetAuthCode()
UnsetAuthCode ensures that no value is present for AuthCode, not even an explicit nil
func (*PaymentMethodCash) UnsetCashierId ¶
func (o *PaymentMethodCash) UnsetCashierId()
UnsetCashierId ensures that no value is present for CashierId, not even an explicit nil
func (*PaymentMethodCash) UnsetStore ¶
func (o *PaymentMethodCash) UnsetStore()
UnsetStore ensures that no value is present for Store, not even an explicit nil
type PaymentMethodCashRequest ¶
type PaymentMethodCashRequest struct {
// Type of payment method
Type string `json:"type"`
ExpiresAt *int64 `json:"expires_at,omitempty"`
AdditionalProperties map[string]interface{}
}
PaymentMethodCashRequest struct for PaymentMethodCashRequest
func NewPaymentMethodCashRequest ¶
func NewPaymentMethodCashRequest(type_ string) *PaymentMethodCashRequest
NewPaymentMethodCashRequest instantiates a new PaymentMethodCashRequest 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 NewPaymentMethodCashRequestWithDefaults ¶
func NewPaymentMethodCashRequestWithDefaults() *PaymentMethodCashRequest
NewPaymentMethodCashRequestWithDefaults instantiates a new PaymentMethodCashRequest 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 (*PaymentMethodCashRequest) GetExpiresAt ¶
func (o *PaymentMethodCashRequest) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*PaymentMethodCashRequest) GetExpiresAtOk ¶
func (o *PaymentMethodCashRequest) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCashRequest) GetType ¶
func (o *PaymentMethodCashRequest) GetType() string
GetType returns the Type field value
func (*PaymentMethodCashRequest) GetTypeOk ¶
func (o *PaymentMethodCashRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*PaymentMethodCashRequest) HasExpiresAt ¶
func (o *PaymentMethodCashRequest) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (PaymentMethodCashRequest) MarshalJSON ¶
func (o PaymentMethodCashRequest) MarshalJSON() ([]byte, error)
func (*PaymentMethodCashRequest) SetExpiresAt ¶
func (o *PaymentMethodCashRequest) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*PaymentMethodCashRequest) SetType ¶
func (o *PaymentMethodCashRequest) SetType(v string)
SetType sets field value
func (PaymentMethodCashRequest) ToMap ¶
func (o PaymentMethodCashRequest) ToMap() (map[string]interface{}, error)
func (*PaymentMethodCashRequest) UnmarshalJSON ¶
func (o *PaymentMethodCashRequest) UnmarshalJSON(data []byte) (err error)
type PaymentMethodCashResponse ¶
type PaymentMethodCashResponse struct {
Type string `json:"type"`
Id string `json:"id"`
Object string `json:"object"`
CreatedAt int64 `json:"created_at"`
ParentId *string `json:"parent_id,omitempty"`
Reference *string `json:"reference,omitempty"`
Barcode *string `json:"barcode,omitempty"`
BarcodeUrl *string `json:"barcode_url,omitempty"`
ExpiresAt *int64 `json:"expires_at,omitempty"`
Provider *string `json:"provider,omitempty"`
AdditionalProperties map[string]interface{}
}
PaymentMethodCashResponse struct for PaymentMethodCashResponse
func NewPaymentMethodCashResponse ¶
func NewPaymentMethodCashResponse(type_ string, id string, object string, createdAt int64) *PaymentMethodCashResponse
NewPaymentMethodCashResponse instantiates a new PaymentMethodCashResponse 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 NewPaymentMethodCashResponseWithDefaults ¶
func NewPaymentMethodCashResponseWithDefaults() *PaymentMethodCashResponse
NewPaymentMethodCashResponseWithDefaults instantiates a new PaymentMethodCashResponse 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 (*PaymentMethodCashResponse) GetBarcode ¶
func (o *PaymentMethodCashResponse) GetBarcode() string
GetBarcode returns the Barcode field value if set, zero value otherwise.
func (*PaymentMethodCashResponse) GetBarcodeOk ¶
func (o *PaymentMethodCashResponse) GetBarcodeOk() (*string, bool)
GetBarcodeOk returns a tuple with the Barcode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCashResponse) GetBarcodeUrl ¶
func (o *PaymentMethodCashResponse) GetBarcodeUrl() string
GetBarcodeUrl returns the BarcodeUrl field value if set, zero value otherwise.
func (*PaymentMethodCashResponse) GetBarcodeUrlOk ¶
func (o *PaymentMethodCashResponse) GetBarcodeUrlOk() (*string, bool)
GetBarcodeUrlOk returns a tuple with the BarcodeUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCashResponse) GetCreatedAt ¶
func (o *PaymentMethodCashResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*PaymentMethodCashResponse) GetCreatedAtOk ¶
func (o *PaymentMethodCashResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*PaymentMethodCashResponse) GetExpiresAt ¶
func (o *PaymentMethodCashResponse) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*PaymentMethodCashResponse) GetExpiresAtOk ¶
func (o *PaymentMethodCashResponse) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCashResponse) GetId ¶
func (o *PaymentMethodCashResponse) GetId() string
GetId returns the Id field value
func (*PaymentMethodCashResponse) GetIdOk ¶
func (o *PaymentMethodCashResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*PaymentMethodCashResponse) GetObject ¶
func (o *PaymentMethodCashResponse) GetObject() string
GetObject returns the Object field value
func (*PaymentMethodCashResponse) GetObjectOk ¶
func (o *PaymentMethodCashResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*PaymentMethodCashResponse) GetParentId ¶
func (o *PaymentMethodCashResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*PaymentMethodCashResponse) GetParentIdOk ¶
func (o *PaymentMethodCashResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCashResponse) GetProvider ¶
func (o *PaymentMethodCashResponse) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*PaymentMethodCashResponse) GetProviderOk ¶
func (o *PaymentMethodCashResponse) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodCashResponse) GetReference ¶
func (o *PaymentMethodCashResponse) GetReference() string
GetReference returns the Reference field value if set, zero value otherwise.
func (*PaymentMethodCashResponse) GetReferenceOk ¶
func (o *PaymentMethodCashResponse) 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 (*PaymentMethodCashResponse) GetType ¶
func (o *PaymentMethodCashResponse) GetType() string
GetType returns the Type field value
func (*PaymentMethodCashResponse) GetTypeOk ¶
func (o *PaymentMethodCashResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*PaymentMethodCashResponse) HasBarcode ¶
func (o *PaymentMethodCashResponse) HasBarcode() bool
HasBarcode returns a boolean if a field has been set.
func (*PaymentMethodCashResponse) HasBarcodeUrl ¶
func (o *PaymentMethodCashResponse) HasBarcodeUrl() bool
HasBarcodeUrl returns a boolean if a field has been set.
func (*PaymentMethodCashResponse) HasExpiresAt ¶
func (o *PaymentMethodCashResponse) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*PaymentMethodCashResponse) HasParentId ¶
func (o *PaymentMethodCashResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*PaymentMethodCashResponse) HasProvider ¶
func (o *PaymentMethodCashResponse) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (*PaymentMethodCashResponse) HasReference ¶
func (o *PaymentMethodCashResponse) HasReference() bool
HasReference returns a boolean if a field has been set.
func (PaymentMethodCashResponse) MarshalJSON ¶
func (o PaymentMethodCashResponse) MarshalJSON() ([]byte, error)
func (*PaymentMethodCashResponse) SetBarcode ¶
func (o *PaymentMethodCashResponse) SetBarcode(v string)
SetBarcode gets a reference to the given string and assigns it to the Barcode field.
func (*PaymentMethodCashResponse) SetBarcodeUrl ¶
func (o *PaymentMethodCashResponse) SetBarcodeUrl(v string)
SetBarcodeUrl gets a reference to the given string and assigns it to the BarcodeUrl field.
func (*PaymentMethodCashResponse) SetCreatedAt ¶
func (o *PaymentMethodCashResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*PaymentMethodCashResponse) SetExpiresAt ¶
func (o *PaymentMethodCashResponse) SetExpiresAt(v int64)
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*PaymentMethodCashResponse) SetId ¶
func (o *PaymentMethodCashResponse) SetId(v string)
SetId sets field value
func (*PaymentMethodCashResponse) SetObject ¶
func (o *PaymentMethodCashResponse) SetObject(v string)
SetObject sets field value
func (*PaymentMethodCashResponse) SetParentId ¶
func (o *PaymentMethodCashResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*PaymentMethodCashResponse) SetProvider ¶
func (o *PaymentMethodCashResponse) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*PaymentMethodCashResponse) SetReference ¶
func (o *PaymentMethodCashResponse) SetReference(v string)
SetReference gets a reference to the given string and assigns it to the Reference field.
func (*PaymentMethodCashResponse) SetType ¶
func (o *PaymentMethodCashResponse) SetType(v string)
SetType sets field value
func (PaymentMethodCashResponse) ToMap ¶
func (o PaymentMethodCashResponse) ToMap() (map[string]interface{}, error)
func (*PaymentMethodCashResponse) UnmarshalJSON ¶
func (o *PaymentMethodCashResponse) UnmarshalJSON(data []byte) (err error)
type PaymentMethodResponse ¶
type PaymentMethodResponse struct {
Type string `json:"type"`
Id string `json:"id"`
Object string `json:"object"`
CreatedAt int64 `json:"created_at"`
ParentId *string `json:"parent_id,omitempty"`
AdditionalProperties map[string]interface{}
}
PaymentMethodResponse struct for PaymentMethodResponse
func NewPaymentMethodResponse ¶
func NewPaymentMethodResponse(type_ string, id string, object string, createdAt int64) *PaymentMethodResponse
NewPaymentMethodResponse instantiates a new PaymentMethodResponse 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 NewPaymentMethodResponseWithDefaults ¶
func NewPaymentMethodResponseWithDefaults() *PaymentMethodResponse
NewPaymentMethodResponseWithDefaults instantiates a new PaymentMethodResponse 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 (*PaymentMethodResponse) GetCreatedAt ¶
func (o *PaymentMethodResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*PaymentMethodResponse) GetCreatedAtOk ¶
func (o *PaymentMethodResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*PaymentMethodResponse) GetId ¶
func (o *PaymentMethodResponse) GetId() string
GetId returns the Id field value
func (*PaymentMethodResponse) GetIdOk ¶
func (o *PaymentMethodResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*PaymentMethodResponse) GetObject ¶
func (o *PaymentMethodResponse) GetObject() string
GetObject returns the Object field value
func (*PaymentMethodResponse) GetObjectOk ¶
func (o *PaymentMethodResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*PaymentMethodResponse) GetParentId ¶
func (o *PaymentMethodResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*PaymentMethodResponse) GetParentIdOk ¶
func (o *PaymentMethodResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentMethodResponse) GetType ¶
func (o *PaymentMethodResponse) GetType() string
GetType returns the Type field value
func (*PaymentMethodResponse) GetTypeOk ¶
func (o *PaymentMethodResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*PaymentMethodResponse) HasParentId ¶
func (o *PaymentMethodResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (PaymentMethodResponse) MarshalJSON ¶
func (o PaymentMethodResponse) MarshalJSON() ([]byte, error)
func (*PaymentMethodResponse) SetCreatedAt ¶
func (o *PaymentMethodResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*PaymentMethodResponse) SetId ¶
func (o *PaymentMethodResponse) SetId(v string)
SetId sets field value
func (*PaymentMethodResponse) SetObject ¶
func (o *PaymentMethodResponse) SetObject(v string)
SetObject sets field value
func (*PaymentMethodResponse) SetParentId ¶
func (o *PaymentMethodResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*PaymentMethodResponse) SetType ¶
func (o *PaymentMethodResponse) SetType(v string)
SetType sets field value
func (PaymentMethodResponse) ToMap ¶
func (o PaymentMethodResponse) ToMap() (map[string]interface{}, error)
func (*PaymentMethodResponse) UnmarshalJSON ¶
func (o *PaymentMethodResponse) UnmarshalJSON(data []byte) (err error)
type PaymentMethodsAPI ¶
type PaymentMethodsAPI interface {
/*
CreateCustomerPaymentMethods Create Payment Method
Create a payment method for a customer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiCreateCustomerPaymentMethodsRequest
*/
CreateCustomerPaymentMethods(ctx context.Context, id string) ApiCreateCustomerPaymentMethodsRequest
// CreateCustomerPaymentMethodsExecute executes the request
// @return CreateCustomerPaymentMethodsResponse
CreateCustomerPaymentMethodsExecute(r ApiCreateCustomerPaymentMethodsRequest) (*CreateCustomerPaymentMethodsResponse, *http.Response, error)
/*
DeleteCustomerPaymentMethods Delete Payment Method
Delete an existing payment method
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param paymentMethodId Identifier of the payment method
@return ApiDeleteCustomerPaymentMethodsRequest
*/
DeleteCustomerPaymentMethods(ctx context.Context, id string, paymentMethodId string) ApiDeleteCustomerPaymentMethodsRequest
// DeleteCustomerPaymentMethodsExecute executes the request
// @return UpdateCustomerPaymentMethodsResponse
DeleteCustomerPaymentMethodsExecute(r ApiDeleteCustomerPaymentMethodsRequest) (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
/*
GetCustomerPaymentMethods Get Payment Methods
Get a list of Payment Methods
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetCustomerPaymentMethodsRequest
*/
GetCustomerPaymentMethods(ctx context.Context, id string) ApiGetCustomerPaymentMethodsRequest
// GetCustomerPaymentMethodsExecute executes the request
// @return GetPaymentMethodResponse
GetCustomerPaymentMethodsExecute(r ApiGetCustomerPaymentMethodsRequest) (*GetPaymentMethodResponse, *http.Response, error)
/*
UpdateCustomerPaymentMethods Update Payment Method
Gets a payment Method that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param paymentMethodId Identifier of the payment method
@return ApiUpdateCustomerPaymentMethodsRequest
*/
UpdateCustomerPaymentMethods(ctx context.Context, id string, paymentMethodId string) ApiUpdateCustomerPaymentMethodsRequest
// UpdateCustomerPaymentMethodsExecute executes the request
// @return UpdateCustomerPaymentMethodsResponse
UpdateCustomerPaymentMethodsExecute(r ApiUpdateCustomerPaymentMethodsRequest) (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
}
type PaymentMethodsAPIService ¶
type PaymentMethodsAPIService service
PaymentMethodsAPIService PaymentMethodsAPI service
func (*PaymentMethodsAPIService) CreateCustomerPaymentMethods ¶
func (a *PaymentMethodsAPIService) CreateCustomerPaymentMethods(ctx context.Context, id string) ApiCreateCustomerPaymentMethodsRequest
CreateCustomerPaymentMethods Create Payment Method
Create a payment method for a customer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiCreateCustomerPaymentMethodsRequest
func (*PaymentMethodsAPIService) CreateCustomerPaymentMethodsExecute ¶
func (a *PaymentMethodsAPIService) CreateCustomerPaymentMethodsExecute(r ApiCreateCustomerPaymentMethodsRequest) (*CreateCustomerPaymentMethodsResponse, *http.Response, error)
Execute executes the request
@return CreateCustomerPaymentMethodsResponse
func (*PaymentMethodsAPIService) DeleteCustomerPaymentMethods ¶
func (a *PaymentMethodsAPIService) DeleteCustomerPaymentMethods(ctx context.Context, id string, paymentMethodId string) ApiDeleteCustomerPaymentMethodsRequest
DeleteCustomerPaymentMethods Delete Payment Method
Delete an existing payment method
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param paymentMethodId Identifier of the payment method @return ApiDeleteCustomerPaymentMethodsRequest
func (*PaymentMethodsAPIService) DeleteCustomerPaymentMethodsExecute ¶
func (a *PaymentMethodsAPIService) DeleteCustomerPaymentMethodsExecute(r ApiDeleteCustomerPaymentMethodsRequest) (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
Execute executes the request
@return UpdateCustomerPaymentMethodsResponse
func (*PaymentMethodsAPIService) GetCustomerPaymentMethods ¶
func (a *PaymentMethodsAPIService) GetCustomerPaymentMethods(ctx context.Context, id string) ApiGetCustomerPaymentMethodsRequest
GetCustomerPaymentMethods Get Payment Methods
Get a list of Payment Methods
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetCustomerPaymentMethodsRequest
func (*PaymentMethodsAPIService) GetCustomerPaymentMethodsExecute ¶
func (a *PaymentMethodsAPIService) GetCustomerPaymentMethodsExecute(r ApiGetCustomerPaymentMethodsRequest) (*GetPaymentMethodResponse, *http.Response, error)
Execute executes the request
@return GetPaymentMethodResponse
func (*PaymentMethodsAPIService) UpdateCustomerPaymentMethods ¶
func (a *PaymentMethodsAPIService) UpdateCustomerPaymentMethods(ctx context.Context, id string, paymentMethodId string) ApiUpdateCustomerPaymentMethodsRequest
UpdateCustomerPaymentMethods Update Payment Method
Gets a payment Method that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param paymentMethodId Identifier of the payment method @return ApiUpdateCustomerPaymentMethodsRequest
func (*PaymentMethodsAPIService) UpdateCustomerPaymentMethodsExecute ¶
func (a *PaymentMethodsAPIService) UpdateCustomerPaymentMethodsExecute(r ApiUpdateCustomerPaymentMethodsRequest) (*UpdateCustomerPaymentMethodsResponse, *http.Response, error)
Execute executes the request
@return UpdateCustomerPaymentMethodsResponse
type Product ¶
type Product struct {
AntifraudInfo map[string]interface{} `json:"antifraud_info,omitempty"`
// The brand of the item.
Brand *string `json:"brand,omitempty"`
// Short description of the item
Description *string `json:"description,omitempty"`
// It is a key/value hash that can hold custom fields. Maximum 100 elements and allows special characters.
Metadata *map[string]string `json:"metadata,omitempty"`
// The name of the item. It will be displayed in the order.
Name string `json:"name"`
// The quantity of the item in the order.
Quantity int32 `json:"quantity"`
// The stock keeping unit for the item. It is used to identify the item in the order.
Sku *string `json:"sku,omitempty"`
// List of tags for the item. It is used to identify the item in the order.
Tags []string `json:"tags,omitempty"`
// The price of the item in cents.
UnitPrice int32 `json:"unit_price"`
AdditionalProperties map[string]interface{}
}
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) GetAntifraudInfo ¶
GetAntifraudInfo returns the AntifraudInfo field value if set, zero value otherwise.
func (*Product) GetAntifraudInfoOk ¶
GetAntifraudInfoOk returns a tuple with the AntifraudInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetBrandOk ¶
GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Product) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Product) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Product) GetQuantity ¶
GetQuantity returns the Quantity field value
func (*Product) GetQuantityOk ¶
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (*Product) GetSkuOk ¶
GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetUnitPrice ¶
GetUnitPrice returns the UnitPrice field value
func (*Product) GetUnitPriceOk ¶
GetUnitPriceOk returns a tuple with the UnitPrice field value and a boolean to check if the value has been set.
func (*Product) HasAntifraudInfo ¶
HasAntifraudInfo returns a boolean if a field has been set.
func (*Product) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Product) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (Product) MarshalJSON ¶
func (*Product) SetAntifraudInfo ¶
SetAntifraudInfo gets a reference to the given map[string]interface{} and assigns it to the AntifraudInfo field.
func (*Product) SetBrand ¶
SetBrand gets a reference to the given string and assigns it to the Brand field.
func (*Product) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Product) SetMetadata ¶
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (*Product) SetSku ¶
SetSku gets a reference to the given string and assigns it to the Sku field.
func (*Product) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*Product) SetUnitPrice ¶
SetUnitPrice sets field value
func (*Product) UnmarshalJSON ¶
type ProductDataResponse ¶
type ProductDataResponse struct {
AntifraudInfo map[string]interface{} `json:"antifraud_info,omitempty"`
// The brand of the item.
Brand *string `json:"brand,omitempty"`
// Short description of the item
Description *string `json:"description,omitempty"`
// It is a key/value hash that can hold custom fields. Maximum 100 elements and allows special characters.
Metadata *map[string]string `json:"metadata,omitempty"`
// The name of the item. It will be displayed in the order.
Name string `json:"name"`
// The quantity of the item in the order.
Quantity int32 `json:"quantity"`
// The stock keeping unit for the item. It is used to identify the item in the order.
Sku *string `json:"sku,omitempty"`
// List of tags for the item. It is used to identify the item in the order.
Tags []string `json:"tags,omitempty"`
// The price of the item in cents.
UnitPrice int32 `json:"unit_price"`
Id *string `json:"id,omitempty"`
Object *string `json:"object,omitempty"`
ParentId *string `json:"parent_id,omitempty"`
AdditionalProperties map[string]interface{}
}
ProductDataResponse struct for ProductDataResponse
func NewProductDataResponse ¶
func NewProductDataResponse(name string, quantity int32, unitPrice int32) *ProductDataResponse
NewProductDataResponse instantiates a new ProductDataResponse 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 NewProductDataResponseWithDefaults ¶
func NewProductDataResponseWithDefaults() *ProductDataResponse
NewProductDataResponseWithDefaults instantiates a new ProductDataResponse 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 (*ProductDataResponse) GetAntifraudInfo ¶
func (o *ProductDataResponse) GetAntifraudInfo() map[string]interface{}
GetAntifraudInfo returns the AntifraudInfo field value if set, zero value otherwise.
func (*ProductDataResponse) GetAntifraudInfoOk ¶
func (o *ProductDataResponse) GetAntifraudInfoOk() (map[string]interface{}, bool)
GetAntifraudInfoOk returns a tuple with the AntifraudInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDataResponse) GetBrand ¶
func (o *ProductDataResponse) GetBrand() string
GetBrand returns the Brand field value if set, zero value otherwise.
func (*ProductDataResponse) GetBrandOk ¶
func (o *ProductDataResponse) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDataResponse) GetDescription ¶
func (o *ProductDataResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ProductDataResponse) GetDescriptionOk ¶
func (o *ProductDataResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDataResponse) GetId ¶
func (o *ProductDataResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ProductDataResponse) GetIdOk ¶
func (o *ProductDataResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDataResponse) GetMetadata ¶
func (o *ProductDataResponse) GetMetadata() map[string]string
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ProductDataResponse) GetMetadataOk ¶
func (o *ProductDataResponse) GetMetadataOk() (*map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDataResponse) GetName ¶
func (o *ProductDataResponse) GetName() string
GetName returns the Name field value
func (*ProductDataResponse) GetNameOk ¶
func (o *ProductDataResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ProductDataResponse) GetObject ¶
func (o *ProductDataResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ProductDataResponse) GetObjectOk ¶
func (o *ProductDataResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDataResponse) GetParentId ¶
func (o *ProductDataResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*ProductDataResponse) GetParentIdOk ¶
func (o *ProductDataResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDataResponse) GetQuantity ¶
func (o *ProductDataResponse) GetQuantity() int32
GetQuantity returns the Quantity field value
func (*ProductDataResponse) GetQuantityOk ¶
func (o *ProductDataResponse) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (*ProductDataResponse) GetSku ¶
func (o *ProductDataResponse) GetSku() string
GetSku returns the Sku field value if set, zero value otherwise.
func (*ProductDataResponse) GetSkuOk ¶
func (o *ProductDataResponse) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDataResponse) GetTags ¶
func (o *ProductDataResponse) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*ProductDataResponse) GetTagsOk ¶
func (o *ProductDataResponse) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDataResponse) GetUnitPrice ¶
func (o *ProductDataResponse) GetUnitPrice() int32
GetUnitPrice returns the UnitPrice field value
func (*ProductDataResponse) GetUnitPriceOk ¶
func (o *ProductDataResponse) GetUnitPriceOk() (*int32, bool)
GetUnitPriceOk returns a tuple with the UnitPrice field value and a boolean to check if the value has been set.
func (*ProductDataResponse) HasAntifraudInfo ¶
func (o *ProductDataResponse) HasAntifraudInfo() bool
HasAntifraudInfo returns a boolean if a field has been set.
func (*ProductDataResponse) HasBrand ¶
func (o *ProductDataResponse) HasBrand() bool
HasBrand returns a boolean if a field has been set.
func (*ProductDataResponse) HasDescription ¶
func (o *ProductDataResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ProductDataResponse) HasId ¶
func (o *ProductDataResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ProductDataResponse) HasMetadata ¶
func (o *ProductDataResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ProductDataResponse) HasObject ¶
func (o *ProductDataResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ProductDataResponse) HasParentId ¶
func (o *ProductDataResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*ProductDataResponse) HasSku ¶
func (o *ProductDataResponse) HasSku() bool
HasSku returns a boolean if a field has been set.
func (*ProductDataResponse) HasTags ¶
func (o *ProductDataResponse) HasTags() bool
HasTags returns a boolean if a field has been set.
func (ProductDataResponse) MarshalJSON ¶
func (o ProductDataResponse) MarshalJSON() ([]byte, error)
func (*ProductDataResponse) SetAntifraudInfo ¶
func (o *ProductDataResponse) SetAntifraudInfo(v map[string]interface{})
SetAntifraudInfo gets a reference to the given map[string]interface{} and assigns it to the AntifraudInfo field.
func (*ProductDataResponse) SetBrand ¶
func (o *ProductDataResponse) SetBrand(v string)
SetBrand gets a reference to the given string and assigns it to the Brand field.
func (*ProductDataResponse) SetDescription ¶
func (o *ProductDataResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ProductDataResponse) SetId ¶
func (o *ProductDataResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ProductDataResponse) SetMetadata ¶
func (o *ProductDataResponse) SetMetadata(v map[string]string)
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (*ProductDataResponse) SetName ¶
func (o *ProductDataResponse) SetName(v string)
SetName sets field value
func (*ProductDataResponse) SetObject ¶
func (o *ProductDataResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ProductDataResponse) SetParentId ¶
func (o *ProductDataResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*ProductDataResponse) SetQuantity ¶
func (o *ProductDataResponse) SetQuantity(v int32)
SetQuantity sets field value
func (*ProductDataResponse) SetSku ¶
func (o *ProductDataResponse) SetSku(v string)
SetSku gets a reference to the given string and assigns it to the Sku field.
func (*ProductDataResponse) SetTags ¶
func (o *ProductDataResponse) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*ProductDataResponse) SetUnitPrice ¶
func (o *ProductDataResponse) SetUnitPrice(v int32)
SetUnitPrice sets field value
func (ProductDataResponse) ToMap ¶
func (o ProductDataResponse) ToMap() (map[string]interface{}, error)
func (*ProductDataResponse) UnmarshalJSON ¶
func (o *ProductDataResponse) UnmarshalJSON(data []byte) (err error)
type ProductOrderResponse ¶
type ProductOrderResponse struct {
AntifraudInfo map[string]interface{} `json:"antifraud_info,omitempty"`
// The brand of the item.
Brand *string `json:"brand,omitempty"`
// Short description of the item
Description *string `json:"description,omitempty"`
// It is a key/value hash that can hold custom fields. Maximum 100 elements and allows special characters.
Metadata *map[string]string `json:"metadata,omitempty"`
// The name of the item. It will be displayed in the order.
Name string `json:"name"`
// The quantity of the item in the order.
Quantity int32 `json:"quantity"`
// The stock keeping unit for the item. It is used to identify the item in the order.
Sku *string `json:"sku,omitempty"`
// List of tags for the item. It is used to identify the item in the order.
Tags []string `json:"tags,omitempty"`
// The price of the item in cents.
UnitPrice int32 `json:"unit_price"`
Id *string `json:"id,omitempty"`
Object *string `json:"object,omitempty"`
ParentId *string `json:"parent_id,omitempty"`
AdditionalProperties map[string]interface{}
}
ProductOrderResponse struct for ProductOrderResponse
func NewProductOrderResponse ¶
func NewProductOrderResponse(name string, quantity int32, unitPrice int32) *ProductOrderResponse
NewProductOrderResponse instantiates a new ProductOrderResponse 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 NewProductOrderResponseWithDefaults ¶
func NewProductOrderResponseWithDefaults() *ProductOrderResponse
NewProductOrderResponseWithDefaults instantiates a new ProductOrderResponse 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 (*ProductOrderResponse) GetAntifraudInfo ¶
func (o *ProductOrderResponse) GetAntifraudInfo() map[string]interface{}
GetAntifraudInfo returns the AntifraudInfo field value if set, zero value otherwise.
func (*ProductOrderResponse) GetAntifraudInfoOk ¶
func (o *ProductOrderResponse) GetAntifraudInfoOk() (map[string]interface{}, bool)
GetAntifraudInfoOk returns a tuple with the AntifraudInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetBrand ¶
func (o *ProductOrderResponse) GetBrand() string
GetBrand returns the Brand field value if set, zero value otherwise.
func (*ProductOrderResponse) GetBrandOk ¶
func (o *ProductOrderResponse) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetDescription ¶
func (o *ProductOrderResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ProductOrderResponse) GetDescriptionOk ¶
func (o *ProductOrderResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetId ¶
func (o *ProductOrderResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ProductOrderResponse) GetIdOk ¶
func (o *ProductOrderResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetMetadata ¶
func (o *ProductOrderResponse) GetMetadata() map[string]string
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ProductOrderResponse) GetMetadataOk ¶
func (o *ProductOrderResponse) GetMetadataOk() (*map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetName ¶
func (o *ProductOrderResponse) GetName() string
GetName returns the Name field value
func (*ProductOrderResponse) GetNameOk ¶
func (o *ProductOrderResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetObject ¶
func (o *ProductOrderResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ProductOrderResponse) GetObjectOk ¶
func (o *ProductOrderResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetParentId ¶
func (o *ProductOrderResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*ProductOrderResponse) GetParentIdOk ¶
func (o *ProductOrderResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetQuantity ¶
func (o *ProductOrderResponse) GetQuantity() int32
GetQuantity returns the Quantity field value
func (*ProductOrderResponse) GetQuantityOk ¶
func (o *ProductOrderResponse) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetSku ¶
func (o *ProductOrderResponse) GetSku() string
GetSku returns the Sku field value if set, zero value otherwise.
func (*ProductOrderResponse) GetSkuOk ¶
func (o *ProductOrderResponse) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetTags ¶
func (o *ProductOrderResponse) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*ProductOrderResponse) GetTagsOk ¶
func (o *ProductOrderResponse) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductOrderResponse) GetUnitPrice ¶
func (o *ProductOrderResponse) GetUnitPrice() int32
GetUnitPrice returns the UnitPrice field value
func (*ProductOrderResponse) GetUnitPriceOk ¶
func (o *ProductOrderResponse) GetUnitPriceOk() (*int32, bool)
GetUnitPriceOk returns a tuple with the UnitPrice field value and a boolean to check if the value has been set.
func (*ProductOrderResponse) HasAntifraudInfo ¶
func (o *ProductOrderResponse) HasAntifraudInfo() bool
HasAntifraudInfo returns a boolean if a field has been set.
func (*ProductOrderResponse) HasBrand ¶
func (o *ProductOrderResponse) HasBrand() bool
HasBrand returns a boolean if a field has been set.
func (*ProductOrderResponse) HasDescription ¶
func (o *ProductOrderResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ProductOrderResponse) HasId ¶
func (o *ProductOrderResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ProductOrderResponse) HasMetadata ¶
func (o *ProductOrderResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ProductOrderResponse) HasObject ¶
func (o *ProductOrderResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ProductOrderResponse) HasParentId ¶
func (o *ProductOrderResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*ProductOrderResponse) HasSku ¶
func (o *ProductOrderResponse) HasSku() bool
HasSku returns a boolean if a field has been set.
func (*ProductOrderResponse) HasTags ¶
func (o *ProductOrderResponse) HasTags() bool
HasTags returns a boolean if a field has been set.
func (ProductOrderResponse) MarshalJSON ¶
func (o ProductOrderResponse) MarshalJSON() ([]byte, error)
func (*ProductOrderResponse) SetAntifraudInfo ¶
func (o *ProductOrderResponse) SetAntifraudInfo(v map[string]interface{})
SetAntifraudInfo gets a reference to the given map[string]interface{} and assigns it to the AntifraudInfo field.
func (*ProductOrderResponse) SetBrand ¶
func (o *ProductOrderResponse) SetBrand(v string)
SetBrand gets a reference to the given string and assigns it to the Brand field.
func (*ProductOrderResponse) SetDescription ¶
func (o *ProductOrderResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ProductOrderResponse) SetId ¶
func (o *ProductOrderResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ProductOrderResponse) SetMetadata ¶
func (o *ProductOrderResponse) SetMetadata(v map[string]string)
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (*ProductOrderResponse) SetName ¶
func (o *ProductOrderResponse) SetName(v string)
SetName sets field value
func (*ProductOrderResponse) SetObject ¶
func (o *ProductOrderResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ProductOrderResponse) SetParentId ¶
func (o *ProductOrderResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*ProductOrderResponse) SetQuantity ¶
func (o *ProductOrderResponse) SetQuantity(v int32)
SetQuantity sets field value
func (*ProductOrderResponse) SetSku ¶
func (o *ProductOrderResponse) SetSku(v string)
SetSku gets a reference to the given string and assigns it to the Sku field.
func (*ProductOrderResponse) SetTags ¶
func (o *ProductOrderResponse) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*ProductOrderResponse) SetUnitPrice ¶
func (o *ProductOrderResponse) SetUnitPrice(v int32)
SetUnitPrice sets field value
func (ProductOrderResponse) ToMap ¶
func (o ProductOrderResponse) ToMap() (map[string]interface{}, error)
func (*ProductOrderResponse) UnmarshalJSON ¶
func (o *ProductOrderResponse) UnmarshalJSON(data []byte) (err error)
type ProductsAPI ¶
type ProductsAPI interface {
/*
OrdersCreateProduct Create Product
Create a new product for an existing order.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiOrdersCreateProductRequest
*/
OrdersCreateProduct(ctx context.Context, id string) ApiOrdersCreateProductRequest
// OrdersCreateProductExecute executes the request
// @return ProductOrderResponse
OrdersCreateProductExecute(r ApiOrdersCreateProductRequest) (*ProductOrderResponse, *http.Response, error)
/*
OrdersDeleteProduct Delete Product
Delete product for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param lineItemId identifier
@return ApiOrdersDeleteProductRequest
*/
OrdersDeleteProduct(ctx context.Context, id string, lineItemId string) ApiOrdersDeleteProductRequest
// OrdersDeleteProductExecute executes the request
// @return ProductOrderResponse
OrdersDeleteProductExecute(r ApiOrdersDeleteProductRequest) (*ProductOrderResponse, *http.Response, error)
/*
OrdersUpdateProduct Update Product
Update an existing product for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param lineItemId identifier
@return ApiOrdersUpdateProductRequest
*/
OrdersUpdateProduct(ctx context.Context, id string, lineItemId string) ApiOrdersUpdateProductRequest
// OrdersUpdateProductExecute executes the request
// @return ProductOrderResponse
OrdersUpdateProductExecute(r ApiOrdersUpdateProductRequest) (*ProductOrderResponse, *http.Response, error)
}
type ProductsAPIService ¶
type ProductsAPIService service
ProductsAPIService ProductsAPI service
func (*ProductsAPIService) OrdersCreateProduct ¶
func (a *ProductsAPIService) OrdersCreateProduct(ctx context.Context, id string) ApiOrdersCreateProductRequest
OrdersCreateProduct Create Product
Create a new product for an existing order.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiOrdersCreateProductRequest
func (*ProductsAPIService) OrdersCreateProductExecute ¶
func (a *ProductsAPIService) OrdersCreateProductExecute(r ApiOrdersCreateProductRequest) (*ProductOrderResponse, *http.Response, error)
Execute executes the request
@return ProductOrderResponse
func (*ProductsAPIService) OrdersDeleteProduct ¶
func (a *ProductsAPIService) OrdersDeleteProduct(ctx context.Context, id string, lineItemId string) ApiOrdersDeleteProductRequest
OrdersDeleteProduct Delete Product
Delete product for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param lineItemId identifier @return ApiOrdersDeleteProductRequest
func (*ProductsAPIService) OrdersDeleteProductExecute ¶
func (a *ProductsAPIService) OrdersDeleteProductExecute(r ApiOrdersDeleteProductRequest) (*ProductOrderResponse, *http.Response, error)
Execute executes the request
@return ProductOrderResponse
func (*ProductsAPIService) OrdersUpdateProduct ¶
func (a *ProductsAPIService) OrdersUpdateProduct(ctx context.Context, id string, lineItemId string) ApiOrdersUpdateProductRequest
OrdersUpdateProduct Update Product
Update an existing product for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param lineItemId identifier @return ApiOrdersUpdateProductRequest
func (*ProductsAPIService) OrdersUpdateProductExecute ¶
func (a *ProductsAPIService) OrdersUpdateProductExecute(r ApiOrdersUpdateProductRequest) (*ProductOrderResponse, *http.Response, error)
Execute executes the request
@return ProductOrderResponse
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 ShippingContactsAPI ¶
type ShippingContactsAPI interface {
/*
CreateCustomerShippingContacts Create a shipping contacts
Create a shipping contacts for a customer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiCreateCustomerShippingContactsRequest
*/
CreateCustomerShippingContacts(ctx context.Context, id string) ApiCreateCustomerShippingContactsRequest
// CreateCustomerShippingContactsExecute executes the request
// @return CustomerShippingContactsResponse
CreateCustomerShippingContactsExecute(r ApiCreateCustomerShippingContactsRequest) (*CustomerShippingContactsResponse, *http.Response, error)
/*
DeleteCustomerShippingContacts Delete shipping contacts
Delete shipping contact that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param shippingContactsId identifier
@return ApiDeleteCustomerShippingContactsRequest
*/
DeleteCustomerShippingContacts(ctx context.Context, id string, shippingContactsId string) ApiDeleteCustomerShippingContactsRequest
// DeleteCustomerShippingContactsExecute executes the request
// @return CustomerShippingContactsResponse
DeleteCustomerShippingContactsExecute(r ApiDeleteCustomerShippingContactsRequest) (*CustomerShippingContactsResponse, *http.Response, error)
/*
UpdateCustomerShippingContacts Update shipping contacts
Update shipping contact that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param shippingContactsId identifier
@return ApiUpdateCustomerShippingContactsRequest
*/
UpdateCustomerShippingContacts(ctx context.Context, id string, shippingContactsId string) ApiUpdateCustomerShippingContactsRequest
// UpdateCustomerShippingContactsExecute executes the request
// @return CustomerShippingContactsResponse
UpdateCustomerShippingContactsExecute(r ApiUpdateCustomerShippingContactsRequest) (*CustomerShippingContactsResponse, *http.Response, error)
}
type ShippingContactsAPIService ¶
type ShippingContactsAPIService service
ShippingContactsAPIService ShippingContactsAPI service
func (*ShippingContactsAPIService) CreateCustomerShippingContacts ¶
func (a *ShippingContactsAPIService) CreateCustomerShippingContacts(ctx context.Context, id string) ApiCreateCustomerShippingContactsRequest
CreateCustomerShippingContacts Create a shipping contacts
Create a shipping contacts for a customer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiCreateCustomerShippingContactsRequest
func (*ShippingContactsAPIService) CreateCustomerShippingContactsExecute ¶
func (a *ShippingContactsAPIService) CreateCustomerShippingContactsExecute(r ApiCreateCustomerShippingContactsRequest) (*CustomerShippingContactsResponse, *http.Response, error)
Execute executes the request
@return CustomerShippingContactsResponse
func (*ShippingContactsAPIService) DeleteCustomerShippingContacts ¶
func (a *ShippingContactsAPIService) DeleteCustomerShippingContacts(ctx context.Context, id string, shippingContactsId string) ApiDeleteCustomerShippingContactsRequest
DeleteCustomerShippingContacts Delete shipping contacts
Delete shipping contact that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param shippingContactsId identifier @return ApiDeleteCustomerShippingContactsRequest
func (*ShippingContactsAPIService) DeleteCustomerShippingContactsExecute ¶
func (a *ShippingContactsAPIService) DeleteCustomerShippingContactsExecute(r ApiDeleteCustomerShippingContactsRequest) (*CustomerShippingContactsResponse, *http.Response, error)
Execute executes the request
@return CustomerShippingContactsResponse
func (*ShippingContactsAPIService) UpdateCustomerShippingContacts ¶
func (a *ShippingContactsAPIService) UpdateCustomerShippingContacts(ctx context.Context, id string, shippingContactsId string) ApiUpdateCustomerShippingContactsRequest
UpdateCustomerShippingContacts Update shipping contacts
Update shipping contact that corresponds to a customer ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param shippingContactsId identifier @return ApiUpdateCustomerShippingContactsRequest
func (*ShippingContactsAPIService) UpdateCustomerShippingContactsExecute ¶
func (a *ShippingContactsAPIService) UpdateCustomerShippingContactsExecute(r ApiUpdateCustomerShippingContactsRequest) (*CustomerShippingContactsResponse, *http.Response, error)
Execute executes the request
@return CustomerShippingContactsResponse
type ShippingOrderResponse ¶
type ShippingOrderResponse struct {
// Shipping amount in cents
Amount int64 `json:"amount"`
// Carrier name for the shipment
Carrier *string `json:"carrier,omitempty"`
// Tracking number can be used to track the shipment
TrackingNumber *string `json:"tracking_number,omitempty"`
// Method of shipment
Method *string `json:"method,omitempty"`
// Hash where the user can send additional information for each 'shipping'.
Metadata map[string]interface{} `json:"metadata,omitempty"`
Id *string `json:"id,omitempty"`
Object *string `json:"object,omitempty"`
ParentId *string `json:"parent_id,omitempty"`
AdditionalProperties map[string]interface{}
}
ShippingOrderResponse struct for ShippingOrderResponse
func NewShippingOrderResponse ¶
func NewShippingOrderResponse(amount int64) *ShippingOrderResponse
NewShippingOrderResponse instantiates a new ShippingOrderResponse 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 NewShippingOrderResponseWithDefaults ¶
func NewShippingOrderResponseWithDefaults() *ShippingOrderResponse
NewShippingOrderResponseWithDefaults instantiates a new ShippingOrderResponse 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 (*ShippingOrderResponse) GetAmount ¶
func (o *ShippingOrderResponse) GetAmount() int64
GetAmount returns the Amount field value
func (*ShippingOrderResponse) GetAmountOk ¶
func (o *ShippingOrderResponse) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*ShippingOrderResponse) GetCarrier ¶
func (o *ShippingOrderResponse) GetCarrier() string
GetCarrier returns the Carrier field value if set, zero value otherwise.
func (*ShippingOrderResponse) GetCarrierOk ¶
func (o *ShippingOrderResponse) GetCarrierOk() (*string, bool)
GetCarrierOk returns a tuple with the Carrier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingOrderResponse) GetId ¶
func (o *ShippingOrderResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ShippingOrderResponse) GetIdOk ¶
func (o *ShippingOrderResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingOrderResponse) GetMetadata ¶
func (o *ShippingOrderResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ShippingOrderResponse) GetMetadataOk ¶
func (o *ShippingOrderResponse) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingOrderResponse) GetMethod ¶
func (o *ShippingOrderResponse) GetMethod() string
GetMethod returns the Method field value if set, zero value otherwise.
func (*ShippingOrderResponse) GetMethodOk ¶
func (o *ShippingOrderResponse) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingOrderResponse) GetObject ¶
func (o *ShippingOrderResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ShippingOrderResponse) GetObjectOk ¶
func (o *ShippingOrderResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingOrderResponse) GetParentId ¶
func (o *ShippingOrderResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*ShippingOrderResponse) GetParentIdOk ¶
func (o *ShippingOrderResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingOrderResponse) GetTrackingNumber ¶
func (o *ShippingOrderResponse) GetTrackingNumber() string
GetTrackingNumber returns the TrackingNumber field value if set, zero value otherwise.
func (*ShippingOrderResponse) GetTrackingNumberOk ¶
func (o *ShippingOrderResponse) GetTrackingNumberOk() (*string, bool)
GetTrackingNumberOk returns a tuple with the TrackingNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingOrderResponse) HasCarrier ¶
func (o *ShippingOrderResponse) HasCarrier() bool
HasCarrier returns a boolean if a field has been set.
func (*ShippingOrderResponse) HasId ¶
func (o *ShippingOrderResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ShippingOrderResponse) HasMetadata ¶
func (o *ShippingOrderResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ShippingOrderResponse) HasMethod ¶
func (o *ShippingOrderResponse) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*ShippingOrderResponse) HasObject ¶
func (o *ShippingOrderResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ShippingOrderResponse) HasParentId ¶
func (o *ShippingOrderResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*ShippingOrderResponse) HasTrackingNumber ¶
func (o *ShippingOrderResponse) HasTrackingNumber() bool
HasTrackingNumber returns a boolean if a field has been set.
func (ShippingOrderResponse) MarshalJSON ¶
func (o ShippingOrderResponse) MarshalJSON() ([]byte, error)
func (*ShippingOrderResponse) SetAmount ¶
func (o *ShippingOrderResponse) SetAmount(v int64)
SetAmount sets field value
func (*ShippingOrderResponse) SetCarrier ¶
func (o *ShippingOrderResponse) SetCarrier(v string)
SetCarrier gets a reference to the given string and assigns it to the Carrier field.
func (*ShippingOrderResponse) SetId ¶
func (o *ShippingOrderResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ShippingOrderResponse) SetMetadata ¶
func (o *ShippingOrderResponse) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ShippingOrderResponse) SetMethod ¶
func (o *ShippingOrderResponse) SetMethod(v string)
SetMethod gets a reference to the given string and assigns it to the Method field.
func (*ShippingOrderResponse) SetObject ¶
func (o *ShippingOrderResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ShippingOrderResponse) SetParentId ¶
func (o *ShippingOrderResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*ShippingOrderResponse) SetTrackingNumber ¶
func (o *ShippingOrderResponse) SetTrackingNumber(v string)
SetTrackingNumber gets a reference to the given string and assigns it to the TrackingNumber field.
func (ShippingOrderResponse) ToMap ¶
func (o ShippingOrderResponse) ToMap() (map[string]interface{}, error)
func (*ShippingOrderResponse) UnmarshalJSON ¶
func (o *ShippingOrderResponse) UnmarshalJSON(data []byte) (err error)
type ShippingRequest ¶
type ShippingRequest struct {
// Shipping amount in cents
Amount int64 `json:"amount"`
// Carrier name for the shipment
Carrier *string `json:"carrier,omitempty"`
// Tracking number can be used to track the shipment
TrackingNumber *string `json:"tracking_number,omitempty"`
// Method of shipment
Method *string `json:"method,omitempty"`
// Hash where the user can send additional information for each 'shipping'.
Metadata map[string]interface{} `json:"metadata,omitempty"`
AdditionalProperties map[string]interface{}
}
ShippingRequest struct for ShippingRequest
func NewShippingRequest ¶
func NewShippingRequest(amount int64) *ShippingRequest
NewShippingRequest instantiates a new ShippingRequest 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 NewShippingRequestWithDefaults ¶
func NewShippingRequestWithDefaults() *ShippingRequest
NewShippingRequestWithDefaults instantiates a new ShippingRequest 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 (*ShippingRequest) GetAmount ¶
func (o *ShippingRequest) GetAmount() int64
GetAmount returns the Amount field value
func (*ShippingRequest) GetAmountOk ¶
func (o *ShippingRequest) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*ShippingRequest) GetCarrier ¶
func (o *ShippingRequest) GetCarrier() string
GetCarrier returns the Carrier field value if set, zero value otherwise.
func (*ShippingRequest) GetCarrierOk ¶
func (o *ShippingRequest) GetCarrierOk() (*string, bool)
GetCarrierOk returns a tuple with the Carrier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingRequest) GetMetadata ¶
func (o *ShippingRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ShippingRequest) GetMetadataOk ¶
func (o *ShippingRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingRequest) GetMethod ¶
func (o *ShippingRequest) GetMethod() string
GetMethod returns the Method field value if set, zero value otherwise.
func (*ShippingRequest) GetMethodOk ¶
func (o *ShippingRequest) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingRequest) GetTrackingNumber ¶
func (o *ShippingRequest) GetTrackingNumber() string
GetTrackingNumber returns the TrackingNumber field value if set, zero value otherwise.
func (*ShippingRequest) GetTrackingNumberOk ¶
func (o *ShippingRequest) GetTrackingNumberOk() (*string, bool)
GetTrackingNumberOk returns a tuple with the TrackingNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingRequest) HasCarrier ¶
func (o *ShippingRequest) HasCarrier() bool
HasCarrier returns a boolean if a field has been set.
func (*ShippingRequest) HasMetadata ¶
func (o *ShippingRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ShippingRequest) HasMethod ¶
func (o *ShippingRequest) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*ShippingRequest) HasTrackingNumber ¶
func (o *ShippingRequest) HasTrackingNumber() bool
HasTrackingNumber returns a boolean if a field has been set.
func (ShippingRequest) MarshalJSON ¶
func (o ShippingRequest) MarshalJSON() ([]byte, error)
func (*ShippingRequest) SetAmount ¶
func (o *ShippingRequest) SetAmount(v int64)
SetAmount sets field value
func (*ShippingRequest) SetCarrier ¶
func (o *ShippingRequest) SetCarrier(v string)
SetCarrier gets a reference to the given string and assigns it to the Carrier field.
func (*ShippingRequest) SetMetadata ¶
func (o *ShippingRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ShippingRequest) SetMethod ¶
func (o *ShippingRequest) SetMethod(v string)
SetMethod gets a reference to the given string and assigns it to the Method field.
func (*ShippingRequest) SetTrackingNumber ¶
func (o *ShippingRequest) SetTrackingNumber(v string)
SetTrackingNumber gets a reference to the given string and assigns it to the TrackingNumber field.
func (ShippingRequest) ToMap ¶
func (o ShippingRequest) ToMap() (map[string]interface{}, error)
func (*ShippingRequest) UnmarshalJSON ¶
func (o *ShippingRequest) UnmarshalJSON(data []byte) (err error)
type ShippingsAPI ¶
type ShippingsAPI interface {
/*
OrdersCreateShipping Create Shipping
Create new shipping for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiOrdersCreateShippingRequest
*/
OrdersCreateShipping(ctx context.Context, id string) ApiOrdersCreateShippingRequest
// OrdersCreateShippingExecute executes the request
// @return ShippingOrderResponse
OrdersCreateShippingExecute(r ApiOrdersCreateShippingRequest) (*ShippingOrderResponse, *http.Response, error)
/*
OrdersDeleteShipping Delete Shipping
Delete shipping
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param shippingId identifier
@return ApiOrdersDeleteShippingRequest
*/
OrdersDeleteShipping(ctx context.Context, id string, shippingId string) ApiOrdersDeleteShippingRequest
// OrdersDeleteShippingExecute executes the request
// @return ShippingOrderResponse
OrdersDeleteShippingExecute(r ApiOrdersDeleteShippingRequest) (*ShippingOrderResponse, *http.Response, error)
/*
OrdersUpdateShipping Update Shipping
Update existing shipping for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param shippingId identifier
@return ApiOrdersUpdateShippingRequest
*/
OrdersUpdateShipping(ctx context.Context, id string, shippingId string) ApiOrdersUpdateShippingRequest
// OrdersUpdateShippingExecute executes the request
// @return ShippingOrderResponse
OrdersUpdateShippingExecute(r ApiOrdersUpdateShippingRequest) (*ShippingOrderResponse, *http.Response, error)
}
type ShippingsAPIService ¶
type ShippingsAPIService service
ShippingsAPIService ShippingsAPI service
func (*ShippingsAPIService) OrdersCreateShipping ¶
func (a *ShippingsAPIService) OrdersCreateShipping(ctx context.Context, id string) ApiOrdersCreateShippingRequest
OrdersCreateShipping Create Shipping
Create new shipping for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiOrdersCreateShippingRequest
func (*ShippingsAPIService) OrdersCreateShippingExecute ¶
func (a *ShippingsAPIService) OrdersCreateShippingExecute(r ApiOrdersCreateShippingRequest) (*ShippingOrderResponse, *http.Response, error)
Execute executes the request
@return ShippingOrderResponse
func (*ShippingsAPIService) OrdersDeleteShipping ¶
func (a *ShippingsAPIService) OrdersDeleteShipping(ctx context.Context, id string, shippingId string) ApiOrdersDeleteShippingRequest
OrdersDeleteShipping Delete Shipping
Delete shipping
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param shippingId identifier @return ApiOrdersDeleteShippingRequest
func (*ShippingsAPIService) OrdersDeleteShippingExecute ¶
func (a *ShippingsAPIService) OrdersDeleteShippingExecute(r ApiOrdersDeleteShippingRequest) (*ShippingOrderResponse, *http.Response, error)
Execute executes the request
@return ShippingOrderResponse
func (*ShippingsAPIService) OrdersUpdateShipping ¶
func (a *ShippingsAPIService) OrdersUpdateShipping(ctx context.Context, id string, shippingId string) ApiOrdersUpdateShippingRequest
OrdersUpdateShipping Update Shipping
Update existing shipping for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param shippingId identifier @return ApiOrdersUpdateShippingRequest
func (*ShippingsAPIService) OrdersUpdateShippingExecute ¶
func (a *ShippingsAPIService) OrdersUpdateShippingExecute(r ApiOrdersUpdateShippingRequest) (*ShippingOrderResponse, *http.Response, error)
Execute executes the request
@return ShippingOrderResponse
type SmsCheckoutRequest ¶
type SmsCheckoutRequest struct {
Phonenumber string `json:"phonenumber"`
AdditionalProperties map[string]interface{}
}
SmsCheckoutRequest struct for SmsCheckoutRequest
func NewSmsCheckoutRequest ¶
func NewSmsCheckoutRequest(phonenumber string) *SmsCheckoutRequest
NewSmsCheckoutRequest instantiates a new SmsCheckoutRequest 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 NewSmsCheckoutRequestWithDefaults ¶
func NewSmsCheckoutRequestWithDefaults() *SmsCheckoutRequest
NewSmsCheckoutRequestWithDefaults instantiates a new SmsCheckoutRequest 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 (*SmsCheckoutRequest) GetPhonenumber ¶
func (o *SmsCheckoutRequest) GetPhonenumber() string
GetPhonenumber returns the Phonenumber field value
func (*SmsCheckoutRequest) GetPhonenumberOk ¶
func (o *SmsCheckoutRequest) GetPhonenumberOk() (*string, bool)
GetPhonenumberOk returns a tuple with the Phonenumber field value and a boolean to check if the value has been set.
func (SmsCheckoutRequest) MarshalJSON ¶
func (o SmsCheckoutRequest) MarshalJSON() ([]byte, error)
func (*SmsCheckoutRequest) SetPhonenumber ¶
func (o *SmsCheckoutRequest) SetPhonenumber(v string)
SetPhonenumber sets field value
func (SmsCheckoutRequest) ToMap ¶
func (o SmsCheckoutRequest) ToMap() (map[string]interface{}, error)
func (*SmsCheckoutRequest) UnmarshalJSON ¶
func (o *SmsCheckoutRequest) UnmarshalJSON(data []byte) (err error)
type TaxesAPI ¶
type TaxesAPI interface {
/*
OrdersCreateTaxes Create Tax
Create new taxes for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiOrdersCreateTaxesRequest
*/
OrdersCreateTaxes(ctx context.Context, id string) ApiOrdersCreateTaxesRequest
// OrdersCreateTaxesExecute executes the request
// @return UpdateOrderTaxResponse
OrdersCreateTaxesExecute(r ApiOrdersCreateTaxesRequest) (*UpdateOrderTaxResponse, *http.Response, error)
/*
OrdersDeleteTaxes Delete Tax
Delete taxes for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param taxId identifier
@return ApiOrdersDeleteTaxesRequest
*/
OrdersDeleteTaxes(ctx context.Context, id string, taxId string) ApiOrdersDeleteTaxesRequest
// OrdersDeleteTaxesExecute executes the request
// @return UpdateOrderTaxResponse
OrdersDeleteTaxesExecute(r ApiOrdersDeleteTaxesRequest) (*UpdateOrderTaxResponse, *http.Response, error)
/*
OrdersUpdateTaxes Update Tax
Update taxes for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@param taxId identifier
@return ApiOrdersUpdateTaxesRequest
*/
OrdersUpdateTaxes(ctx context.Context, id string, taxId string) ApiOrdersUpdateTaxesRequest
// OrdersUpdateTaxesExecute executes the request
// @return UpdateOrderTaxResponse
OrdersUpdateTaxesExecute(r ApiOrdersUpdateTaxesRequest) (*UpdateOrderTaxResponse, *http.Response, error)
}
type TaxesAPIService ¶
type TaxesAPIService service
TaxesAPIService TaxesAPI service
func (*TaxesAPIService) OrdersCreateTaxes ¶
func (a *TaxesAPIService) OrdersCreateTaxes(ctx context.Context, id string) ApiOrdersCreateTaxesRequest
OrdersCreateTaxes Create Tax
Create new taxes for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiOrdersCreateTaxesRequest
func (*TaxesAPIService) OrdersCreateTaxesExecute ¶
func (a *TaxesAPIService) OrdersCreateTaxesExecute(r ApiOrdersCreateTaxesRequest) (*UpdateOrderTaxResponse, *http.Response, error)
Execute executes the request
@return UpdateOrderTaxResponse
func (*TaxesAPIService) OrdersDeleteTaxes ¶
func (a *TaxesAPIService) OrdersDeleteTaxes(ctx context.Context, id string, taxId string) ApiOrdersDeleteTaxesRequest
OrdersDeleteTaxes Delete Tax
Delete taxes for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param taxId identifier @return ApiOrdersDeleteTaxesRequest
func (*TaxesAPIService) OrdersDeleteTaxesExecute ¶
func (a *TaxesAPIService) OrdersDeleteTaxesExecute(r ApiOrdersDeleteTaxesRequest) (*UpdateOrderTaxResponse, *http.Response, error)
Execute executes the request
@return UpdateOrderTaxResponse
func (*TaxesAPIService) OrdersUpdateTaxes ¶
func (a *TaxesAPIService) OrdersUpdateTaxes(ctx context.Context, id string, taxId string) ApiOrdersUpdateTaxesRequest
OrdersUpdateTaxes Update Tax
Update taxes for an existing orden
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @param taxId identifier @return ApiOrdersUpdateTaxesRequest
func (*TaxesAPIService) OrdersUpdateTaxesExecute ¶
func (a *TaxesAPIService) OrdersUpdateTaxesExecute(r ApiOrdersUpdateTaxesRequest) (*UpdateOrderTaxResponse, *http.Response, error)
Execute executes the request
@return UpdateOrderTaxResponse
type TransactionResponse ¶
type TransactionResponse struct {
// The amount of the transaction.
Amount int64 `json:"amount"`
// Randomly assigned unique order identifier associated with the charge.
Charge string `json:"charge"`
// Date and time of creation of the transaction in Unix format.
CreatedAt int64 `json:"created_at"`
// The currency of the transaction. It uses the 3-letter code of the [International Standard ISO 4217.](https://es.wikipedia.org/wiki/ISO_4217)
Currency string `json:"currency"`
// The amount to be deducted for taxes and commissions.
Fee int64 `json:"fee"`
// Unique identifier of the transaction.
Id string `json:"id"`
// Indicates whether the transaction was created in live mode or test mode.
Livemode bool `json:"livemode"`
// The net amount after deducting commissions and taxes.
Net int64 `json:"net"`
// Object name, which is transaction.
Object string `json:"object"`
// Code indicating transaction status.
Status string `json:"status"`
// Transaction Type
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
TransactionResponse The Transaction object represents the actions or steps of an order. Statuses can be: unprocessed, pending, available, owen, paid_out, voided, capture, capture_reversal, liquidation, liquidation_reversal, payout, payout_reversal, refund, refund_reversal, chargeback, chargeback_reversal, rounding_adjustment, won_chargeback, transferred, and transferred.
func NewTransactionResponse ¶
func NewTransactionResponse(amount int64, charge string, createdAt int64, currency string, fee int64, id string, livemode bool, net int64, object string, status string, type_ string) *TransactionResponse
NewTransactionResponse instantiates a new TransactionResponse 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 NewTransactionResponseWithDefaults ¶
func NewTransactionResponseWithDefaults() *TransactionResponse
NewTransactionResponseWithDefaults instantiates a new TransactionResponse 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 (*TransactionResponse) GetAmount ¶
func (o *TransactionResponse) GetAmount() int64
GetAmount returns the Amount field value
func (*TransactionResponse) GetAmountOk ¶
func (o *TransactionResponse) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetCharge ¶
func (o *TransactionResponse) GetCharge() string
GetCharge returns the Charge field value
func (*TransactionResponse) GetChargeOk ¶
func (o *TransactionResponse) GetChargeOk() (*string, bool)
GetChargeOk returns a tuple with the Charge field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetCreatedAt ¶
func (o *TransactionResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*TransactionResponse) GetCreatedAtOk ¶
func (o *TransactionResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetCurrency ¶
func (o *TransactionResponse) GetCurrency() string
GetCurrency returns the Currency field value
func (*TransactionResponse) GetCurrencyOk ¶
func (o *TransactionResponse) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetFee ¶
func (o *TransactionResponse) GetFee() int64
GetFee returns the Fee field value
func (*TransactionResponse) GetFeeOk ¶
func (o *TransactionResponse) GetFeeOk() (*int64, bool)
GetFeeOk returns a tuple with the Fee field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetId ¶
func (o *TransactionResponse) GetId() string
GetId returns the Id field value
func (*TransactionResponse) GetIdOk ¶
func (o *TransactionResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetLivemode ¶
func (o *TransactionResponse) GetLivemode() bool
GetLivemode returns the Livemode field value
func (*TransactionResponse) GetLivemodeOk ¶
func (o *TransactionResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetNet ¶
func (o *TransactionResponse) GetNet() int64
GetNet returns the Net field value
func (*TransactionResponse) GetNetOk ¶
func (o *TransactionResponse) GetNetOk() (*int64, bool)
GetNetOk returns a tuple with the Net field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetObject ¶
func (o *TransactionResponse) GetObject() string
GetObject returns the Object field value
func (*TransactionResponse) GetObjectOk ¶
func (o *TransactionResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetStatus ¶
func (o *TransactionResponse) GetStatus() string
GetStatus returns the Status field value
func (*TransactionResponse) GetStatusOk ¶
func (o *TransactionResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*TransactionResponse) GetType ¶
func (o *TransactionResponse) GetType() string
GetType returns the Type field value
func (*TransactionResponse) GetTypeOk ¶
func (o *TransactionResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (TransactionResponse) MarshalJSON ¶
func (o TransactionResponse) MarshalJSON() ([]byte, error)
func (*TransactionResponse) SetAmount ¶
func (o *TransactionResponse) SetAmount(v int64)
SetAmount sets field value
func (*TransactionResponse) SetCharge ¶
func (o *TransactionResponse) SetCharge(v string)
SetCharge sets field value
func (*TransactionResponse) SetCreatedAt ¶
func (o *TransactionResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*TransactionResponse) SetCurrency ¶
func (o *TransactionResponse) SetCurrency(v string)
SetCurrency sets field value
func (*TransactionResponse) SetFee ¶
func (o *TransactionResponse) SetFee(v int64)
SetFee sets field value
func (*TransactionResponse) SetId ¶
func (o *TransactionResponse) SetId(v string)
SetId sets field value
func (*TransactionResponse) SetLivemode ¶
func (o *TransactionResponse) SetLivemode(v bool)
SetLivemode sets field value
func (*TransactionResponse) SetNet ¶
func (o *TransactionResponse) SetNet(v int64)
SetNet sets field value
func (*TransactionResponse) SetObject ¶
func (o *TransactionResponse) SetObject(v string)
SetObject sets field value
func (*TransactionResponse) SetStatus ¶
func (o *TransactionResponse) SetStatus(v string)
SetStatus sets field value
func (*TransactionResponse) SetType ¶
func (o *TransactionResponse) SetType(v string)
SetType sets field value
func (TransactionResponse) ToMap ¶
func (o TransactionResponse) ToMap() (map[string]interface{}, error)
func (*TransactionResponse) UnmarshalJSON ¶
func (o *TransactionResponse) UnmarshalJSON(data []byte) (err error)
type TransactionsAPI ¶
type TransactionsAPI interface {
/*
GetTransaction Get transaction
Get the details of a transaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetTransactionRequest
*/
GetTransaction(ctx context.Context, id string) ApiGetTransactionRequest
// GetTransactionExecute executes the request
// @return TransactionResponse
GetTransactionExecute(r ApiGetTransactionRequest) (*TransactionResponse, *http.Response, error)
/*
GetTransactions Get List transactions
Get transaction details in the form of a list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTransactionsRequest
*/
GetTransactions(ctx context.Context) ApiGetTransactionsRequest
// GetTransactionsExecute executes the request
// @return GetTransactionsResponse
GetTransactionsExecute(r ApiGetTransactionsRequest) (*GetTransactionsResponse, *http.Response, error)
}
type TransactionsAPIService ¶
type TransactionsAPIService service
TransactionsAPIService TransactionsAPI service
func (*TransactionsAPIService) GetTransaction ¶
func (a *TransactionsAPIService) GetTransaction(ctx context.Context, id string) ApiGetTransactionRequest
GetTransaction Get transaction
Get the details of a transaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetTransactionRequest
func (*TransactionsAPIService) GetTransactionExecute ¶
func (a *TransactionsAPIService) GetTransactionExecute(r ApiGetTransactionRequest) (*TransactionResponse, *http.Response, error)
Execute executes the request
@return TransactionResponse
func (*TransactionsAPIService) GetTransactions ¶
func (a *TransactionsAPIService) GetTransactions(ctx context.Context) ApiGetTransactionsRequest
GetTransactions Get List transactions
Get transaction details in the form of a list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetTransactionsRequest
func (*TransactionsAPIService) GetTransactionsExecute ¶
func (a *TransactionsAPIService) GetTransactionsExecute(r ApiGetTransactionsRequest) (*GetTransactionsResponse, *http.Response, error)
Execute executes the request
@return GetTransactionsResponse
type TransferDestinationResponse ¶
type TransferDestinationResponse struct {
// Name of the account holder.
AccountHolder *string `json:"account_holder,omitempty"`
// Account number of the bank account.
AccountNumber *string `json:"account_number,omitempty"`
// Name of the bank.
Bank *string `json:"bank,omitempty"`
// Date and time of creation of the transfer.
CreatedAt *int64 `json:"created_at,omitempty"`
// Unique identifier of the transfer.
Id *string `json:"id,omitempty"`
// Object name, which is bank_transfer_payout_method.
Object *string `json:"object,omitempty"`
// Unique identifier of the payee.
PayeeId *string `json:"payee_id,omitempty"`
// Type of the payee.
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{}
}
TransferDestinationResponse Method used to make the transfer.
func NewTransferDestinationResponse ¶
func NewTransferDestinationResponse() *TransferDestinationResponse
NewTransferDestinationResponse instantiates a new TransferDestinationResponse 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 NewTransferDestinationResponseWithDefaults ¶
func NewTransferDestinationResponseWithDefaults() *TransferDestinationResponse
NewTransferDestinationResponseWithDefaults instantiates a new TransferDestinationResponse 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 (*TransferDestinationResponse) GetAccountHolder ¶
func (o *TransferDestinationResponse) GetAccountHolder() string
GetAccountHolder returns the AccountHolder field value if set, zero value otherwise.
func (*TransferDestinationResponse) GetAccountHolderOk ¶
func (o *TransferDestinationResponse) GetAccountHolderOk() (*string, bool)
GetAccountHolderOk returns a tuple with the AccountHolder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferDestinationResponse) GetAccountNumber ¶
func (o *TransferDestinationResponse) GetAccountNumber() string
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*TransferDestinationResponse) GetAccountNumberOk ¶
func (o *TransferDestinationResponse) GetAccountNumberOk() (*string, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferDestinationResponse) GetBank ¶
func (o *TransferDestinationResponse) GetBank() string
GetBank returns the Bank field value if set, zero value otherwise.
func (*TransferDestinationResponse) GetBankOk ¶
func (o *TransferDestinationResponse) GetBankOk() (*string, bool)
GetBankOk returns a tuple with the Bank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferDestinationResponse) GetCreatedAt ¶
func (o *TransferDestinationResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*TransferDestinationResponse) GetCreatedAtOk ¶
func (o *TransferDestinationResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferDestinationResponse) GetId ¶
func (o *TransferDestinationResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TransferDestinationResponse) GetIdOk ¶
func (o *TransferDestinationResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferDestinationResponse) GetObject ¶
func (o *TransferDestinationResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*TransferDestinationResponse) GetObjectOk ¶
func (o *TransferDestinationResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferDestinationResponse) GetPayeeId ¶
func (o *TransferDestinationResponse) GetPayeeId() string
GetPayeeId returns the PayeeId field value if set, zero value otherwise.
func (*TransferDestinationResponse) GetPayeeIdOk ¶
func (o *TransferDestinationResponse) GetPayeeIdOk() (*string, bool)
GetPayeeIdOk returns a tuple with the PayeeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferDestinationResponse) GetType ¶
func (o *TransferDestinationResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TransferDestinationResponse) GetTypeOk ¶
func (o *TransferDestinationResponse) 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 (*TransferDestinationResponse) HasAccountHolder ¶
func (o *TransferDestinationResponse) HasAccountHolder() bool
HasAccountHolder returns a boolean if a field has been set.
func (*TransferDestinationResponse) HasAccountNumber ¶
func (o *TransferDestinationResponse) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*TransferDestinationResponse) HasBank ¶
func (o *TransferDestinationResponse) HasBank() bool
HasBank returns a boolean if a field has been set.
func (*TransferDestinationResponse) HasCreatedAt ¶
func (o *TransferDestinationResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*TransferDestinationResponse) HasId ¶
func (o *TransferDestinationResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*TransferDestinationResponse) HasObject ¶
func (o *TransferDestinationResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*TransferDestinationResponse) HasPayeeId ¶
func (o *TransferDestinationResponse) HasPayeeId() bool
HasPayeeId returns a boolean if a field has been set.
func (*TransferDestinationResponse) HasType ¶
func (o *TransferDestinationResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (TransferDestinationResponse) MarshalJSON ¶
func (o TransferDestinationResponse) MarshalJSON() ([]byte, error)
func (*TransferDestinationResponse) SetAccountHolder ¶
func (o *TransferDestinationResponse) SetAccountHolder(v string)
SetAccountHolder gets a reference to the given string and assigns it to the AccountHolder field.
func (*TransferDestinationResponse) SetAccountNumber ¶
func (o *TransferDestinationResponse) SetAccountNumber(v string)
SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (*TransferDestinationResponse) SetBank ¶
func (o *TransferDestinationResponse) SetBank(v string)
SetBank gets a reference to the given string and assigns it to the Bank field.
func (*TransferDestinationResponse) SetCreatedAt ¶
func (o *TransferDestinationResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*TransferDestinationResponse) SetId ¶
func (o *TransferDestinationResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TransferDestinationResponse) SetObject ¶
func (o *TransferDestinationResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*TransferDestinationResponse) SetPayeeId ¶
func (o *TransferDestinationResponse) SetPayeeId(v string)
SetPayeeId gets a reference to the given string and assigns it to the PayeeId field.
func (*TransferDestinationResponse) SetType ¶
func (o *TransferDestinationResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TransferDestinationResponse) ToMap ¶
func (o TransferDestinationResponse) ToMap() (map[string]interface{}, error)
func (*TransferDestinationResponse) UnmarshalJSON ¶
func (o *TransferDestinationResponse) UnmarshalJSON(data []byte) (err error)
type TransferMethodResponse ¶
type TransferMethodResponse struct {
// Name of the account holder.
AccountHolder *string `json:"account_holder,omitempty"`
// Account number of the bank account.
AccountNumber *string `json:"account_number,omitempty"`
// Name of the bank.
Bank *string `json:"bank,omitempty"`
// Date and time of creation of the transfer.
CreatedAt *int64 `json:"created_at,omitempty"`
// Unique identifier of the transfer.
Id *string `json:"id,omitempty"`
// Object name, which is bank_transfer_payout_method.
Object *string `json:"object,omitempty"`
// Unique identifier of the payee.
PayeeId *string `json:"payee_id,omitempty"`
// Type of the payee.
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{}
}
TransferMethodResponse Method used to make the transfer.
func NewTransferMethodResponse ¶
func NewTransferMethodResponse() *TransferMethodResponse
NewTransferMethodResponse instantiates a new TransferMethodResponse 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 NewTransferMethodResponseWithDefaults ¶
func NewTransferMethodResponseWithDefaults() *TransferMethodResponse
NewTransferMethodResponseWithDefaults instantiates a new TransferMethodResponse 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 (*TransferMethodResponse) GetAccountHolder ¶
func (o *TransferMethodResponse) GetAccountHolder() string
GetAccountHolder returns the AccountHolder field value if set, zero value otherwise.
func (*TransferMethodResponse) GetAccountHolderOk ¶
func (o *TransferMethodResponse) GetAccountHolderOk() (*string, bool)
GetAccountHolderOk returns a tuple with the AccountHolder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferMethodResponse) GetAccountNumber ¶
func (o *TransferMethodResponse) GetAccountNumber() string
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*TransferMethodResponse) GetAccountNumberOk ¶
func (o *TransferMethodResponse) GetAccountNumberOk() (*string, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferMethodResponse) GetBank ¶
func (o *TransferMethodResponse) GetBank() string
GetBank returns the Bank field value if set, zero value otherwise.
func (*TransferMethodResponse) GetBankOk ¶
func (o *TransferMethodResponse) GetBankOk() (*string, bool)
GetBankOk returns a tuple with the Bank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferMethodResponse) GetCreatedAt ¶
func (o *TransferMethodResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*TransferMethodResponse) GetCreatedAtOk ¶
func (o *TransferMethodResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferMethodResponse) GetId ¶
func (o *TransferMethodResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TransferMethodResponse) GetIdOk ¶
func (o *TransferMethodResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferMethodResponse) GetObject ¶
func (o *TransferMethodResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*TransferMethodResponse) GetObjectOk ¶
func (o *TransferMethodResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferMethodResponse) GetPayeeId ¶
func (o *TransferMethodResponse) GetPayeeId() string
GetPayeeId returns the PayeeId field value if set, zero value otherwise.
func (*TransferMethodResponse) GetPayeeIdOk ¶
func (o *TransferMethodResponse) GetPayeeIdOk() (*string, bool)
GetPayeeIdOk returns a tuple with the PayeeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferMethodResponse) GetType ¶
func (o *TransferMethodResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TransferMethodResponse) GetTypeOk ¶
func (o *TransferMethodResponse) 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 (*TransferMethodResponse) HasAccountHolder ¶
func (o *TransferMethodResponse) HasAccountHolder() bool
HasAccountHolder returns a boolean if a field has been set.
func (*TransferMethodResponse) HasAccountNumber ¶
func (o *TransferMethodResponse) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*TransferMethodResponse) HasBank ¶
func (o *TransferMethodResponse) HasBank() bool
HasBank returns a boolean if a field has been set.
func (*TransferMethodResponse) HasCreatedAt ¶
func (o *TransferMethodResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*TransferMethodResponse) HasId ¶
func (o *TransferMethodResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*TransferMethodResponse) HasObject ¶
func (o *TransferMethodResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*TransferMethodResponse) HasPayeeId ¶
func (o *TransferMethodResponse) HasPayeeId() bool
HasPayeeId returns a boolean if a field has been set.
func (*TransferMethodResponse) HasType ¶
func (o *TransferMethodResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (TransferMethodResponse) MarshalJSON ¶
func (o TransferMethodResponse) MarshalJSON() ([]byte, error)
func (*TransferMethodResponse) SetAccountHolder ¶
func (o *TransferMethodResponse) SetAccountHolder(v string)
SetAccountHolder gets a reference to the given string and assigns it to the AccountHolder field.
func (*TransferMethodResponse) SetAccountNumber ¶
func (o *TransferMethodResponse) SetAccountNumber(v string)
SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (*TransferMethodResponse) SetBank ¶
func (o *TransferMethodResponse) SetBank(v string)
SetBank gets a reference to the given string and assigns it to the Bank field.
func (*TransferMethodResponse) SetCreatedAt ¶
func (o *TransferMethodResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*TransferMethodResponse) SetId ¶
func (o *TransferMethodResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TransferMethodResponse) SetObject ¶
func (o *TransferMethodResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*TransferMethodResponse) SetPayeeId ¶
func (o *TransferMethodResponse) SetPayeeId(v string)
SetPayeeId gets a reference to the given string and assigns it to the PayeeId field.
func (*TransferMethodResponse) SetType ¶
func (o *TransferMethodResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TransferMethodResponse) ToMap ¶
func (o TransferMethodResponse) ToMap() (map[string]interface{}, error)
func (*TransferMethodResponse) UnmarshalJSON ¶
func (o *TransferMethodResponse) UnmarshalJSON(data []byte) (err error)
type TransferResponse ¶
type TransferResponse struct {
// Amount in cents of the transfer.
Amount *int64 `json:"amount,omitempty"`
// Date and time of creation of the transfer in Unix format.
CreatedAt *int64 `json:"created_at,omitempty"`
// The currency of the transfer. It uses the 3-letter code of the [International Standard ISO 4217.](https://es.wikipedia.org/wiki/ISO_4217)
Currency *string `json:"currency,omitempty"`
// Unique identifier of the transfer.
Id *string `json:"id,omitempty"`
// Indicates whether the transfer was created in live mode or test mode.
Livemode *bool `json:"livemode,omitempty"`
Destination *TransferDestinationResponse `json:"destination,omitempty"`
// Object name, which is transfer.
Object *string `json:"object,omitempty"`
// Description of the transfer.
StatementDescription *string `json:"statement_description,omitempty"`
// Reference number of the transfer.
StatementReference *string `json:"statement_reference,omitempty"`
// Code indicating transfer status.
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{}
}
TransferResponse A transfer represents the action of sending an amount to a business bank account including the status, amount and method used to make the transfer.
func NewTransferResponse ¶
func NewTransferResponse() *TransferResponse
NewTransferResponse instantiates a new TransferResponse 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 NewTransferResponseWithDefaults ¶
func NewTransferResponseWithDefaults() *TransferResponse
NewTransferResponseWithDefaults instantiates a new TransferResponse 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 (*TransferResponse) GetAmount ¶
func (o *TransferResponse) GetAmount() int64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*TransferResponse) GetAmountOk ¶
func (o *TransferResponse) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) GetCreatedAt ¶
func (o *TransferResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*TransferResponse) GetCreatedAtOk ¶
func (o *TransferResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) GetCurrency ¶
func (o *TransferResponse) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*TransferResponse) GetCurrencyOk ¶
func (o *TransferResponse) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) GetDestination ¶
func (o *TransferResponse) GetDestination() TransferDestinationResponse
GetDestination returns the Destination field value if set, zero value otherwise.
func (*TransferResponse) GetDestinationOk ¶
func (o *TransferResponse) GetDestinationOk() (*TransferDestinationResponse, bool)
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) GetId ¶
func (o *TransferResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TransferResponse) GetIdOk ¶
func (o *TransferResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) GetLivemode ¶
func (o *TransferResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*TransferResponse) GetLivemodeOk ¶
func (o *TransferResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) GetObject ¶
func (o *TransferResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*TransferResponse) GetObjectOk ¶
func (o *TransferResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) GetStatementDescription ¶
func (o *TransferResponse) GetStatementDescription() string
GetStatementDescription returns the StatementDescription field value if set, zero value otherwise.
func (*TransferResponse) GetStatementDescriptionOk ¶
func (o *TransferResponse) GetStatementDescriptionOk() (*string, bool)
GetStatementDescriptionOk returns a tuple with the StatementDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) GetStatementReference ¶
func (o *TransferResponse) GetStatementReference() string
GetStatementReference returns the StatementReference field value if set, zero value otherwise.
func (*TransferResponse) GetStatementReferenceOk ¶
func (o *TransferResponse) GetStatementReferenceOk() (*string, bool)
GetStatementReferenceOk returns a tuple with the StatementReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) GetStatus ¶
func (o *TransferResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*TransferResponse) GetStatusOk ¶
func (o *TransferResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferResponse) HasAmount ¶
func (o *TransferResponse) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*TransferResponse) HasCreatedAt ¶
func (o *TransferResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*TransferResponse) HasCurrency ¶
func (o *TransferResponse) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*TransferResponse) HasDestination ¶
func (o *TransferResponse) HasDestination() bool
HasDestination returns a boolean if a field has been set.
func (*TransferResponse) HasId ¶
func (o *TransferResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*TransferResponse) HasLivemode ¶
func (o *TransferResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*TransferResponse) HasObject ¶
func (o *TransferResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*TransferResponse) HasStatementDescription ¶
func (o *TransferResponse) HasStatementDescription() bool
HasStatementDescription returns a boolean if a field has been set.
func (*TransferResponse) HasStatementReference ¶
func (o *TransferResponse) HasStatementReference() bool
HasStatementReference returns a boolean if a field has been set.
func (*TransferResponse) HasStatus ¶
func (o *TransferResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (TransferResponse) MarshalJSON ¶
func (o TransferResponse) MarshalJSON() ([]byte, error)
func (*TransferResponse) SetAmount ¶
func (o *TransferResponse) SetAmount(v int64)
SetAmount gets a reference to the given int64 and assigns it to the Amount field.
func (*TransferResponse) SetCreatedAt ¶
func (o *TransferResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*TransferResponse) SetCurrency ¶
func (o *TransferResponse) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*TransferResponse) SetDestination ¶
func (o *TransferResponse) SetDestination(v TransferDestinationResponse)
SetDestination gets a reference to the given TransferDestinationResponse and assigns it to the Destination field.
func (*TransferResponse) SetId ¶
func (o *TransferResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TransferResponse) SetLivemode ¶
func (o *TransferResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*TransferResponse) SetObject ¶
func (o *TransferResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*TransferResponse) SetStatementDescription ¶
func (o *TransferResponse) SetStatementDescription(v string)
SetStatementDescription gets a reference to the given string and assigns it to the StatementDescription field.
func (*TransferResponse) SetStatementReference ¶
func (o *TransferResponse) SetStatementReference(v string)
SetStatementReference gets a reference to the given string and assigns it to the StatementReference field.
func (*TransferResponse) SetStatus ¶
func (o *TransferResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (TransferResponse) ToMap ¶
func (o TransferResponse) ToMap() (map[string]interface{}, error)
func (*TransferResponse) UnmarshalJSON ¶
func (o *TransferResponse) UnmarshalJSON(data []byte) (err error)
type TransfersAPI ¶
type TransfersAPI interface {
/*
GetTransfer Get Transfer
Get the details of a Transfer
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetTransferRequest
*/
GetTransfer(ctx context.Context, id string) ApiGetTransferRequest
// GetTransferExecute executes the request
// @return TransferResponse
GetTransferExecute(r ApiGetTransferRequest) (*TransferResponse, *http.Response, error)
/*
GetTransfers Get a list of transfers
Get transfers details in the form of a list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTransfersRequest
*/
GetTransfers(ctx context.Context) ApiGetTransfersRequest
// GetTransfersExecute executes the request
// @return GetTransfersResponse
GetTransfersExecute(r ApiGetTransfersRequest) (*GetTransfersResponse, *http.Response, error)
}
type TransfersAPIService ¶
type TransfersAPIService service
TransfersAPIService TransfersAPI service
func (*TransfersAPIService) GetTransfer ¶
func (a *TransfersAPIService) GetTransfer(ctx context.Context, id string) ApiGetTransferRequest
GetTransfer Get Transfer
Get the details of a Transfer
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetTransferRequest
func (*TransfersAPIService) GetTransferExecute ¶
func (a *TransfersAPIService) GetTransferExecute(r ApiGetTransferRequest) (*TransferResponse, *http.Response, error)
Execute executes the request
@return TransferResponse
func (*TransfersAPIService) GetTransfers ¶
func (a *TransfersAPIService) GetTransfers(ctx context.Context) ApiGetTransfersRequest
GetTransfers Get a list of transfers
Get transfers details in the form of a list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetTransfersRequest
func (*TransfersAPIService) GetTransfersExecute ¶
func (a *TransfersAPIService) GetTransfersExecute(r ApiGetTransfersRequest) (*GetTransfersResponse, *http.Response, error)
Execute executes the request
@return GetTransfersResponse
type TransfersResponse ¶
type TransfersResponse struct {
// Amount in cents of the transfer.
Amount *int64 `json:"amount,omitempty"`
// Date and time of creation of the transfer.
CreatedAt *int64 `json:"created_at,omitempty"`
// The currency of the transfer. It uses the 3-letter code of the [International Standard ISO 4217.](https://es.wikipedia.org/wiki/ISO_4217)
Currency *string `json:"currency,omitempty"`
// Unique identifier of the transfer.
Id *string `json:"id,omitempty"`
// Indicates whether the transfer was created in live mode or test mode.
Livemode *bool `json:"livemode,omitempty"`
Method *TransferMethodResponse `json:"method,omitempty"`
// Object name, which is transfer.
Object *string `json:"object,omitempty"`
// Description of the transfer.
StatementDescription *string `json:"statement_description,omitempty"`
// Reference number of the transfer.
StatementReference *string `json:"statement_reference,omitempty"`
// Code indicating transfer status.
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{}
}
TransfersResponse A transfer represents the action of sending an amount to a business bank account including the status, amount and method used to make the transfer.
func NewTransfersResponse ¶
func NewTransfersResponse() *TransfersResponse
NewTransfersResponse instantiates a new TransfersResponse 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 NewTransfersResponseWithDefaults ¶
func NewTransfersResponseWithDefaults() *TransfersResponse
NewTransfersResponseWithDefaults instantiates a new TransfersResponse 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 (*TransfersResponse) GetAmount ¶
func (o *TransfersResponse) GetAmount() int64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*TransfersResponse) GetAmountOk ¶
func (o *TransfersResponse) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) GetCreatedAt ¶
func (o *TransfersResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*TransfersResponse) GetCreatedAtOk ¶
func (o *TransfersResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) GetCurrency ¶
func (o *TransfersResponse) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*TransfersResponse) GetCurrencyOk ¶
func (o *TransfersResponse) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) GetId ¶
func (o *TransfersResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TransfersResponse) GetIdOk ¶
func (o *TransfersResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) GetLivemode ¶
func (o *TransfersResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*TransfersResponse) GetLivemodeOk ¶
func (o *TransfersResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) GetMethod ¶
func (o *TransfersResponse) GetMethod() TransferMethodResponse
GetMethod returns the Method field value if set, zero value otherwise.
func (*TransfersResponse) GetMethodOk ¶
func (o *TransfersResponse) GetMethodOk() (*TransferMethodResponse, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) GetObject ¶
func (o *TransfersResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*TransfersResponse) GetObjectOk ¶
func (o *TransfersResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) GetStatementDescription ¶
func (o *TransfersResponse) GetStatementDescription() string
GetStatementDescription returns the StatementDescription field value if set, zero value otherwise.
func (*TransfersResponse) GetStatementDescriptionOk ¶
func (o *TransfersResponse) GetStatementDescriptionOk() (*string, bool)
GetStatementDescriptionOk returns a tuple with the StatementDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) GetStatementReference ¶
func (o *TransfersResponse) GetStatementReference() string
GetStatementReference returns the StatementReference field value if set, zero value otherwise.
func (*TransfersResponse) GetStatementReferenceOk ¶
func (o *TransfersResponse) GetStatementReferenceOk() (*string, bool)
GetStatementReferenceOk returns a tuple with the StatementReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) GetStatus ¶
func (o *TransfersResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*TransfersResponse) GetStatusOk ¶
func (o *TransfersResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransfersResponse) HasAmount ¶
func (o *TransfersResponse) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*TransfersResponse) HasCreatedAt ¶
func (o *TransfersResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*TransfersResponse) HasCurrency ¶
func (o *TransfersResponse) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*TransfersResponse) HasId ¶
func (o *TransfersResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*TransfersResponse) HasLivemode ¶
func (o *TransfersResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*TransfersResponse) HasMethod ¶
func (o *TransfersResponse) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*TransfersResponse) HasObject ¶
func (o *TransfersResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*TransfersResponse) HasStatementDescription ¶
func (o *TransfersResponse) HasStatementDescription() bool
HasStatementDescription returns a boolean if a field has been set.
func (*TransfersResponse) HasStatementReference ¶
func (o *TransfersResponse) HasStatementReference() bool
HasStatementReference returns a boolean if a field has been set.
func (*TransfersResponse) HasStatus ¶
func (o *TransfersResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (TransfersResponse) MarshalJSON ¶
func (o TransfersResponse) MarshalJSON() ([]byte, error)
func (*TransfersResponse) SetAmount ¶
func (o *TransfersResponse) SetAmount(v int64)
SetAmount gets a reference to the given int64 and assigns it to the Amount field.
func (*TransfersResponse) SetCreatedAt ¶
func (o *TransfersResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*TransfersResponse) SetCurrency ¶
func (o *TransfersResponse) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*TransfersResponse) SetId ¶
func (o *TransfersResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TransfersResponse) SetLivemode ¶
func (o *TransfersResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*TransfersResponse) SetMethod ¶
func (o *TransfersResponse) SetMethod(v TransferMethodResponse)
SetMethod gets a reference to the given TransferMethodResponse and assigns it to the Method field.
func (*TransfersResponse) SetObject ¶
func (o *TransfersResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*TransfersResponse) SetStatementDescription ¶
func (o *TransfersResponse) SetStatementDescription(v string)
SetStatementDescription gets a reference to the given string and assigns it to the StatementDescription field.
func (*TransfersResponse) SetStatementReference ¶
func (o *TransfersResponse) SetStatementReference(v string)
SetStatementReference gets a reference to the given string and assigns it to the StatementReference field.
func (*TransfersResponse) SetStatus ¶
func (o *TransfersResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (TransfersResponse) ToMap ¶
func (o TransfersResponse) ToMap() (map[string]interface{}, error)
func (*TransfersResponse) UnmarshalJSON ¶
func (o *TransfersResponse) UnmarshalJSON(data []byte) (err error)
type UpdateCustomer ¶
type UpdateCustomer struct {
AntifraudInfo NullableUpdateCustomerAntifraudInfo `json:"antifraud_info,omitempty"`
// It is a parameter that allows to identify in the response, the Femsa ID of a payment method (payment_id)
DefaultPaymentSourceId *string `json:"default_payment_source_id,omitempty"`
// An email address is a series of customizable characters followed by a universal Internet symbol, the at symbol (@), the name of a host server, and a web domain ending (.mx, .com, .org, . net, etc).
Email *string `json:"email,omitempty"`
// Client's name
Name *string `json:"name,omitempty"`
// Is the customer's phone number
Phone *string `json:"phone,omitempty"`
// It is a parameter that allows to identify in the response, the Femsa ID of the shipping address (shipping_contact)
DefaultShippingContactId *string `json:"default_shipping_contact_id,omitempty"`
// It is a value that allows identifying if the email is corporate or not.
Corporate *bool `json:"corporate,omitempty"`
// It is an undefined value.
CustomReference *string `json:"custom_reference,omitempty"`
FiscalEntities []CustomerFiscalEntitiesRequest `json:"fiscal_entities,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
// Contains details of the payment methods that the customer has active or has used in Femsa
PaymentSources []CustomerPaymentMethodsRequest `json:"payment_sources,omitempty"`
// Contains the detail of the shipping addresses that the client has active or has used in Femsa
ShippingContacts []CustomerShippingContacts `json:"shipping_contacts,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateCustomer update customer
func NewUpdateCustomer ¶
func NewUpdateCustomer() *UpdateCustomer
NewUpdateCustomer instantiates a new UpdateCustomer 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 NewUpdateCustomerWithDefaults ¶
func NewUpdateCustomerWithDefaults() *UpdateCustomer
NewUpdateCustomerWithDefaults instantiates a new UpdateCustomer 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 (*UpdateCustomer) GetAntifraudInfo ¶
func (o *UpdateCustomer) GetAntifraudInfo() UpdateCustomerAntifraudInfo
GetAntifraudInfo returns the AntifraudInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateCustomer) GetAntifraudInfoOk ¶
func (o *UpdateCustomer) GetAntifraudInfoOk() (*UpdateCustomerAntifraudInfo, bool)
GetAntifraudInfoOk returns a tuple with the AntifraudInfo 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 (*UpdateCustomer) GetCorporate ¶
func (o *UpdateCustomer) GetCorporate() bool
GetCorporate returns the Corporate field value if set, zero value otherwise.
func (*UpdateCustomer) GetCorporateOk ¶
func (o *UpdateCustomer) GetCorporateOk() (*bool, bool)
GetCorporateOk returns a tuple with the Corporate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetCustomReference ¶
func (o *UpdateCustomer) GetCustomReference() string
GetCustomReference returns the CustomReference field value if set, zero value otherwise.
func (*UpdateCustomer) GetCustomReferenceOk ¶
func (o *UpdateCustomer) GetCustomReferenceOk() (*string, bool)
GetCustomReferenceOk returns a tuple with the CustomReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetDefaultPaymentSourceId ¶
func (o *UpdateCustomer) GetDefaultPaymentSourceId() string
GetDefaultPaymentSourceId returns the DefaultPaymentSourceId field value if set, zero value otherwise.
func (*UpdateCustomer) GetDefaultPaymentSourceIdOk ¶
func (o *UpdateCustomer) GetDefaultPaymentSourceIdOk() (*string, bool)
GetDefaultPaymentSourceIdOk returns a tuple with the DefaultPaymentSourceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetDefaultShippingContactId ¶
func (o *UpdateCustomer) GetDefaultShippingContactId() string
GetDefaultShippingContactId returns the DefaultShippingContactId field value if set, zero value otherwise.
func (*UpdateCustomer) GetDefaultShippingContactIdOk ¶
func (o *UpdateCustomer) GetDefaultShippingContactIdOk() (*string, bool)
GetDefaultShippingContactIdOk returns a tuple with the DefaultShippingContactId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetEmail ¶
func (o *UpdateCustomer) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UpdateCustomer) GetEmailOk ¶
func (o *UpdateCustomer) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetFiscalEntities ¶
func (o *UpdateCustomer) GetFiscalEntities() []CustomerFiscalEntitiesRequest
GetFiscalEntities returns the FiscalEntities field value if set, zero value otherwise.
func (*UpdateCustomer) GetFiscalEntitiesOk ¶
func (o *UpdateCustomer) GetFiscalEntitiesOk() ([]CustomerFiscalEntitiesRequest, bool)
GetFiscalEntitiesOk returns a tuple with the FiscalEntities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetMetadata ¶
func (o *UpdateCustomer) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*UpdateCustomer) GetMetadataOk ¶
func (o *UpdateCustomer) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetName ¶
func (o *UpdateCustomer) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateCustomer) GetNameOk ¶
func (o *UpdateCustomer) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetPaymentSources ¶
func (o *UpdateCustomer) GetPaymentSources() []CustomerPaymentMethodsRequest
GetPaymentSources returns the PaymentSources field value if set, zero value otherwise.
func (*UpdateCustomer) GetPaymentSourcesOk ¶
func (o *UpdateCustomer) GetPaymentSourcesOk() ([]CustomerPaymentMethodsRequest, bool)
GetPaymentSourcesOk returns a tuple with the PaymentSources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetPhone ¶
func (o *UpdateCustomer) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*UpdateCustomer) GetPhoneOk ¶
func (o *UpdateCustomer) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetShippingContacts ¶
func (o *UpdateCustomer) GetShippingContacts() []CustomerShippingContacts
GetShippingContacts returns the ShippingContacts field value if set, zero value otherwise.
func (*UpdateCustomer) GetShippingContactsOk ¶
func (o *UpdateCustomer) GetShippingContactsOk() ([]CustomerShippingContacts, bool)
GetShippingContactsOk returns a tuple with the ShippingContacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) HasAntifraudInfo ¶
func (o *UpdateCustomer) HasAntifraudInfo() bool
HasAntifraudInfo returns a boolean if a field has been set.
func (*UpdateCustomer) HasCorporate ¶
func (o *UpdateCustomer) HasCorporate() bool
HasCorporate returns a boolean if a field has been set.
func (*UpdateCustomer) HasCustomReference ¶
func (o *UpdateCustomer) HasCustomReference() bool
HasCustomReference returns a boolean if a field has been set.
func (*UpdateCustomer) HasDefaultPaymentSourceId ¶
func (o *UpdateCustomer) HasDefaultPaymentSourceId() bool
HasDefaultPaymentSourceId returns a boolean if a field has been set.
func (*UpdateCustomer) HasDefaultShippingContactId ¶
func (o *UpdateCustomer) HasDefaultShippingContactId() bool
HasDefaultShippingContactId returns a boolean if a field has been set.
func (*UpdateCustomer) HasEmail ¶
func (o *UpdateCustomer) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UpdateCustomer) HasFiscalEntities ¶
func (o *UpdateCustomer) HasFiscalEntities() bool
HasFiscalEntities returns a boolean if a field has been set.
func (*UpdateCustomer) HasMetadata ¶
func (o *UpdateCustomer) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*UpdateCustomer) HasName ¶
func (o *UpdateCustomer) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateCustomer) HasPaymentSources ¶
func (o *UpdateCustomer) HasPaymentSources() bool
HasPaymentSources returns a boolean if a field has been set.
func (*UpdateCustomer) HasPhone ¶
func (o *UpdateCustomer) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*UpdateCustomer) HasShippingContacts ¶
func (o *UpdateCustomer) HasShippingContacts() bool
HasShippingContacts returns a boolean if a field has been set.
func (UpdateCustomer) MarshalJSON ¶
func (o UpdateCustomer) MarshalJSON() ([]byte, error)
func (*UpdateCustomer) SetAntifraudInfo ¶
func (o *UpdateCustomer) SetAntifraudInfo(v UpdateCustomerAntifraudInfo)
SetAntifraudInfo gets a reference to the given NullableUpdateCustomerAntifraudInfo and assigns it to the AntifraudInfo field.
func (*UpdateCustomer) SetAntifraudInfoNil ¶
func (o *UpdateCustomer) SetAntifraudInfoNil()
SetAntifraudInfoNil sets the value for AntifraudInfo to be an explicit nil
func (*UpdateCustomer) SetCorporate ¶
func (o *UpdateCustomer) SetCorporate(v bool)
SetCorporate gets a reference to the given bool and assigns it to the Corporate field.
func (*UpdateCustomer) SetCustomReference ¶
func (o *UpdateCustomer) SetCustomReference(v string)
SetCustomReference gets a reference to the given string and assigns it to the CustomReference field.
func (*UpdateCustomer) SetDefaultPaymentSourceId ¶
func (o *UpdateCustomer) SetDefaultPaymentSourceId(v string)
SetDefaultPaymentSourceId gets a reference to the given string and assigns it to the DefaultPaymentSourceId field.
func (*UpdateCustomer) SetDefaultShippingContactId ¶
func (o *UpdateCustomer) SetDefaultShippingContactId(v string)
SetDefaultShippingContactId gets a reference to the given string and assigns it to the DefaultShippingContactId field.
func (*UpdateCustomer) SetEmail ¶
func (o *UpdateCustomer) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UpdateCustomer) SetFiscalEntities ¶
func (o *UpdateCustomer) SetFiscalEntities(v []CustomerFiscalEntitiesRequest)
SetFiscalEntities gets a reference to the given []CustomerFiscalEntitiesRequest and assigns it to the FiscalEntities field.
func (*UpdateCustomer) SetMetadata ¶
func (o *UpdateCustomer) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*UpdateCustomer) SetName ¶
func (o *UpdateCustomer) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateCustomer) SetPaymentSources ¶
func (o *UpdateCustomer) SetPaymentSources(v []CustomerPaymentMethodsRequest)
SetPaymentSources gets a reference to the given []CustomerPaymentMethodsRequest and assigns it to the PaymentSources field.
func (*UpdateCustomer) SetPhone ¶
func (o *UpdateCustomer) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*UpdateCustomer) SetShippingContacts ¶
func (o *UpdateCustomer) SetShippingContacts(v []CustomerShippingContacts)
SetShippingContacts gets a reference to the given []CustomerShippingContacts and assigns it to the ShippingContacts field.
func (UpdateCustomer) ToMap ¶
func (o UpdateCustomer) ToMap() (map[string]interface{}, error)
func (*UpdateCustomer) UnmarshalJSON ¶
func (o *UpdateCustomer) UnmarshalJSON(data []byte) (err error)
func (*UpdateCustomer) UnsetAntifraudInfo ¶
func (o *UpdateCustomer) UnsetAntifraudInfo()
UnsetAntifraudInfo ensures that no value is present for AntifraudInfo, not even an explicit nil
type UpdateCustomerAntifraudInfo ¶
type UpdateCustomerAntifraudInfo struct {
AccountCreatedAt *int64 `json:"account_created_at,omitempty"`
FirstPaidAt *int32 `json:"first_paid_at,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateCustomerAntifraudInfo struct for UpdateCustomerAntifraudInfo
func NewUpdateCustomerAntifraudInfo ¶
func NewUpdateCustomerAntifraudInfo() *UpdateCustomerAntifraudInfo
NewUpdateCustomerAntifraudInfo instantiates a new UpdateCustomerAntifraudInfo 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 NewUpdateCustomerAntifraudInfoWithDefaults ¶
func NewUpdateCustomerAntifraudInfoWithDefaults() *UpdateCustomerAntifraudInfo
NewUpdateCustomerAntifraudInfoWithDefaults instantiates a new UpdateCustomerAntifraudInfo 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 (*UpdateCustomerAntifraudInfo) GetAccountCreatedAt ¶
func (o *UpdateCustomerAntifraudInfo) GetAccountCreatedAt() int64
GetAccountCreatedAt returns the AccountCreatedAt field value if set, zero value otherwise.
func (*UpdateCustomerAntifraudInfo) GetAccountCreatedAtOk ¶
func (o *UpdateCustomerAntifraudInfo) GetAccountCreatedAtOk() (*int64, bool)
GetAccountCreatedAtOk returns a tuple with the AccountCreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomerAntifraudInfo) GetFirstPaidAt ¶
func (o *UpdateCustomerAntifraudInfo) GetFirstPaidAt() int32
GetFirstPaidAt returns the FirstPaidAt field value if set, zero value otherwise.
func (*UpdateCustomerAntifraudInfo) GetFirstPaidAtOk ¶
func (o *UpdateCustomerAntifraudInfo) GetFirstPaidAtOk() (*int32, bool)
GetFirstPaidAtOk returns a tuple with the FirstPaidAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomerAntifraudInfo) HasAccountCreatedAt ¶
func (o *UpdateCustomerAntifraudInfo) HasAccountCreatedAt() bool
HasAccountCreatedAt returns a boolean if a field has been set.
func (*UpdateCustomerAntifraudInfo) HasFirstPaidAt ¶
func (o *UpdateCustomerAntifraudInfo) HasFirstPaidAt() bool
HasFirstPaidAt returns a boolean if a field has been set.
func (UpdateCustomerAntifraudInfo) MarshalJSON ¶
func (o UpdateCustomerAntifraudInfo) MarshalJSON() ([]byte, error)
func (*UpdateCustomerAntifraudInfo) SetAccountCreatedAt ¶
func (o *UpdateCustomerAntifraudInfo) SetAccountCreatedAt(v int64)
SetAccountCreatedAt gets a reference to the given int64 and assigns it to the AccountCreatedAt field.
func (*UpdateCustomerAntifraudInfo) SetFirstPaidAt ¶
func (o *UpdateCustomerAntifraudInfo) SetFirstPaidAt(v int32)
SetFirstPaidAt gets a reference to the given int32 and assigns it to the FirstPaidAt field.
func (UpdateCustomerAntifraudInfo) ToMap ¶
func (o UpdateCustomerAntifraudInfo) ToMap() (map[string]interface{}, error)
func (*UpdateCustomerAntifraudInfo) UnmarshalJSON ¶
func (o *UpdateCustomerAntifraudInfo) UnmarshalJSON(data []byte) (err error)
type UpdateCustomerFiscalEntitiesResponse ¶
type UpdateCustomerFiscalEntitiesResponse struct {
Address CustomerAddress `json:"address"`
TaxId *string `json:"tax_id,omitempty"`
Email *string `json:"email,omitempty"`
Phone *string `json:"phone,omitempty"`
Metadata map[string]map[string]interface{} `json:"metadata,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Id string `json:"id"`
Object string `json:"object"`
CreatedAt int64 `json:"created_at"`
ParentId *string `json:"parent_id,omitempty"`
Default *bool `json:"default,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateCustomerFiscalEntitiesResponse struct for UpdateCustomerFiscalEntitiesResponse
func NewUpdateCustomerFiscalEntitiesResponse ¶
func NewUpdateCustomerFiscalEntitiesResponse(address CustomerAddress, id string, object string, createdAt int64) *UpdateCustomerFiscalEntitiesResponse
NewUpdateCustomerFiscalEntitiesResponse instantiates a new UpdateCustomerFiscalEntitiesResponse 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 NewUpdateCustomerFiscalEntitiesResponseWithDefaults ¶
func NewUpdateCustomerFiscalEntitiesResponseWithDefaults() *UpdateCustomerFiscalEntitiesResponse
NewUpdateCustomerFiscalEntitiesResponseWithDefaults instantiates a new UpdateCustomerFiscalEntitiesResponse 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 (*UpdateCustomerFiscalEntitiesResponse) GetAddress ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetAddress() CustomerAddress
GetAddress returns the Address field value
func (*UpdateCustomerFiscalEntitiesResponse) GetAddressOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetAddressOk() (*CustomerAddress, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetCompanyName ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetCompanyName() string
GetCompanyName returns the CompanyName field value if set, zero value otherwise.
func (*UpdateCustomerFiscalEntitiesResponse) GetCompanyNameOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetCompanyNameOk() (*string, bool)
GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetCreatedAt ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*UpdateCustomerFiscalEntitiesResponse) GetCreatedAtOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetDefault ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*UpdateCustomerFiscalEntitiesResponse) GetDefaultOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetEmail ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UpdateCustomerFiscalEntitiesResponse) GetEmailOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetId ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetId() string
GetId returns the Id field value
func (*UpdateCustomerFiscalEntitiesResponse) GetIdOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetMetadata ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetMetadata() map[string]map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*UpdateCustomerFiscalEntitiesResponse) GetMetadataOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetMetadataOk() (map[string]map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetObject ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetObject() string
GetObject returns the Object field value
func (*UpdateCustomerFiscalEntitiesResponse) GetObjectOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetParentId ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*UpdateCustomerFiscalEntitiesResponse) GetParentIdOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetPhone ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*UpdateCustomerFiscalEntitiesResponse) GetPhoneOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) GetTaxId ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetTaxId() string
GetTaxId returns the TaxId field value if set, zero value otherwise.
func (*UpdateCustomerFiscalEntitiesResponse) GetTaxIdOk ¶
func (o *UpdateCustomerFiscalEntitiesResponse) GetTaxIdOk() (*string, bool)
GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomerFiscalEntitiesResponse) HasCompanyName ¶
func (o *UpdateCustomerFiscalEntitiesResponse) HasCompanyName() bool
HasCompanyName returns a boolean if a field has been set.
func (*UpdateCustomerFiscalEntitiesResponse) HasDefault ¶
func (o *UpdateCustomerFiscalEntitiesResponse) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*UpdateCustomerFiscalEntitiesResponse) HasEmail ¶
func (o *UpdateCustomerFiscalEntitiesResponse) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UpdateCustomerFiscalEntitiesResponse) HasMetadata ¶
func (o *UpdateCustomerFiscalEntitiesResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*UpdateCustomerFiscalEntitiesResponse) HasParentId ¶
func (o *UpdateCustomerFiscalEntitiesResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*UpdateCustomerFiscalEntitiesResponse) HasPhone ¶
func (o *UpdateCustomerFiscalEntitiesResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*UpdateCustomerFiscalEntitiesResponse) HasTaxId ¶
func (o *UpdateCustomerFiscalEntitiesResponse) HasTaxId() bool
HasTaxId returns a boolean if a field has been set.
func (UpdateCustomerFiscalEntitiesResponse) MarshalJSON ¶
func (o UpdateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)
func (*UpdateCustomerFiscalEntitiesResponse) SetAddress ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetAddress(v CustomerAddress)
SetAddress sets field value
func (*UpdateCustomerFiscalEntitiesResponse) SetCompanyName ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetCompanyName(v string)
SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.
func (*UpdateCustomerFiscalEntitiesResponse) SetCreatedAt ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*UpdateCustomerFiscalEntitiesResponse) SetDefault ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*UpdateCustomerFiscalEntitiesResponse) SetEmail ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UpdateCustomerFiscalEntitiesResponse) SetId ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetId(v string)
SetId sets field value
func (*UpdateCustomerFiscalEntitiesResponse) SetMetadata ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetMetadata(v map[string]map[string]interface{})
SetMetadata gets a reference to the given map[string]map[string]interface{} and assigns it to the Metadata field.
func (*UpdateCustomerFiscalEntitiesResponse) SetObject ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetObject(v string)
SetObject sets field value
func (*UpdateCustomerFiscalEntitiesResponse) SetParentId ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*UpdateCustomerFiscalEntitiesResponse) SetPhone ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*UpdateCustomerFiscalEntitiesResponse) SetTaxId ¶
func (o *UpdateCustomerFiscalEntitiesResponse) SetTaxId(v string)
SetTaxId gets a reference to the given string and assigns it to the TaxId field.
func (UpdateCustomerFiscalEntitiesResponse) ToMap ¶
func (o UpdateCustomerFiscalEntitiesResponse) ToMap() (map[string]interface{}, error)
func (*UpdateCustomerFiscalEntitiesResponse) UnmarshalJSON ¶
func (o *UpdateCustomerFiscalEntitiesResponse) UnmarshalJSON(data []byte) (err error)
type UpdateCustomerPaymentMethodsResponse ¶
type UpdateCustomerPaymentMethodsResponse struct {
PaymentMethodCashResponse *PaymentMethodCashResponse
}
UpdateCustomerPaymentMethodsResponse - struct for UpdateCustomerPaymentMethodsResponse
func PaymentMethodCashResponseAsUpdateCustomerPaymentMethodsResponse ¶
func PaymentMethodCashResponseAsUpdateCustomerPaymentMethodsResponse(v *PaymentMethodCashResponse) UpdateCustomerPaymentMethodsResponse
PaymentMethodCashResponseAsUpdateCustomerPaymentMethodsResponse is a convenience function that returns PaymentMethodCashResponse wrapped in UpdateCustomerPaymentMethodsResponse
func (*UpdateCustomerPaymentMethodsResponse) GetActualInstance ¶
func (obj *UpdateCustomerPaymentMethodsResponse) GetActualInstance() interface{}
Get the actual instance
func (UpdateCustomerPaymentMethodsResponse) MarshalJSON ¶
func (src UpdateCustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*UpdateCustomerPaymentMethodsResponse) UnmarshalJSON ¶
func (dst *UpdateCustomerPaymentMethodsResponse) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type UpdateOrderDiscountLinesRequest ¶
type UpdateOrderDiscountLinesRequest struct {
Amount *int64 `json:"amount,omitempty"`
// Discount code.
Code *string `json:"code,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateOrderDiscountLinesRequest List of discounts that apply to the order.
func NewUpdateOrderDiscountLinesRequest ¶
func NewUpdateOrderDiscountLinesRequest() *UpdateOrderDiscountLinesRequest
NewUpdateOrderDiscountLinesRequest instantiates a new UpdateOrderDiscountLinesRequest 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 NewUpdateOrderDiscountLinesRequestWithDefaults ¶
func NewUpdateOrderDiscountLinesRequestWithDefaults() *UpdateOrderDiscountLinesRequest
NewUpdateOrderDiscountLinesRequestWithDefaults instantiates a new UpdateOrderDiscountLinesRequest 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 (*UpdateOrderDiscountLinesRequest) GetAmount ¶
func (o *UpdateOrderDiscountLinesRequest) GetAmount() int64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*UpdateOrderDiscountLinesRequest) GetAmountOk ¶
func (o *UpdateOrderDiscountLinesRequest) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOrderDiscountLinesRequest) GetCode ¶
func (o *UpdateOrderDiscountLinesRequest) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*UpdateOrderDiscountLinesRequest) GetCodeOk ¶
func (o *UpdateOrderDiscountLinesRequest) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOrderDiscountLinesRequest) GetType ¶
func (o *UpdateOrderDiscountLinesRequest) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*UpdateOrderDiscountLinesRequest) GetTypeOk ¶
func (o *UpdateOrderDiscountLinesRequest) 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 (*UpdateOrderDiscountLinesRequest) HasAmount ¶
func (o *UpdateOrderDiscountLinesRequest) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*UpdateOrderDiscountLinesRequest) HasCode ¶
func (o *UpdateOrderDiscountLinesRequest) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*UpdateOrderDiscountLinesRequest) HasType ¶
func (o *UpdateOrderDiscountLinesRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (UpdateOrderDiscountLinesRequest) MarshalJSON ¶
func (o UpdateOrderDiscountLinesRequest) MarshalJSON() ([]byte, error)
func (*UpdateOrderDiscountLinesRequest) SetAmount ¶
func (o *UpdateOrderDiscountLinesRequest) SetAmount(v int64)
SetAmount gets a reference to the given int64 and assigns it to the Amount field.
func (*UpdateOrderDiscountLinesRequest) SetCode ¶
func (o *UpdateOrderDiscountLinesRequest) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*UpdateOrderDiscountLinesRequest) SetType ¶
func (o *UpdateOrderDiscountLinesRequest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (UpdateOrderDiscountLinesRequest) ToMap ¶
func (o UpdateOrderDiscountLinesRequest) ToMap() (map[string]interface{}, error)
func (*UpdateOrderDiscountLinesRequest) UnmarshalJSON ¶
func (o *UpdateOrderDiscountLinesRequest) UnmarshalJSON(data []byte) (err error)
type UpdateOrderTaxRequest ¶
type UpdateOrderTaxRequest struct {
// The amount to be collected for tax in cents
Amount *int64 `json:"amount,omitempty"`
// description or tax's name
Description *string `json:"description,omitempty"`
Metadata map[string]map[string]interface{} `json:"metadata,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateOrderTaxRequest create new taxes for an existing order
func NewUpdateOrderTaxRequest ¶
func NewUpdateOrderTaxRequest() *UpdateOrderTaxRequest
NewUpdateOrderTaxRequest instantiates a new UpdateOrderTaxRequest 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 NewUpdateOrderTaxRequestWithDefaults ¶
func NewUpdateOrderTaxRequestWithDefaults() *UpdateOrderTaxRequest
NewUpdateOrderTaxRequestWithDefaults instantiates a new UpdateOrderTaxRequest 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 (*UpdateOrderTaxRequest) GetAmount ¶
func (o *UpdateOrderTaxRequest) GetAmount() int64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*UpdateOrderTaxRequest) GetAmountOk ¶
func (o *UpdateOrderTaxRequest) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOrderTaxRequest) GetDescription ¶
func (o *UpdateOrderTaxRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateOrderTaxRequest) GetDescriptionOk ¶
func (o *UpdateOrderTaxRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOrderTaxRequest) GetMetadata ¶
func (o *UpdateOrderTaxRequest) GetMetadata() map[string]map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*UpdateOrderTaxRequest) GetMetadataOk ¶
func (o *UpdateOrderTaxRequest) GetMetadataOk() (map[string]map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOrderTaxRequest) HasAmount ¶
func (o *UpdateOrderTaxRequest) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*UpdateOrderTaxRequest) HasDescription ¶
func (o *UpdateOrderTaxRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateOrderTaxRequest) HasMetadata ¶
func (o *UpdateOrderTaxRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (UpdateOrderTaxRequest) MarshalJSON ¶
func (o UpdateOrderTaxRequest) MarshalJSON() ([]byte, error)
func (*UpdateOrderTaxRequest) SetAmount ¶
func (o *UpdateOrderTaxRequest) SetAmount(v int64)
SetAmount gets a reference to the given int64 and assigns it to the Amount field.
func (*UpdateOrderTaxRequest) SetDescription ¶
func (o *UpdateOrderTaxRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateOrderTaxRequest) SetMetadata ¶
func (o *UpdateOrderTaxRequest) SetMetadata(v map[string]map[string]interface{})
SetMetadata gets a reference to the given map[string]map[string]interface{} and assigns it to the Metadata field.
func (UpdateOrderTaxRequest) ToMap ¶
func (o UpdateOrderTaxRequest) ToMap() (map[string]interface{}, error)
func (*UpdateOrderTaxRequest) UnmarshalJSON ¶
func (o *UpdateOrderTaxRequest) UnmarshalJSON(data []byte) (err error)
type UpdateOrderTaxResponse ¶
type UpdateOrderTaxResponse struct {
// The amount to be collected for tax in cents
Amount int64 `json:"amount"`
// description or tax's name
Description string `json:"description"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Id string `json:"id"`
Object *string `json:"object,omitempty"`
ParentId *string `json:"parent_id,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateOrderTaxResponse create new taxes for an existing order response
func NewUpdateOrderTaxResponse ¶
func NewUpdateOrderTaxResponse(amount int64, description string, id string) *UpdateOrderTaxResponse
NewUpdateOrderTaxResponse instantiates a new UpdateOrderTaxResponse 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 NewUpdateOrderTaxResponseWithDefaults ¶
func NewUpdateOrderTaxResponseWithDefaults() *UpdateOrderTaxResponse
NewUpdateOrderTaxResponseWithDefaults instantiates a new UpdateOrderTaxResponse 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 (*UpdateOrderTaxResponse) GetAmount ¶
func (o *UpdateOrderTaxResponse) GetAmount() int64
GetAmount returns the Amount field value
func (*UpdateOrderTaxResponse) GetAmountOk ¶
func (o *UpdateOrderTaxResponse) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*UpdateOrderTaxResponse) GetDescription ¶
func (o *UpdateOrderTaxResponse) GetDescription() string
GetDescription returns the Description field value
func (*UpdateOrderTaxResponse) GetDescriptionOk ¶
func (o *UpdateOrderTaxResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*UpdateOrderTaxResponse) GetId ¶
func (o *UpdateOrderTaxResponse) GetId() string
GetId returns the Id field value
func (*UpdateOrderTaxResponse) GetIdOk ¶
func (o *UpdateOrderTaxResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UpdateOrderTaxResponse) GetMetadata ¶
func (o *UpdateOrderTaxResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*UpdateOrderTaxResponse) GetMetadataOk ¶
func (o *UpdateOrderTaxResponse) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOrderTaxResponse) GetObject ¶
func (o *UpdateOrderTaxResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*UpdateOrderTaxResponse) GetObjectOk ¶
func (o *UpdateOrderTaxResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOrderTaxResponse) GetParentId ¶
func (o *UpdateOrderTaxResponse) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*UpdateOrderTaxResponse) GetParentIdOk ¶
func (o *UpdateOrderTaxResponse) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateOrderTaxResponse) HasMetadata ¶
func (o *UpdateOrderTaxResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*UpdateOrderTaxResponse) HasObject ¶
func (o *UpdateOrderTaxResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*UpdateOrderTaxResponse) HasParentId ¶
func (o *UpdateOrderTaxResponse) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (UpdateOrderTaxResponse) MarshalJSON ¶
func (o UpdateOrderTaxResponse) MarshalJSON() ([]byte, error)
func (*UpdateOrderTaxResponse) SetAmount ¶
func (o *UpdateOrderTaxResponse) SetAmount(v int64)
SetAmount sets field value
func (*UpdateOrderTaxResponse) SetDescription ¶
func (o *UpdateOrderTaxResponse) SetDescription(v string)
SetDescription sets field value
func (*UpdateOrderTaxResponse) SetId ¶
func (o *UpdateOrderTaxResponse) SetId(v string)
SetId sets field value
func (*UpdateOrderTaxResponse) SetMetadata ¶
func (o *UpdateOrderTaxResponse) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*UpdateOrderTaxResponse) SetObject ¶
func (o *UpdateOrderTaxResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*UpdateOrderTaxResponse) SetParentId ¶
func (o *UpdateOrderTaxResponse) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (UpdateOrderTaxResponse) ToMap ¶
func (o UpdateOrderTaxResponse) ToMap() (map[string]interface{}, error)
func (*UpdateOrderTaxResponse) UnmarshalJSON ¶
func (o *UpdateOrderTaxResponse) UnmarshalJSON(data []byte) (err error)
type UpdatePaymentMethods ¶
type UpdatePaymentMethods struct {
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdatePaymentMethods struct for UpdatePaymentMethods
func NewUpdatePaymentMethods ¶
func NewUpdatePaymentMethods() *UpdatePaymentMethods
NewUpdatePaymentMethods instantiates a new UpdatePaymentMethods 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 NewUpdatePaymentMethodsWithDefaults ¶
func NewUpdatePaymentMethodsWithDefaults() *UpdatePaymentMethods
NewUpdatePaymentMethodsWithDefaults instantiates a new UpdatePaymentMethods 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 (*UpdatePaymentMethods) GetName ¶
func (o *UpdatePaymentMethods) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdatePaymentMethods) GetNameOk ¶
func (o *UpdatePaymentMethods) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePaymentMethods) HasName ¶
func (o *UpdatePaymentMethods) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdatePaymentMethods) MarshalJSON ¶
func (o UpdatePaymentMethods) MarshalJSON() ([]byte, error)
func (*UpdatePaymentMethods) SetName ¶
func (o *UpdatePaymentMethods) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (UpdatePaymentMethods) ToMap ¶
func (o UpdatePaymentMethods) ToMap() (map[string]interface{}, error)
func (*UpdatePaymentMethods) UnmarshalJSON ¶
func (o *UpdatePaymentMethods) UnmarshalJSON(data []byte) (err error)
type UpdateProduct ¶
type UpdateProduct struct {
AntifraudInfo map[string]map[string]interface{} `json:"antifraud_info,omitempty"`
Description *string `json:"description,omitempty"`
Sku *string `json:"sku,omitempty"`
Name *string `json:"name,omitempty"`
UnitPrice *int64 `json:"unit_price,omitempty"`
Quantity *int32 `json:"quantity,omitempty"`
Tags []string `json:"tags,omitempty"`
Brand *string `json:"brand,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateProduct struct for UpdateProduct
func NewUpdateProduct ¶
func NewUpdateProduct() *UpdateProduct
NewUpdateProduct instantiates a new UpdateProduct 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 NewUpdateProductWithDefaults ¶
func NewUpdateProductWithDefaults() *UpdateProduct
NewUpdateProductWithDefaults instantiates a new UpdateProduct 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 (*UpdateProduct) GetAntifraudInfo ¶
func (o *UpdateProduct) GetAntifraudInfo() map[string]map[string]interface{}
GetAntifraudInfo returns the AntifraudInfo field value if set, zero value otherwise.
func (*UpdateProduct) GetAntifraudInfoOk ¶
func (o *UpdateProduct) GetAntifraudInfoOk() (map[string]map[string]interface{}, bool)
GetAntifraudInfoOk returns a tuple with the AntifraudInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) GetBrand ¶
func (o *UpdateProduct) GetBrand() string
GetBrand returns the Brand field value if set, zero value otherwise.
func (*UpdateProduct) GetBrandOk ¶
func (o *UpdateProduct) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) GetDescription ¶
func (o *UpdateProduct) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateProduct) GetDescriptionOk ¶
func (o *UpdateProduct) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) GetMetadata ¶
func (o *UpdateProduct) GetMetadata() map[string]string
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*UpdateProduct) GetMetadataOk ¶
func (o *UpdateProduct) GetMetadataOk() (*map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) GetName ¶
func (o *UpdateProduct) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateProduct) GetNameOk ¶
func (o *UpdateProduct) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) GetQuantity ¶
func (o *UpdateProduct) GetQuantity() int32
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*UpdateProduct) GetQuantityOk ¶
func (o *UpdateProduct) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) GetSku ¶
func (o *UpdateProduct) GetSku() string
GetSku returns the Sku field value if set, zero value otherwise.
func (*UpdateProduct) GetSkuOk ¶
func (o *UpdateProduct) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) GetTags ¶
func (o *UpdateProduct) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*UpdateProduct) GetTagsOk ¶
func (o *UpdateProduct) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) GetUnitPrice ¶
func (o *UpdateProduct) GetUnitPrice() int64
GetUnitPrice returns the UnitPrice field value if set, zero value otherwise.
func (*UpdateProduct) GetUnitPriceOk ¶
func (o *UpdateProduct) GetUnitPriceOk() (*int64, bool)
GetUnitPriceOk returns a tuple with the UnitPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) HasAntifraudInfo ¶
func (o *UpdateProduct) HasAntifraudInfo() bool
HasAntifraudInfo returns a boolean if a field has been set.
func (*UpdateProduct) HasBrand ¶
func (o *UpdateProduct) HasBrand() bool
HasBrand returns a boolean if a field has been set.
func (*UpdateProduct) HasDescription ¶
func (o *UpdateProduct) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateProduct) HasMetadata ¶
func (o *UpdateProduct) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*UpdateProduct) HasName ¶
func (o *UpdateProduct) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateProduct) HasQuantity ¶
func (o *UpdateProduct) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*UpdateProduct) HasSku ¶
func (o *UpdateProduct) HasSku() bool
HasSku returns a boolean if a field has been set.
func (*UpdateProduct) HasTags ¶
func (o *UpdateProduct) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*UpdateProduct) HasUnitPrice ¶
func (o *UpdateProduct) HasUnitPrice() bool
HasUnitPrice returns a boolean if a field has been set.
func (UpdateProduct) MarshalJSON ¶
func (o UpdateProduct) MarshalJSON() ([]byte, error)
func (*UpdateProduct) SetAntifraudInfo ¶
func (o *UpdateProduct) SetAntifraudInfo(v map[string]map[string]interface{})
SetAntifraudInfo gets a reference to the given map[string]map[string]interface{} and assigns it to the AntifraudInfo field.
func (*UpdateProduct) SetBrand ¶
func (o *UpdateProduct) SetBrand(v string)
SetBrand gets a reference to the given string and assigns it to the Brand field.
func (*UpdateProduct) SetDescription ¶
func (o *UpdateProduct) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateProduct) SetMetadata ¶
func (o *UpdateProduct) SetMetadata(v map[string]string)
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (*UpdateProduct) SetName ¶
func (o *UpdateProduct) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateProduct) SetQuantity ¶
func (o *UpdateProduct) SetQuantity(v int32)
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.
func (*UpdateProduct) SetSku ¶
func (o *UpdateProduct) SetSku(v string)
SetSku gets a reference to the given string and assigns it to the Sku field.
func (*UpdateProduct) SetTags ¶
func (o *UpdateProduct) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*UpdateProduct) SetUnitPrice ¶
func (o *UpdateProduct) SetUnitPrice(v int64)
SetUnitPrice gets a reference to the given int64 and assigns it to the UnitPrice field.
func (UpdateProduct) ToMap ¶
func (o UpdateProduct) ToMap() (map[string]interface{}, error)
func (*UpdateProduct) UnmarshalJSON ¶
func (o *UpdateProduct) UnmarshalJSON(data []byte) (err error)
type WebhookKeyCreateResponse ¶
type WebhookKeyCreateResponse struct {
// Indicates if the webhook key is active
Active *bool `json:"active,omitempty"`
// Unix timestamp in seconds with the creation date of the webhook key
CreatedAt *int64 `json:"created_at,omitempty"`
// Unique identifier of the webhook key
Id *string `json:"id,omitempty"`
// Indicates if the webhook key is in live mode
Livemode *bool `json:"livemode,omitempty"`
// Object name, value is webhook_key
Object *string `json:"object,omitempty"`
// Public key to be used in the webhook
PublicKey *string `json:"public_key,omitempty"`
AdditionalProperties map[string]interface{}
}
WebhookKeyCreateResponse webhook keys model
func NewWebhookKeyCreateResponse ¶
func NewWebhookKeyCreateResponse() *WebhookKeyCreateResponse
NewWebhookKeyCreateResponse instantiates a new WebhookKeyCreateResponse 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 NewWebhookKeyCreateResponseWithDefaults ¶
func NewWebhookKeyCreateResponseWithDefaults() *WebhookKeyCreateResponse
NewWebhookKeyCreateResponseWithDefaults instantiates a new WebhookKeyCreateResponse 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 (*WebhookKeyCreateResponse) GetActive ¶
func (o *WebhookKeyCreateResponse) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*WebhookKeyCreateResponse) GetActiveOk ¶
func (o *WebhookKeyCreateResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyCreateResponse) GetCreatedAt ¶
func (o *WebhookKeyCreateResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*WebhookKeyCreateResponse) GetCreatedAtOk ¶
func (o *WebhookKeyCreateResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyCreateResponse) GetId ¶
func (o *WebhookKeyCreateResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*WebhookKeyCreateResponse) GetIdOk ¶
func (o *WebhookKeyCreateResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyCreateResponse) GetLivemode ¶
func (o *WebhookKeyCreateResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*WebhookKeyCreateResponse) GetLivemodeOk ¶
func (o *WebhookKeyCreateResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyCreateResponse) GetObject ¶
func (o *WebhookKeyCreateResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*WebhookKeyCreateResponse) GetObjectOk ¶
func (o *WebhookKeyCreateResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyCreateResponse) GetPublicKey ¶
func (o *WebhookKeyCreateResponse) GetPublicKey() string
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*WebhookKeyCreateResponse) GetPublicKeyOk ¶
func (o *WebhookKeyCreateResponse) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyCreateResponse) HasActive ¶
func (o *WebhookKeyCreateResponse) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*WebhookKeyCreateResponse) HasCreatedAt ¶
func (o *WebhookKeyCreateResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*WebhookKeyCreateResponse) HasId ¶
func (o *WebhookKeyCreateResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*WebhookKeyCreateResponse) HasLivemode ¶
func (o *WebhookKeyCreateResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*WebhookKeyCreateResponse) HasObject ¶
func (o *WebhookKeyCreateResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*WebhookKeyCreateResponse) HasPublicKey ¶
func (o *WebhookKeyCreateResponse) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (WebhookKeyCreateResponse) MarshalJSON ¶
func (o WebhookKeyCreateResponse) MarshalJSON() ([]byte, error)
func (*WebhookKeyCreateResponse) SetActive ¶
func (o *WebhookKeyCreateResponse) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*WebhookKeyCreateResponse) SetCreatedAt ¶
func (o *WebhookKeyCreateResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*WebhookKeyCreateResponse) SetId ¶
func (o *WebhookKeyCreateResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*WebhookKeyCreateResponse) SetLivemode ¶
func (o *WebhookKeyCreateResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*WebhookKeyCreateResponse) SetObject ¶
func (o *WebhookKeyCreateResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*WebhookKeyCreateResponse) SetPublicKey ¶
func (o *WebhookKeyCreateResponse) SetPublicKey(v string)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (WebhookKeyCreateResponse) ToMap ¶
func (o WebhookKeyCreateResponse) ToMap() (map[string]interface{}, error)
func (*WebhookKeyCreateResponse) UnmarshalJSON ¶
func (o *WebhookKeyCreateResponse) UnmarshalJSON(data []byte) (err error)
type WebhookKeyDeleteResponse ¶
type WebhookKeyDeleteResponse struct {
// Indicates if the webhook key is active
Active *bool `json:"active,omitempty"`
// Unix timestamp in seconds with the creation date of the webhook key
CreatedAt *int64 `json:"created_at,omitempty"`
// Indicates if the webhook key is deleted
Deleted *bool `json:"deleted,omitempty"`
// Unique identifier of the webhook key
Id *string `json:"id,omitempty"`
// Indicates if the webhook key is in live mode
Livemode *bool `json:"livemode,omitempty"`
// Object name, value is webhook_key
Object *string `json:"object,omitempty"`
AdditionalProperties map[string]interface{}
}
WebhookKeyDeleteResponse webhook keys model
func NewWebhookKeyDeleteResponse ¶
func NewWebhookKeyDeleteResponse() *WebhookKeyDeleteResponse
NewWebhookKeyDeleteResponse instantiates a new WebhookKeyDeleteResponse 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 NewWebhookKeyDeleteResponseWithDefaults ¶
func NewWebhookKeyDeleteResponseWithDefaults() *WebhookKeyDeleteResponse
NewWebhookKeyDeleteResponseWithDefaults instantiates a new WebhookKeyDeleteResponse 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 (*WebhookKeyDeleteResponse) GetActive ¶
func (o *WebhookKeyDeleteResponse) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*WebhookKeyDeleteResponse) GetActiveOk ¶
func (o *WebhookKeyDeleteResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyDeleteResponse) GetCreatedAt ¶
func (o *WebhookKeyDeleteResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*WebhookKeyDeleteResponse) GetCreatedAtOk ¶
func (o *WebhookKeyDeleteResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyDeleteResponse) GetDeleted ¶
func (o *WebhookKeyDeleteResponse) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*WebhookKeyDeleteResponse) GetDeletedOk ¶
func (o *WebhookKeyDeleteResponse) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyDeleteResponse) GetId ¶
func (o *WebhookKeyDeleteResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*WebhookKeyDeleteResponse) GetIdOk ¶
func (o *WebhookKeyDeleteResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyDeleteResponse) GetLivemode ¶
func (o *WebhookKeyDeleteResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*WebhookKeyDeleteResponse) GetLivemodeOk ¶
func (o *WebhookKeyDeleteResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyDeleteResponse) GetObject ¶
func (o *WebhookKeyDeleteResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*WebhookKeyDeleteResponse) GetObjectOk ¶
func (o *WebhookKeyDeleteResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyDeleteResponse) HasActive ¶
func (o *WebhookKeyDeleteResponse) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*WebhookKeyDeleteResponse) HasCreatedAt ¶
func (o *WebhookKeyDeleteResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*WebhookKeyDeleteResponse) HasDeleted ¶
func (o *WebhookKeyDeleteResponse) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*WebhookKeyDeleteResponse) HasId ¶
func (o *WebhookKeyDeleteResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*WebhookKeyDeleteResponse) HasLivemode ¶
func (o *WebhookKeyDeleteResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*WebhookKeyDeleteResponse) HasObject ¶
func (o *WebhookKeyDeleteResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (WebhookKeyDeleteResponse) MarshalJSON ¶
func (o WebhookKeyDeleteResponse) MarshalJSON() ([]byte, error)
func (*WebhookKeyDeleteResponse) SetActive ¶
func (o *WebhookKeyDeleteResponse) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*WebhookKeyDeleteResponse) SetCreatedAt ¶
func (o *WebhookKeyDeleteResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*WebhookKeyDeleteResponse) SetDeleted ¶
func (o *WebhookKeyDeleteResponse) SetDeleted(v bool)
SetDeleted gets a reference to the given bool and assigns it to the Deleted field.
func (*WebhookKeyDeleteResponse) SetId ¶
func (o *WebhookKeyDeleteResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*WebhookKeyDeleteResponse) SetLivemode ¶
func (o *WebhookKeyDeleteResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*WebhookKeyDeleteResponse) SetObject ¶
func (o *WebhookKeyDeleteResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (WebhookKeyDeleteResponse) ToMap ¶
func (o WebhookKeyDeleteResponse) ToMap() (map[string]interface{}, error)
func (*WebhookKeyDeleteResponse) UnmarshalJSON ¶
func (o *WebhookKeyDeleteResponse) UnmarshalJSON(data []byte) (err error)
type WebhookKeyRequest ¶
type WebhookKeyRequest struct {
// Indicates if the webhook key is active
Active *bool `json:"active,omitempty"`
AdditionalProperties map[string]interface{}
}
WebhookKeyRequest struct for WebhookKeyRequest
func NewWebhookKeyRequest ¶
func NewWebhookKeyRequest() *WebhookKeyRequest
NewWebhookKeyRequest instantiates a new WebhookKeyRequest 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 NewWebhookKeyRequestWithDefaults ¶
func NewWebhookKeyRequestWithDefaults() *WebhookKeyRequest
NewWebhookKeyRequestWithDefaults instantiates a new WebhookKeyRequest 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 (*WebhookKeyRequest) GetActive ¶
func (o *WebhookKeyRequest) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*WebhookKeyRequest) GetActiveOk ¶
func (o *WebhookKeyRequest) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyRequest) HasActive ¶
func (o *WebhookKeyRequest) HasActive() bool
HasActive returns a boolean if a field has been set.
func (WebhookKeyRequest) MarshalJSON ¶
func (o WebhookKeyRequest) MarshalJSON() ([]byte, error)
func (*WebhookKeyRequest) SetActive ¶
func (o *WebhookKeyRequest) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (WebhookKeyRequest) ToMap ¶
func (o WebhookKeyRequest) ToMap() (map[string]interface{}, error)
func (*WebhookKeyRequest) UnmarshalJSON ¶
func (o *WebhookKeyRequest) UnmarshalJSON(data []byte) (err error)
type WebhookKeyResponse ¶
type WebhookKeyResponse struct {
// Unique identifier of the webhook key
Id *string `json:"id,omitempty"`
// Indicates if the webhook key is active
Active *bool `json:"active,omitempty"`
// Unix timestamp in seconds with the creation date of the webhook key
CreatedAt *int64 `json:"created_at,omitempty"`
// Unix timestamp in seconds with the deactivation date of the webhook key
DeactivatedAt NullableInt64 `json:"deactivated_at,omitempty"`
// Public key to be used in the webhook
PublicKey *string `json:"public_key,omitempty"`
// Indicates if the webhook key is in live mode
Livemode *bool `json:"livemode,omitempty"`
// Object name, value is webhook_key
Object *string `json:"object,omitempty"`
AdditionalProperties map[string]interface{}
}
WebhookKeyResponse webhook keys model
func NewWebhookKeyResponse ¶
func NewWebhookKeyResponse() *WebhookKeyResponse
NewWebhookKeyResponse instantiates a new WebhookKeyResponse 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 NewWebhookKeyResponseWithDefaults ¶
func NewWebhookKeyResponseWithDefaults() *WebhookKeyResponse
NewWebhookKeyResponseWithDefaults instantiates a new WebhookKeyResponse 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 (*WebhookKeyResponse) GetActive ¶
func (o *WebhookKeyResponse) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*WebhookKeyResponse) GetActiveOk ¶
func (o *WebhookKeyResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyResponse) GetCreatedAt ¶
func (o *WebhookKeyResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*WebhookKeyResponse) GetCreatedAtOk ¶
func (o *WebhookKeyResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyResponse) GetDeactivatedAt ¶
func (o *WebhookKeyResponse) GetDeactivatedAt() int64
GetDeactivatedAt returns the DeactivatedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WebhookKeyResponse) GetDeactivatedAtOk ¶
func (o *WebhookKeyResponse) GetDeactivatedAtOk() (*int64, bool)
GetDeactivatedAtOk returns a tuple with the DeactivatedAt 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 (*WebhookKeyResponse) GetId ¶
func (o *WebhookKeyResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*WebhookKeyResponse) GetIdOk ¶
func (o *WebhookKeyResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyResponse) GetLivemode ¶
func (o *WebhookKeyResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*WebhookKeyResponse) GetLivemodeOk ¶
func (o *WebhookKeyResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyResponse) GetObject ¶
func (o *WebhookKeyResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*WebhookKeyResponse) GetObjectOk ¶
func (o *WebhookKeyResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyResponse) GetPublicKey ¶
func (o *WebhookKeyResponse) GetPublicKey() string
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*WebhookKeyResponse) GetPublicKeyOk ¶
func (o *WebhookKeyResponse) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyResponse) HasActive ¶
func (o *WebhookKeyResponse) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*WebhookKeyResponse) HasCreatedAt ¶
func (o *WebhookKeyResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*WebhookKeyResponse) HasDeactivatedAt ¶
func (o *WebhookKeyResponse) HasDeactivatedAt() bool
HasDeactivatedAt returns a boolean if a field has been set.
func (*WebhookKeyResponse) HasId ¶
func (o *WebhookKeyResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*WebhookKeyResponse) HasLivemode ¶
func (o *WebhookKeyResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*WebhookKeyResponse) HasObject ¶
func (o *WebhookKeyResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*WebhookKeyResponse) HasPublicKey ¶
func (o *WebhookKeyResponse) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (WebhookKeyResponse) MarshalJSON ¶
func (o WebhookKeyResponse) MarshalJSON() ([]byte, error)
func (*WebhookKeyResponse) SetActive ¶
func (o *WebhookKeyResponse) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*WebhookKeyResponse) SetCreatedAt ¶
func (o *WebhookKeyResponse) SetCreatedAt(v int64)
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*WebhookKeyResponse) SetDeactivatedAt ¶
func (o *WebhookKeyResponse) SetDeactivatedAt(v int64)
SetDeactivatedAt gets a reference to the given NullableInt64 and assigns it to the DeactivatedAt field.
func (*WebhookKeyResponse) SetDeactivatedAtNil ¶
func (o *WebhookKeyResponse) SetDeactivatedAtNil()
SetDeactivatedAtNil sets the value for DeactivatedAt to be an explicit nil
func (*WebhookKeyResponse) SetId ¶
func (o *WebhookKeyResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*WebhookKeyResponse) SetLivemode ¶
func (o *WebhookKeyResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*WebhookKeyResponse) SetObject ¶
func (o *WebhookKeyResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*WebhookKeyResponse) SetPublicKey ¶
func (o *WebhookKeyResponse) SetPublicKey(v string)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (WebhookKeyResponse) ToMap ¶
func (o WebhookKeyResponse) ToMap() (map[string]interface{}, error)
func (*WebhookKeyResponse) UnmarshalJSON ¶
func (o *WebhookKeyResponse) UnmarshalJSON(data []byte) (err error)
func (*WebhookKeyResponse) UnsetDeactivatedAt ¶
func (o *WebhookKeyResponse) UnsetDeactivatedAt()
UnsetDeactivatedAt ensures that no value is present for DeactivatedAt, not even an explicit nil
type WebhookKeyUpdateRequest ¶
type WebhookKeyUpdateRequest struct {
// Indicates if the webhook key is active
Active *bool `json:"active,omitempty"`
AdditionalProperties map[string]interface{}
}
WebhookKeyUpdateRequest struct for WebhookKeyUpdateRequest
func NewWebhookKeyUpdateRequest ¶
func NewWebhookKeyUpdateRequest() *WebhookKeyUpdateRequest
NewWebhookKeyUpdateRequest instantiates a new WebhookKeyUpdateRequest 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 NewWebhookKeyUpdateRequestWithDefaults ¶
func NewWebhookKeyUpdateRequestWithDefaults() *WebhookKeyUpdateRequest
NewWebhookKeyUpdateRequestWithDefaults instantiates a new WebhookKeyUpdateRequest 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 (*WebhookKeyUpdateRequest) GetActive ¶
func (o *WebhookKeyUpdateRequest) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*WebhookKeyUpdateRequest) GetActiveOk ¶
func (o *WebhookKeyUpdateRequest) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookKeyUpdateRequest) HasActive ¶
func (o *WebhookKeyUpdateRequest) HasActive() bool
HasActive returns a boolean if a field has been set.
func (WebhookKeyUpdateRequest) MarshalJSON ¶
func (o WebhookKeyUpdateRequest) MarshalJSON() ([]byte, error)
func (*WebhookKeyUpdateRequest) SetActive ¶
func (o *WebhookKeyUpdateRequest) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (WebhookKeyUpdateRequest) ToMap ¶
func (o WebhookKeyUpdateRequest) ToMap() (map[string]interface{}, error)
func (*WebhookKeyUpdateRequest) UnmarshalJSON ¶
func (o *WebhookKeyUpdateRequest) UnmarshalJSON(data []byte) (err error)
type WebhookKeysAPI ¶
type WebhookKeysAPI interface {
/*
CreateWebhookKey Create Webhook Key
Create a webhook key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateWebhookKeyRequest
*/
CreateWebhookKey(ctx context.Context) ApiCreateWebhookKeyRequest
// CreateWebhookKeyExecute executes the request
// @return WebhookKeyCreateResponse
CreateWebhookKeyExecute(r ApiCreateWebhookKeyRequest) (*WebhookKeyCreateResponse, *http.Response, error)
/*
DeleteWebhookKey Delete Webhook key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiDeleteWebhookKeyRequest
*/
DeleteWebhookKey(ctx context.Context, id string) ApiDeleteWebhookKeyRequest
// DeleteWebhookKeyExecute executes the request
// @return WebhookKeyDeleteResponse
DeleteWebhookKeyExecute(r ApiDeleteWebhookKeyRequest) (*WebhookKeyDeleteResponse, *http.Response, error)
/*
GetWebhookKey Get Webhook Key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetWebhookKeyRequest
*/
GetWebhookKey(ctx context.Context, id string) ApiGetWebhookKeyRequest
// GetWebhookKeyExecute executes the request
// @return WebhookKeyResponse
GetWebhookKeyExecute(r ApiGetWebhookKeyRequest) (*WebhookKeyResponse, *http.Response, error)
/*
GetWebhookKeys Get List of Webhook Keys
Consume the list of webhook keys you have
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetWebhookKeysRequest
*/
GetWebhookKeys(ctx context.Context) ApiGetWebhookKeysRequest
// GetWebhookKeysExecute executes the request
// @return GetWebhookKeysResponse
GetWebhookKeysExecute(r ApiGetWebhookKeysRequest) (*GetWebhookKeysResponse, *http.Response, error)
/*
UpdateWebhookKey Update Webhook Key
updates an existing webhook key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiUpdateWebhookKeyRequest
*/
UpdateWebhookKey(ctx context.Context, id string) ApiUpdateWebhookKeyRequest
// UpdateWebhookKeyExecute executes the request
// @return WebhookKeyResponse
UpdateWebhookKeyExecute(r ApiUpdateWebhookKeyRequest) (*WebhookKeyResponse, *http.Response, error)
}
type WebhookKeysAPIService ¶
type WebhookKeysAPIService service
WebhookKeysAPIService WebhookKeysAPI service
func (*WebhookKeysAPIService) CreateWebhookKey ¶
func (a *WebhookKeysAPIService) CreateWebhookKey(ctx context.Context) ApiCreateWebhookKeyRequest
CreateWebhookKey Create Webhook Key
Create a webhook key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateWebhookKeyRequest
func (*WebhookKeysAPIService) CreateWebhookKeyExecute ¶
func (a *WebhookKeysAPIService) CreateWebhookKeyExecute(r ApiCreateWebhookKeyRequest) (*WebhookKeyCreateResponse, *http.Response, error)
Execute executes the request
@return WebhookKeyCreateResponse
func (*WebhookKeysAPIService) DeleteWebhookKey ¶
func (a *WebhookKeysAPIService) DeleteWebhookKey(ctx context.Context, id string) ApiDeleteWebhookKeyRequest
DeleteWebhookKey Delete Webhook key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiDeleteWebhookKeyRequest
func (*WebhookKeysAPIService) DeleteWebhookKeyExecute ¶
func (a *WebhookKeysAPIService) DeleteWebhookKeyExecute(r ApiDeleteWebhookKeyRequest) (*WebhookKeyDeleteResponse, *http.Response, error)
Execute executes the request
@return WebhookKeyDeleteResponse
func (*WebhookKeysAPIService) GetWebhookKey ¶
func (a *WebhookKeysAPIService) GetWebhookKey(ctx context.Context, id string) ApiGetWebhookKeyRequest
GetWebhookKey Get Webhook Key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetWebhookKeyRequest
func (*WebhookKeysAPIService) GetWebhookKeyExecute ¶
func (a *WebhookKeysAPIService) GetWebhookKeyExecute(r ApiGetWebhookKeyRequest) (*WebhookKeyResponse, *http.Response, error)
Execute executes the request
@return WebhookKeyResponse
func (*WebhookKeysAPIService) GetWebhookKeys ¶
func (a *WebhookKeysAPIService) GetWebhookKeys(ctx context.Context) ApiGetWebhookKeysRequest
GetWebhookKeys Get List of Webhook Keys
Consume the list of webhook keys you have
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetWebhookKeysRequest
func (*WebhookKeysAPIService) GetWebhookKeysExecute ¶
func (a *WebhookKeysAPIService) GetWebhookKeysExecute(r ApiGetWebhookKeysRequest) (*GetWebhookKeysResponse, *http.Response, error)
Execute executes the request
@return GetWebhookKeysResponse
func (*WebhookKeysAPIService) UpdateWebhookKey ¶
func (a *WebhookKeysAPIService) UpdateWebhookKey(ctx context.Context, id string) ApiUpdateWebhookKeyRequest
UpdateWebhookKey Update Webhook Key
updates an existing webhook key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiUpdateWebhookKeyRequest
func (*WebhookKeysAPIService) UpdateWebhookKeyExecute ¶
func (a *WebhookKeysAPIService) UpdateWebhookKeyExecute(r ApiUpdateWebhookKeyRequest) (*WebhookKeyResponse, *http.Response, error)
Execute executes the request
@return WebhookKeyResponse
type WebhookLog ¶
type WebhookLog struct {
FailedAttempts *int32 `json:"failed_attempts,omitempty"`
Id *string `json:"id,omitempty"`
LastAttemptedAt *int32 `json:"last_attempted_at,omitempty"`
LastHttpResponseStatus *int32 `json:"last_http_response_status,omitempty"`
Object *string `json:"object,omitempty"`
ResponseData map[string]interface{} `json:"response_data,omitempty"`
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
WebhookLog struct for WebhookLog
func NewWebhookLog ¶
func NewWebhookLog() *WebhookLog
NewWebhookLog instantiates a new WebhookLog 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 NewWebhookLogWithDefaults ¶
func NewWebhookLogWithDefaults() *WebhookLog
NewWebhookLogWithDefaults instantiates a new WebhookLog 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 (*WebhookLog) GetFailedAttempts ¶
func (o *WebhookLog) GetFailedAttempts() int32
GetFailedAttempts returns the FailedAttempts field value if set, zero value otherwise.
func (*WebhookLog) GetFailedAttemptsOk ¶
func (o *WebhookLog) GetFailedAttemptsOk() (*int32, bool)
GetFailedAttemptsOk returns a tuple with the FailedAttempts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookLog) GetId ¶
func (o *WebhookLog) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*WebhookLog) GetIdOk ¶
func (o *WebhookLog) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookLog) GetLastAttemptedAt ¶
func (o *WebhookLog) GetLastAttemptedAt() int32
GetLastAttemptedAt returns the LastAttemptedAt field value if set, zero value otherwise.
func (*WebhookLog) GetLastAttemptedAtOk ¶
func (o *WebhookLog) GetLastAttemptedAtOk() (*int32, bool)
GetLastAttemptedAtOk returns a tuple with the LastAttemptedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookLog) GetLastHttpResponseStatus ¶
func (o *WebhookLog) GetLastHttpResponseStatus() int32
GetLastHttpResponseStatus returns the LastHttpResponseStatus field value if set, zero value otherwise.
func (*WebhookLog) GetLastHttpResponseStatusOk ¶
func (o *WebhookLog) GetLastHttpResponseStatusOk() (*int32, bool)
GetLastHttpResponseStatusOk returns a tuple with the LastHttpResponseStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookLog) GetObject ¶
func (o *WebhookLog) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*WebhookLog) GetObjectOk ¶
func (o *WebhookLog) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookLog) GetResponseData ¶
func (o *WebhookLog) GetResponseData() map[string]interface{}
GetResponseData returns the ResponseData field value if set, zero value otherwise.
func (*WebhookLog) GetResponseDataOk ¶
func (o *WebhookLog) GetResponseDataOk() (map[string]interface{}, bool)
GetResponseDataOk returns a tuple with the ResponseData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookLog) GetUrl ¶
func (o *WebhookLog) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*WebhookLog) GetUrlOk ¶
func (o *WebhookLog) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookLog) HasFailedAttempts ¶
func (o *WebhookLog) HasFailedAttempts() bool
HasFailedAttempts returns a boolean if a field has been set.
func (*WebhookLog) HasId ¶
func (o *WebhookLog) HasId() bool
HasId returns a boolean if a field has been set.
func (*WebhookLog) HasLastAttemptedAt ¶
func (o *WebhookLog) HasLastAttemptedAt() bool
HasLastAttemptedAt returns a boolean if a field has been set.
func (*WebhookLog) HasLastHttpResponseStatus ¶
func (o *WebhookLog) HasLastHttpResponseStatus() bool
HasLastHttpResponseStatus returns a boolean if a field has been set.
func (*WebhookLog) HasObject ¶
func (o *WebhookLog) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*WebhookLog) HasResponseData ¶
func (o *WebhookLog) HasResponseData() bool
HasResponseData returns a boolean if a field has been set.
func (*WebhookLog) HasUrl ¶
func (o *WebhookLog) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (WebhookLog) MarshalJSON ¶
func (o WebhookLog) MarshalJSON() ([]byte, error)
func (*WebhookLog) SetFailedAttempts ¶
func (o *WebhookLog) SetFailedAttempts(v int32)
SetFailedAttempts gets a reference to the given int32 and assigns it to the FailedAttempts field.
func (*WebhookLog) SetId ¶
func (o *WebhookLog) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*WebhookLog) SetLastAttemptedAt ¶
func (o *WebhookLog) SetLastAttemptedAt(v int32)
SetLastAttemptedAt gets a reference to the given int32 and assigns it to the LastAttemptedAt field.
func (*WebhookLog) SetLastHttpResponseStatus ¶
func (o *WebhookLog) SetLastHttpResponseStatus(v int32)
SetLastHttpResponseStatus gets a reference to the given int32 and assigns it to the LastHttpResponseStatus field.
func (*WebhookLog) SetObject ¶
func (o *WebhookLog) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*WebhookLog) SetResponseData ¶
func (o *WebhookLog) SetResponseData(v map[string]interface{})
SetResponseData gets a reference to the given map[string]interface{} and assigns it to the ResponseData field.
func (*WebhookLog) SetUrl ¶
func (o *WebhookLog) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (WebhookLog) ToMap ¶
func (o WebhookLog) ToMap() (map[string]interface{}, error)
func (*WebhookLog) UnmarshalJSON ¶
func (o *WebhookLog) UnmarshalJSON(data []byte) (err error)
type WebhookRequest ¶
type WebhookRequest struct {
// Here you must place the URL of your Webhook remember that you must program what you will do with the events received. Also do not forget to handle the HTTPS protocol for greater security.
Url string `json:"url"`
// It is a value that allows to decide if the events will be synchronous or asynchronous. We recommend asynchronous = false
Synchronous bool `json:"synchronous"`
AdditionalProperties map[string]interface{}
}
WebhookRequest a webhook
func NewWebhookRequest ¶
func NewWebhookRequest(url string, synchronous bool) *WebhookRequest
NewWebhookRequest instantiates a new WebhookRequest 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 NewWebhookRequestWithDefaults ¶
func NewWebhookRequestWithDefaults() *WebhookRequest
NewWebhookRequestWithDefaults instantiates a new WebhookRequest 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 (*WebhookRequest) GetSynchronous ¶
func (o *WebhookRequest) GetSynchronous() bool
GetSynchronous returns the Synchronous field value
func (*WebhookRequest) GetSynchronousOk ¶
func (o *WebhookRequest) GetSynchronousOk() (*bool, bool)
GetSynchronousOk returns a tuple with the Synchronous field value and a boolean to check if the value has been set.
func (*WebhookRequest) GetUrl ¶
func (o *WebhookRequest) GetUrl() string
GetUrl returns the Url field value
func (*WebhookRequest) GetUrlOk ¶
func (o *WebhookRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (WebhookRequest) MarshalJSON ¶
func (o WebhookRequest) MarshalJSON() ([]byte, error)
func (*WebhookRequest) SetSynchronous ¶
func (o *WebhookRequest) SetSynchronous(v bool)
SetSynchronous sets field value
func (WebhookRequest) ToMap ¶
func (o WebhookRequest) ToMap() (map[string]interface{}, error)
func (*WebhookRequest) UnmarshalJSON ¶
func (o *WebhookRequest) UnmarshalJSON(data []byte) (err error)
type WebhookResponse ¶
type WebhookResponse struct {
Deleted NullableBool `json:"deleted,omitempty"`
DevelopmentEnabled *bool `json:"development_enabled,omitempty"`
Id *string `json:"id,omitempty"`
Livemode *bool `json:"livemode,omitempty"`
Object *string `json:"object,omitempty"`
ProductionEnabled *bool `json:"production_enabled,omitempty"`
Status *string `json:"status,omitempty"`
SubscribedEvents []string `json:"subscribed_events,omitempty"`
Synchronous *bool `json:"synchronous,omitempty"`
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
WebhookResponse webhooks model
func NewWebhookResponse ¶
func NewWebhookResponse() *WebhookResponse
NewWebhookResponse instantiates a new WebhookResponse 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 NewWebhookResponseWithDefaults ¶
func NewWebhookResponseWithDefaults() *WebhookResponse
NewWebhookResponseWithDefaults instantiates a new WebhookResponse 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 (*WebhookResponse) GetDeleted ¶
func (o *WebhookResponse) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WebhookResponse) GetDeletedOk ¶
func (o *WebhookResponse) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted 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 (*WebhookResponse) GetDevelopmentEnabled ¶
func (o *WebhookResponse) GetDevelopmentEnabled() bool
GetDevelopmentEnabled returns the DevelopmentEnabled field value if set, zero value otherwise.
func (*WebhookResponse) GetDevelopmentEnabledOk ¶
func (o *WebhookResponse) GetDevelopmentEnabledOk() (*bool, bool)
GetDevelopmentEnabledOk returns a tuple with the DevelopmentEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookResponse) GetId ¶
func (o *WebhookResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*WebhookResponse) GetIdOk ¶
func (o *WebhookResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookResponse) GetLivemode ¶
func (o *WebhookResponse) GetLivemode() bool
GetLivemode returns the Livemode field value if set, zero value otherwise.
func (*WebhookResponse) GetLivemodeOk ¶
func (o *WebhookResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookResponse) GetObject ¶
func (o *WebhookResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*WebhookResponse) GetObjectOk ¶
func (o *WebhookResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookResponse) GetProductionEnabled ¶
func (o *WebhookResponse) GetProductionEnabled() bool
GetProductionEnabled returns the ProductionEnabled field value if set, zero value otherwise.
func (*WebhookResponse) GetProductionEnabledOk ¶
func (o *WebhookResponse) GetProductionEnabledOk() (*bool, bool)
GetProductionEnabledOk returns a tuple with the ProductionEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookResponse) GetStatus ¶
func (o *WebhookResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*WebhookResponse) GetStatusOk ¶
func (o *WebhookResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookResponse) GetSubscribedEvents ¶
func (o *WebhookResponse) GetSubscribedEvents() []string
GetSubscribedEvents returns the SubscribedEvents field value if set, zero value otherwise.
func (*WebhookResponse) GetSubscribedEventsOk ¶
func (o *WebhookResponse) GetSubscribedEventsOk() ([]string, bool)
GetSubscribedEventsOk returns a tuple with the SubscribedEvents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookResponse) GetSynchronous ¶
func (o *WebhookResponse) GetSynchronous() bool
GetSynchronous returns the Synchronous field value if set, zero value otherwise.
func (*WebhookResponse) GetSynchronousOk ¶
func (o *WebhookResponse) GetSynchronousOk() (*bool, bool)
GetSynchronousOk returns a tuple with the Synchronous field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookResponse) GetUrl ¶
func (o *WebhookResponse) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*WebhookResponse) GetUrlOk ¶
func (o *WebhookResponse) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookResponse) HasDeleted ¶
func (o *WebhookResponse) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*WebhookResponse) HasDevelopmentEnabled ¶
func (o *WebhookResponse) HasDevelopmentEnabled() bool
HasDevelopmentEnabled returns a boolean if a field has been set.
func (*WebhookResponse) HasId ¶
func (o *WebhookResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*WebhookResponse) HasLivemode ¶
func (o *WebhookResponse) HasLivemode() bool
HasLivemode returns a boolean if a field has been set.
func (*WebhookResponse) HasObject ¶
func (o *WebhookResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*WebhookResponse) HasProductionEnabled ¶
func (o *WebhookResponse) HasProductionEnabled() bool
HasProductionEnabled returns a boolean if a field has been set.
func (*WebhookResponse) HasStatus ¶
func (o *WebhookResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*WebhookResponse) HasSubscribedEvents ¶
func (o *WebhookResponse) HasSubscribedEvents() bool
HasSubscribedEvents returns a boolean if a field has been set.
func (*WebhookResponse) HasSynchronous ¶
func (o *WebhookResponse) HasSynchronous() bool
HasSynchronous returns a boolean if a field has been set.
func (*WebhookResponse) HasUrl ¶
func (o *WebhookResponse) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (WebhookResponse) MarshalJSON ¶
func (o WebhookResponse) MarshalJSON() ([]byte, error)
func (*WebhookResponse) SetDeleted ¶
func (o *WebhookResponse) SetDeleted(v bool)
SetDeleted gets a reference to the given NullableBool and assigns it to the Deleted field.
func (*WebhookResponse) SetDeletedNil ¶
func (o *WebhookResponse) SetDeletedNil()
SetDeletedNil sets the value for Deleted to be an explicit nil
func (*WebhookResponse) SetDevelopmentEnabled ¶
func (o *WebhookResponse) SetDevelopmentEnabled(v bool)
SetDevelopmentEnabled gets a reference to the given bool and assigns it to the DevelopmentEnabled field.
func (*WebhookResponse) SetId ¶
func (o *WebhookResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*WebhookResponse) SetLivemode ¶
func (o *WebhookResponse) SetLivemode(v bool)
SetLivemode gets a reference to the given bool and assigns it to the Livemode field.
func (*WebhookResponse) SetObject ¶
func (o *WebhookResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*WebhookResponse) SetProductionEnabled ¶
func (o *WebhookResponse) SetProductionEnabled(v bool)
SetProductionEnabled gets a reference to the given bool and assigns it to the ProductionEnabled field.
func (*WebhookResponse) SetStatus ¶
func (o *WebhookResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*WebhookResponse) SetSubscribedEvents ¶
func (o *WebhookResponse) SetSubscribedEvents(v []string)
SetSubscribedEvents gets a reference to the given []string and assigns it to the SubscribedEvents field.
func (*WebhookResponse) SetSynchronous ¶
func (o *WebhookResponse) SetSynchronous(v bool)
SetSynchronous gets a reference to the given bool and assigns it to the Synchronous field.
func (*WebhookResponse) SetUrl ¶
func (o *WebhookResponse) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (WebhookResponse) ToMap ¶
func (o WebhookResponse) ToMap() (map[string]interface{}, error)
func (*WebhookResponse) UnmarshalJSON ¶
func (o *WebhookResponse) UnmarshalJSON(data []byte) (err error)
func (*WebhookResponse) UnsetDeleted ¶
func (o *WebhookResponse) UnsetDeleted()
UnsetDeleted ensures that no value is present for Deleted, not even an explicit nil
type WebhookUpdateRequest ¶
type WebhookUpdateRequest struct {
// Here you must place the URL of your Webhook remember that you must program what you will do with the events received. Also do not forget to handle the HTTPS protocol for greater security.
Url string `json:"url"`
// It is a value that allows to decide if the events will be synchronous or asynchronous. We recommend asynchronous = false
Synchronous *bool `json:"synchronous,omitempty"`
Events []string `json:"events,omitempty"`
AdditionalProperties map[string]interface{}
}
WebhookUpdateRequest an updated webhook
func NewWebhookUpdateRequest ¶
func NewWebhookUpdateRequest(url string) *WebhookUpdateRequest
NewWebhookUpdateRequest instantiates a new WebhookUpdateRequest 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 NewWebhookUpdateRequestWithDefaults ¶
func NewWebhookUpdateRequestWithDefaults() *WebhookUpdateRequest
NewWebhookUpdateRequestWithDefaults instantiates a new WebhookUpdateRequest 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 (*WebhookUpdateRequest) GetEvents ¶
func (o *WebhookUpdateRequest) GetEvents() []string
GetEvents returns the Events field value if set, zero value otherwise.
func (*WebhookUpdateRequest) GetEventsOk ¶
func (o *WebhookUpdateRequest) GetEventsOk() ([]string, bool)
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookUpdateRequest) GetSynchronous ¶
func (o *WebhookUpdateRequest) GetSynchronous() bool
GetSynchronous returns the Synchronous field value if set, zero value otherwise.
func (*WebhookUpdateRequest) GetSynchronousOk ¶
func (o *WebhookUpdateRequest) GetSynchronousOk() (*bool, bool)
GetSynchronousOk returns a tuple with the Synchronous field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookUpdateRequest) GetUrl ¶
func (o *WebhookUpdateRequest) GetUrl() string
GetUrl returns the Url field value
func (*WebhookUpdateRequest) GetUrlOk ¶
func (o *WebhookUpdateRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*WebhookUpdateRequest) HasEvents ¶
func (o *WebhookUpdateRequest) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (*WebhookUpdateRequest) HasSynchronous ¶
func (o *WebhookUpdateRequest) HasSynchronous() bool
HasSynchronous returns a boolean if a field has been set.
func (WebhookUpdateRequest) MarshalJSON ¶
func (o WebhookUpdateRequest) MarshalJSON() ([]byte, error)
func (*WebhookUpdateRequest) SetEvents ¶
func (o *WebhookUpdateRequest) SetEvents(v []string)
SetEvents gets a reference to the given []string and assigns it to the Events field.
func (*WebhookUpdateRequest) SetSynchronous ¶
func (o *WebhookUpdateRequest) SetSynchronous(v bool)
SetSynchronous gets a reference to the given bool and assigns it to the Synchronous field.
func (*WebhookUpdateRequest) SetUrl ¶
func (o *WebhookUpdateRequest) SetUrl(v string)
SetUrl sets field value
func (WebhookUpdateRequest) ToMap ¶
func (o WebhookUpdateRequest) ToMap() (map[string]interface{}, error)
func (*WebhookUpdateRequest) UnmarshalJSON ¶
func (o *WebhookUpdateRequest) UnmarshalJSON(data []byte) (err error)
type WebhooksAPI ¶
type WebhooksAPI interface {
/*
CreateWebhook Create Webhook
What we do at Femsa translates into events. For example, an event of interest to us occurs at the time a payment is successfully processed. At that moment we will be interested in doing several things: Send an email to the buyer, generate an invoice, start the process of shipping the product, etc.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateWebhookRequest
*/
CreateWebhook(ctx context.Context) ApiCreateWebhookRequest
// CreateWebhookExecute executes the request
// @return WebhookResponse
CreateWebhookExecute(r ApiCreateWebhookRequest) (*WebhookResponse, *http.Response, error)
/*
DeleteWebhook Delete Webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiDeleteWebhookRequest
*/
DeleteWebhook(ctx context.Context, id string) ApiDeleteWebhookRequest
// DeleteWebhookExecute executes the request
// @return WebhookResponse
DeleteWebhookExecute(r ApiDeleteWebhookRequest) (*WebhookResponse, *http.Response, error)
/*
GetWebhook Get Webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiGetWebhookRequest
*/
GetWebhook(ctx context.Context, id string) ApiGetWebhookRequest
// GetWebhookExecute executes the request
// @return WebhookResponse
GetWebhookExecute(r ApiGetWebhookRequest) (*WebhookResponse, *http.Response, error)
/*
GetWebhooks Get List of Webhooks
Consume the list of webhooks you have, each environment supports 10 webhooks (For production and testing)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetWebhooksRequest
*/
GetWebhooks(ctx context.Context) ApiGetWebhooksRequest
// GetWebhooksExecute executes the request
// @return GetWebhooksResponse
GetWebhooksExecute(r ApiGetWebhooksRequest) (*GetWebhooksResponse, *http.Response, error)
/*
TestWebhook Test Webhook
Send a webhook.ping event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiTestWebhookRequest
*/
TestWebhook(ctx context.Context, id string) ApiTestWebhookRequest
// TestWebhookExecute executes the request
// @return WebhookResponse
TestWebhookExecute(r ApiTestWebhookRequest) (*WebhookResponse, *http.Response, error)
/*
UpdateWebhook Update Webhook
updates an existing webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Identifier of the resource
@return ApiUpdateWebhookRequest
*/
UpdateWebhook(ctx context.Context, id string) ApiUpdateWebhookRequest
// UpdateWebhookExecute executes the request
// @return WebhookResponse
UpdateWebhookExecute(r ApiUpdateWebhookRequest) (*WebhookResponse, *http.Response, error)
}
type WebhooksAPIService ¶
type WebhooksAPIService service
WebhooksAPIService WebhooksAPI service
func (*WebhooksAPIService) CreateWebhook ¶
func (a *WebhooksAPIService) CreateWebhook(ctx context.Context) ApiCreateWebhookRequest
CreateWebhook Create Webhook
What we do at Femsa translates into events. For example, an event of interest to us occurs at the time a payment is successfully processed. At that moment we will be interested in doing several things: Send an email to the buyer, generate an invoice, start the process of shipping the product, etc.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateWebhookRequest
func (*WebhooksAPIService) CreateWebhookExecute ¶
func (a *WebhooksAPIService) CreateWebhookExecute(r ApiCreateWebhookRequest) (*WebhookResponse, *http.Response, error)
Execute executes the request
@return WebhookResponse
func (*WebhooksAPIService) DeleteWebhook ¶
func (a *WebhooksAPIService) DeleteWebhook(ctx context.Context, id string) ApiDeleteWebhookRequest
DeleteWebhook Delete Webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiDeleteWebhookRequest
func (*WebhooksAPIService) DeleteWebhookExecute ¶
func (a *WebhooksAPIService) DeleteWebhookExecute(r ApiDeleteWebhookRequest) (*WebhookResponse, *http.Response, error)
Execute executes the request
@return WebhookResponse
func (*WebhooksAPIService) GetWebhook ¶
func (a *WebhooksAPIService) GetWebhook(ctx context.Context, id string) ApiGetWebhookRequest
GetWebhook Get Webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiGetWebhookRequest
func (*WebhooksAPIService) GetWebhookExecute ¶
func (a *WebhooksAPIService) GetWebhookExecute(r ApiGetWebhookRequest) (*WebhookResponse, *http.Response, error)
Execute executes the request
@return WebhookResponse
func (*WebhooksAPIService) GetWebhooks ¶
func (a *WebhooksAPIService) GetWebhooks(ctx context.Context) ApiGetWebhooksRequest
GetWebhooks Get List of Webhooks
Consume the list of webhooks you have, each environment supports 10 webhooks (For production and testing)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetWebhooksRequest
func (*WebhooksAPIService) GetWebhooksExecute ¶
func (a *WebhooksAPIService) GetWebhooksExecute(r ApiGetWebhooksRequest) (*GetWebhooksResponse, *http.Response, error)
Execute executes the request
@return GetWebhooksResponse
func (*WebhooksAPIService) TestWebhook ¶
func (a *WebhooksAPIService) TestWebhook(ctx context.Context, id string) ApiTestWebhookRequest
TestWebhook Test Webhook
Send a webhook.ping event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiTestWebhookRequest
func (*WebhooksAPIService) TestWebhookExecute ¶
func (a *WebhooksAPIService) TestWebhookExecute(r ApiTestWebhookRequest) (*WebhookResponse, *http.Response, error)
Execute executes the request
@return WebhookResponse
func (*WebhooksAPIService) UpdateWebhook ¶
func (a *WebhooksAPIService) UpdateWebhook(ctx context.Context, id string) ApiUpdateWebhookRequest
UpdateWebhook Update Webhook
updates an existing webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Identifier of the resource @return ApiUpdateWebhookRequest
func (*WebhooksAPIService) UpdateWebhookExecute ¶
func (a *WebhooksAPIService) UpdateWebhookExecute(r ApiUpdateWebhookRequest) (*WebhookResponse, *http.Response, error)
Execute executes the request
@return WebhookResponse
Source Files
¶
- api_api_keys.go
- api_balances.go
- api_charges.go
- api_companies.go
- api_customers.go
- api_discounts.go
- api_events.go
- api_logs.go
- api_orders.go
- api_payment_link.go
- api_payment_methods.go
- api_products.go
- api_shipping_contacts.go
- api_shippings.go
- api_taxes.go
- api_transactions.go
- api_transfers.go
- api_webhook_keys.go
- api_webhooks.go
- client.go
- configuration.go
- model_api_key_create_response.go
- model_api_key_request.go
- model_api_key_response.go
- model_api_key_response_on_delete.go
- model_api_key_update_request.go
- model_balance_common_field.go
- model_balance_response.go
- model_charge_order_response.go
- model_charge_order_response_payment_method.go
- model_charge_request.go
- model_charge_request_payment_method.go
- model_charge_response.go
- model_charge_response_channel.go
- model_charge_response_payment_method.go
- model_charge_response_refunds.go
- model_charge_response_refunds_data.go
- model_charge_update_request.go
- model_charges_data_response.go
- model_checkout.go
- model_checkout_order_template.go
- model_checkout_order_template_customer_info.go
- model_checkout_request.go
- model_checkout_response.go
- model_checkouts_response.go
- model_company_fiscal_info_address_response.go
- model_company_fiscal_info_response.go
- model_company_payout_destination_response.go
- model_company_response.go
- model_create_customer_fiscal_entities_response.go
- model_create_customer_payment_methods_request.go
- model_create_customer_payment_methods_response.go
- model_customer.go
- model_customer_address.go
- model_customer_antifraud_info.go
- model_customer_antifraud_info_response.go
- model_customer_fiscal_entities_data_response.go
- model_customer_fiscal_entities_request.go
- model_customer_fiscal_entities_response.go
- model_customer_info.go
- model_customer_info_just_customer_id.go
- model_customer_info_just_customer_id_response.go
- model_customer_payment_method_request.go
- model_customer_payment_methods_data.go
- model_customer_payment_methods_request.go
- model_customer_payment_methods_response.go
- model_customer_response.go
- model_customer_response_shipping_contacts.go
- model_customer_shipping_contacts.go
- model_customer_shipping_contacts_address.go
- model_customer_shipping_contacts_data_response.go
- model_customer_shipping_contacts_response.go
- model_customer_shipping_contacts_response_address.go
- model_customer_update_fiscal_entities_request.go
- model_customer_update_shipping_contacts.go
- model_customers_response.go
- model_delete_api_keys_response.go
- model_details.go
- model_details_error.go
- model_discount_lines_data_response.go
- model_discount_lines_response.go
- model_email_checkout_request.go
- model_error.go
- model_event_response.go
- model_events_resend_response.go
- model_fiscal_entity_address.go
- model_get_api_keys_response.go
- model_get_charges_response.go
- model_get_companies_response.go
- model_get_customer_payment_method_data_response.go
- model_get_events_response.go
- model_get_order_discount_lines_response.go
- model_get_orders_response.go
- model_get_payment_method_response.go
- model_get_transactions_response.go
- model_get_transfers_response.go
- model_get_webhook_keys_response.go
- model_get_webhooks_response.go
- model_log_response.go
- model_logs_response.go
- model_logs_response_data.go
- model_order_capture_request.go
- model_order_customer_info_response.go
- model_order_discount_lines_request.go
- model_order_fiscal_entity_address_response.go
- model_order_fiscal_entity_request.go
- model_order_fiscal_entity_response.go
- model_order_next_action_response.go
- model_order_next_action_response_redirect_to_url.go
- model_order_refund_request.go
- model_order_request.go
- model_order_request_customer_info.go
- model_order_response.go
- model_order_response_charges.go
- model_order_response_checkout.go
- model_order_response_customer_info.go
- model_order_response_discount_lines.go
- model_order_response_products.go
- model_order_response_shipping_contact.go
- model_order_tax_request.go
- model_order_update_fiscal_entity_request.go
- model_order_update_request.go
- model_order_update_request_customer_info.go
- model_orders_response.go
- model_page.go
- model_pagination.go
- model_payment_method.go
- model_payment_method_cash.go
- model_payment_method_cash_request.go
- model_payment_method_cash_response.go
- model_payment_method_response.go
- model_product.go
- model_product_data_response.go
- model_product_order_response.go
- model_shipping_order_response.go
- model_shipping_request.go
- model_sms_checkout_request.go
- model_transaction_response.go
- model_transfer_destination_response.go
- model_transfer_method_response.go
- model_transfer_response.go
- model_transfers_response.go
- model_update_customer.go
- model_update_customer_antifraud_info.go
- model_update_customer_fiscal_entities_response.go
- model_update_customer_payment_methods_response.go
- model_update_order_discount_lines_request.go
- model_update_order_tax_request.go
- model_update_order_tax_response.go
- model_update_payment_methods.go
- model_update_product.go
- model_webhook_key_create_response.go
- model_webhook_key_delete_response.go
- model_webhook_key_request.go
- model_webhook_key_response.go
- model_webhook_key_update_request.go
- model_webhook_log.go
- model_webhook_request.go
- model_webhook_response.go
- model_webhook_update_request.go
- response.go
- utils.go
