digitalfemsa

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: MIT Imports: 22 Imported by: 0

README

GO api

digitalfemsa Go API Library

Go Reference

Femsa sdk

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

Prerequisites

Installation

Download digitalfemsa-go package:

go get -u github.com/digitalfemsa/digitalfemsa-go

Using the library

In order to submit http request to DigitalFemsa API you need to initialize the client. The following example makes a order request:

package main

import (
    "context"
	"net/http"
	
    "github.com/digitalfemsa/digitalfemsa-go"
)

func main() {
	// Create a OrderRequest
	const acceptLanguage = "es"
	const accessToken = "Your merchant XAPI key"

	// create the http client
	config := digitalfemsa.NewConfiguration()
	client := digitalfemsa.NewAPIClient(config)

	ctx := context.WithValue(context.TODO(), digitalfemsa.ContextAccessToken, accessToken)

	// create customer
	customer := digitalfemsa.Customer{
		Name:  "test go",
		Phone: "+573143159063",
		Email: "[email protected]",
	}
	customerResponse, httpResponse, err := client.CustomersApi.CreateCustomer(ctx).
		Customer(customer).
		AcceptLanguage(acceptLanguage).
		Execute()
	if err != nil {
		panic(err)
	}
	if httpResponse.StatusCode != http.StatusCreated {
		panic("invalid response statusCode")
	}

	// Create OrderRequest
	chargeRequest := digitalfemsa.ChargeRequest{
		Amount:        digitalfemsa.PtrInt32(1555),
		PaymentMethod: *digitalfemsa.NewChargeRequestPaymentMethod("cash"),
	}
	productLine := digitalfemsa.Product{
		Name:      "toshiba",
		Quantity:  1,
		UnitPrice: 1555,
	}
	orderRequest := digitalfemsa.OrderRequest{
		Charges: []digitalfemsa.ChargeRequest{
			chargeRequest,
		},
		Currency: "MXN",
		CustomerInfo: digitalfemsa.OrderRequestCustomerInfo{
			CustomerInfoJustCustomerId: digitalfemsa.NewCustomerInfoJustCustomerId(customerResponse.Id),
		},
		LineItems: []digitalfemsa.Product{
			productLine,
		},
	}

	//Make the call to the service. This example code makes a call to /orders
	orderResponse, httpResponse, err := client.OrdersApi.CreateOrder(ctx).
		OrderRequest(orderRequest).
		AcceptLanguage(acceptLanguage).
		Execute()
	if err != nil {
		panic(err)
	}
	if httpResponse.StatusCode != http.StatusCreated {
		panic("invalid response statusCode")
	}
	println(*orderResponse)   
}

Running tests

Navigate to digitalfemsa-go folder and run the following commands.

docker-compose up -d
go test -v --race ./...

Documentation for API Endpoints

All URIs are relative to https://api.digitalfemsa.io

Class Method HTTP request Description
ApiKeysAPI CreateApiKey Post /api_keys Create Api Key
ApiKeysAPI DeleteApiKey Delete /api_keys/{id} Delete Api Key
ApiKeysAPI GetApiKey Get /api_keys/{id} Get Api Key
ApiKeysAPI GetApiKeys Get /api_keys Get list of Api Keys
ApiKeysAPI UpdateApiKey Put /api_keys/{id} Update Api Key
BalancesAPI GetBalance Get /balance Get a company's balance
ChargesAPI GetCharges Get /charges Get A List of Charges
ChargesAPI OrdersCreateCharge Post /orders/{id}/charges Create charge
ChargesAPI UpdateCharge Put /charges/{id} Update a charge
CompaniesAPI GetCompanies Get /companies Get List of Companies
CompaniesAPI GetCompany Get /companies/{id} Get Company
CustomersAPI CreateCustomer Post /customers Create customer
CustomersAPI CreateCustomerFiscalEntities Post /customers/{id}/fiscal_entities Create Fiscal Entity
CustomersAPI DeleteCustomerById Delete /customers/{id} Delete Customer
CustomersAPI GetCustomerById Get /customers/{id} Get Customer
CustomersAPI GetCustomers Get /customers Get a list of customers
CustomersAPI UpdateCustomer Put /customers/{id} Update customer
CustomersAPI UpdateCustomerFiscalEntities Put /customers/{id}/fiscal_entities/{fiscal_entities_id} Update Fiscal Entity
DiscountsAPI OrdersCreateDiscountLine Post /orders/{id}/discount_lines Create Discount
DiscountsAPI OrdersDeleteDiscountLines Delete /orders/{id}/discount_lines/{discount_lines_id} Delete Discount
DiscountsAPI OrdersGetDiscountLine Get /orders/{id}/discount_lines/{discount_lines_id} Get Discount
DiscountsAPI OrdersGetDiscountLines Get /orders/{id}/discount_lines Get a List of Discount
DiscountsAPI OrdersUpdateDiscountLines Put /orders/{id}/discount_lines/{discount_lines_id} Update Discount
EventsAPI GetEvent Get /events/{id} Get Event
EventsAPI GetEvents Get /events Get list of Events
EventsAPI ResendEvent Post /events/{event_id}/webhook_logs/{webhook_log_id}/resend Resend Event
LogsAPI GetLogById Get /logs/{id} Get Log
LogsAPI GetLogs Get /logs Get List Of Logs
OrdersAPI CancelOrder Post /orders/{id}/cancel Cancel Order
OrdersAPI CreateOrder Post /orders Create order
OrdersAPI GetOrderById Get /orders/{id} Get Order
OrdersAPI GetOrders Get /orders Get a list of Orders
OrdersAPI OrderCancelRefund Delete /orders/{id}/refunds/{refund_id} Cancel Refund
OrdersAPI OrderRefund Post /orders/{id}/refunds Refund Order
OrdersAPI OrdersCreateCapture Post /orders/{id}/capture Capture Order
OrdersAPI UpdateOrder Put /orders/{id} Update Order
PaymentLinkAPI CancelCheckout Put /checkouts/{id}/cancel Cancel Payment Link
PaymentLinkAPI CreateCheckout Post /checkouts Create Unique Payment Link
PaymentLinkAPI EmailCheckout Post /checkouts/{id}/email Send an email
PaymentLinkAPI GetCheckout Get /checkouts/{id} Get a payment link by ID
PaymentLinkAPI GetCheckouts Get /checkouts Get a list of payment links
PaymentLinkAPI SmsCheckout Post /checkouts/{id}/sms Send an sms
PaymentMethodsAPI CreateCustomerPaymentMethods Post /customers/{id}/payment_sources Create Payment Method
PaymentMethodsAPI DeleteCustomerPaymentMethods Delete /customers/{id}/payment_sources/{payment_method_id} Delete Payment Method
PaymentMethodsAPI GetCustomerPaymentMethods Get /customers/{id}/payment_sources Get Payment Methods
PaymentMethodsAPI UpdateCustomerPaymentMethods Put /customers/{id}/payment_sources/{payment_method_id} Update Payment Method
ProductsAPI OrdersCreateProduct Post /orders/{id}/line_items Create Product
ProductsAPI OrdersDeleteProduct Delete /orders/{id}/line_items/{line_item_id} Delete Product
ProductsAPI OrdersUpdateProduct Put /orders/{id}/line_items/{line_item_id} Update Product
ShippingContactsAPI CreateCustomerShippingContacts Post /customers/{id}/shipping_contacts Create a shipping contacts
ShippingContactsAPI DeleteCustomerShippingContacts Delete /customers/{id}/shipping_contacts/{shipping_contacts_id} Delete shipping contacts
ShippingContactsAPI UpdateCustomerShippingContacts Put /customers/{id}/shipping_contacts/{shipping_contacts_id} Update shipping contacts
ShippingsAPI OrdersCreateShipping Post /orders/{id}/shipping_lines Create Shipping
ShippingsAPI OrdersDeleteShipping Delete /orders/{id}/shipping_lines/{shipping_id} Delete Shipping
ShippingsAPI OrdersUpdateShipping Put /orders/{id}/shipping_lines/{shipping_id} Update Shipping
TaxesAPI OrdersCreateTaxes Post /orders/{id}/tax_lines Create Tax
TaxesAPI OrdersDeleteTaxes Delete /orders/{id}/tax_lines/{tax_id} Delete Tax
TaxesAPI OrdersUpdateTaxes Put /orders/{id}/tax_lines/{tax_id} Update Tax
TransactionsAPI GetTransaction Get /transactions/{id} Get transaction
TransactionsAPI GetTransactions Get /transactions Get List transactions
TransfersAPI GetTransfer Get /transfers/{id} Get Transfer
TransfersAPI GetTransfers Get /transfers Get a list of transfers
WebhookKeysAPI CreateWebhookKey Post /webhook_keys Create Webhook Key
WebhookKeysAPI DeleteWebhookKey Delete /webhook_keys/{id} Delete Webhook key
WebhookKeysAPI GetWebhookKey Get /webhook_keys/{id} Get Webhook Key
WebhookKeysAPI GetWebhookKeys Get /webhook_keys Get List of Webhook Keys
WebhookKeysAPI UpdateWebhookKey Put /webhook_keys/{id} Update Webhook Key
WebhooksAPI CreateWebhook Post /webhooks Create Webhook
WebhooksAPI DeleteWebhook Delete /webhooks/{id} Delete Webhook
WebhooksAPI GetWebhook Get /webhooks/{id} Get Webhook
WebhooksAPI GetWebhooks Get /webhooks Get List of Webhooks
WebhooksAPI TestWebhook Post /webhooks/{id}/test Test Webhook
WebhooksAPI UpdateWebhook Put /webhooks/{id} Update Webhook

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

[email protected]

Documentation

Index

Constants

View Source
const (
	// UnknownPlatform is the string returned as the system name if we couldn't get
	// one from `uname`.
	UnknownPlatform string = "unknown platform"
)

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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 (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 (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 (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

requested field for checkout

func (ApiCreateCheckoutRequest) Execute

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

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 (ApiCreateCustomerFiscalEntitiesRequest) XChildCompanyId

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

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 (ApiCreateCustomerPaymentMethodsRequest) XChildCompanyId

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

requested field for customer

func (ApiCreateCustomerRequest) Execute

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

Use for knowing which language to use

func (ApiCreateCustomerShippingContactsRequest) CustomerShippingContacts

requested field for customer shippings contacts

func (ApiCreateCustomerShippingContactsRequest) Execute

func (ApiCreateCustomerShippingContactsRequest) XChildCompanyId

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 (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 (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 (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

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 (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

Use for knowing which language to use

func (ApiDeleteCustomerPaymentMethodsRequest) Execute

func (ApiDeleteCustomerPaymentMethodsRequest) XChildCompanyId

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

Use for knowing which language to use

func (ApiDeleteCustomerShippingContactsRequest) Execute

func (ApiDeleteCustomerShippingContactsRequest) XChildCompanyId

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

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

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 (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 (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 (ApiGetApiKeysRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetApiKeysRequest) Next

next page

func (ApiGetApiKeysRequest) Previous

func (r ApiGetApiKeysRequest) Previous(previous string) ApiGetApiKeysRequest

previous page

func (ApiGetApiKeysRequest) Search

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

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 (ApiGetChargesRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetChargesRequest) Next

next page

func (ApiGetChargesRequest) Previous

func (r ApiGetChargesRequest) Previous(previous string) ApiGetChargesRequest

previous page

func (ApiGetChargesRequest) Search

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 (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 (ApiGetCheckoutsRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetCheckoutsRequest) Next

next page

func (ApiGetCheckoutsRequest) Previous

previous page

func (ApiGetCheckoutsRequest) Search

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 (ApiGetCompaniesRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetCompaniesRequest) Next

next page

func (ApiGetCompaniesRequest) Previous

previous page

func (ApiGetCompaniesRequest) Search

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

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 (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

Use for knowing which language to use

func (ApiGetCustomerPaymentMethodsRequest) Execute

func (ApiGetCustomerPaymentMethodsRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetCustomerPaymentMethodsRequest) Next

next page

func (ApiGetCustomerPaymentMethodsRequest) Previous

previous page

func (ApiGetCustomerPaymentMethodsRequest) Search

General order search, e.g. by mail, reference etc.

func (ApiGetCustomerPaymentMethodsRequest) XChildCompanyId

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 (ApiGetCustomersRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetCustomersRequest) Next

next page

func (ApiGetCustomersRequest) Previous

previous page

func (ApiGetCustomersRequest) Search

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 (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 (ApiGetEventsRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetEventsRequest) Next

next page

func (ApiGetEventsRequest) Previous

func (r ApiGetEventsRequest) Previous(previous string) ApiGetEventsRequest

previous page

func (ApiGetEventsRequest) Search

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 (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

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 (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 (ApiGetOrdersRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetOrdersRequest) Next

next page

func (ApiGetOrdersRequest) Previous

func (r ApiGetOrdersRequest) Previous(previous string) ApiGetOrdersRequest

previous page

func (ApiGetOrdersRequest) Search

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 (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

id of the charge used for filtering

func (ApiGetTransactionsRequest) Currency

currency of the object to be retrieved

func (ApiGetTransactionsRequest) Execute

func (ApiGetTransactionsRequest) Id

id of the object to be retrieved

func (ApiGetTransactionsRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetTransactionsRequest) Next

next page

func (ApiGetTransactionsRequest) Previous

previous page

func (ApiGetTransactionsRequest) Type_

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 (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 (ApiGetTransfersRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetTransfersRequest) Next

next page

func (ApiGetTransfersRequest) Previous

previous page

func (ApiGetTransfersRequest) Search

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 (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 (ApiGetWebhookKeysRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetWebhookKeysRequest) Next

next page

func (ApiGetWebhookKeysRequest) Previous

previous page

func (ApiGetWebhookKeysRequest) Search

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 (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 (ApiGetWebhooksRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiGetWebhooksRequest) Next

next page

func (ApiGetWebhooksRequest) Previous

func (r ApiGetWebhooksRequest) Previous(previous string) ApiGetWebhooksRequest

previous page

func (ApiGetWebhooksRequest) Search

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) SetRole

func (o *ApiKeyRequest) SetRole(v string)

SetRole sets field value

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

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

Execute executes the request

@return ApiKeyCreateResponse

func (*ApiKeysAPIService) DeleteApiKey

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

Execute executes the request

@return DeleteApiKeysResponse

func (*ApiKeysAPIService) GetApiKey

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

Execute executes the request

@return ApiKeyResponse

func (*ApiKeysAPIService) GetApiKeys

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

Execute executes the request

@return GetApiKeysResponse

func (*ApiKeysAPIService) UpdateApiKey

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

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 (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 (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 (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

requested field for a charge

func (ApiOrdersCreateChargeRequest) Execute

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

Use for knowing which language to use

func (ApiOrdersCreateDiscountLineRequest) Execute

func (ApiOrdersCreateDiscountLineRequest) OrderDiscountLinesRequest

func (r ApiOrdersCreateDiscountLineRequest) OrderDiscountLinesRequest(orderDiscountLinesRequest OrderDiscountLinesRequest) ApiOrdersCreateDiscountLineRequest

requested field for a discount lines

func (ApiOrdersCreateDiscountLineRequest) XChildCompanyId

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 (ApiOrdersCreateProductRequest) Product

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 (ApiOrdersCreateShippingRequest) ShippingRequest

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 (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

Use for knowing which language to use

func (ApiOrdersDeleteDiscountLinesRequest) Execute

func (ApiOrdersDeleteDiscountLinesRequest) XChildCompanyId

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 (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 (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 (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

Use for knowing which language to use

func (ApiOrdersGetDiscountLineRequest) Execute

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

Use for knowing which language to use

func (ApiOrdersGetDiscountLinesRequest) Execute

func (ApiOrdersGetDiscountLinesRequest) Limit

The numbers of items to return, the maximum value is 250

func (ApiOrdersGetDiscountLinesRequest) Next

next page

func (ApiOrdersGetDiscountLinesRequest) Previous

previous page

func (ApiOrdersGetDiscountLinesRequest) Search

General order search, e.g. by mail, reference etc.

func (ApiOrdersGetDiscountLinesRequest) XChildCompanyId

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

Use for knowing which language to use

func (ApiOrdersUpdateDiscountLinesRequest) Execute

func (ApiOrdersUpdateDiscountLinesRequest) UpdateOrderDiscountLinesRequest

func (r ApiOrdersUpdateDiscountLinesRequest) UpdateOrderDiscountLinesRequest(updateOrderDiscountLinesRequest UpdateOrderDiscountLinesRequest) ApiOrdersUpdateDiscountLinesRequest

requested field for a discount lines

func (ApiOrdersUpdateDiscountLinesRequest) XChildCompanyId

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 (ApiOrdersUpdateProductRequest) UpdateProduct

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 (ApiOrdersUpdateShippingRequest) ShippingRequest

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 (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

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 (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

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

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 (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

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 (ApiUpdateCustomerFiscalEntitiesRequest) XChildCompanyId

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

Use for knowing which language to use

func (ApiUpdateCustomerPaymentMethodsRequest) Execute

func (ApiUpdateCustomerPaymentMethodsRequest) UpdatePaymentMethods

requested field for customer payment methods

func (ApiUpdateCustomerPaymentMethodsRequest) XChildCompanyId

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 (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

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 (ApiUpdateCustomerShippingContactsRequest) XChildCompanyId

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 (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 (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 (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

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

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

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

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

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

GetData returns the Data field value if set, zero value otherwise.

func (*ChargeResponseRefunds) GetDataOk

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

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

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

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

Execute executes the request

@return ChargeOrderResponse

func (*ChargesAPIService) UpdateCharge

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

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

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

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

func (o *Checkout) GetAllowedPaymentMethods() []string

GetAllowedPaymentMethods returns the AllowedPaymentMethods field value

func (*Checkout) GetAllowedPaymentMethodsOk

func (o *Checkout) GetAllowedPaymentMethodsOk() ([]string, bool)

GetAllowedPaymentMethodsOk returns a tuple with the AllowedPaymentMethods field value and a boolean to check if the value has been set.

func (*Checkout) GetExpiresAt

func (o *Checkout) GetExpiresAt() int64

GetExpiresAt returns the ExpiresAt field value

func (*Checkout) GetExpiresAtOk

func (o *Checkout) GetExpiresAtOk() (*int64, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.

func (*Checkout) GetName

func (o *Checkout) GetName() string

GetName returns the Name field value

func (*Checkout) GetNameOk

func (o *Checkout) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Checkout) GetNeedsShippingContact

func (o *Checkout) GetNeedsShippingContact() bool

GetNeedsShippingContact returns the NeedsShippingContact field value if set, zero value otherwise.

func (*Checkout) GetNeedsShippingContactOk

func (o *Checkout) 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 (*Checkout) GetOnDemandEnabled

func (o *Checkout) GetOnDemandEnabled() bool

GetOnDemandEnabled returns the OnDemandEnabled field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Checkout) GetOnDemandEnabledOk

func (o *Checkout) 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 (*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

func (o *Checkout) GetPaymentsLimitCount() int32

GetPaymentsLimitCount returns the PaymentsLimitCount field value if set, zero value otherwise.

func (*Checkout) GetPaymentsLimitCountOk

func (o *Checkout) 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.

func (*Checkout) GetRecurrent

func (o *Checkout) GetRecurrent() bool

GetRecurrent returns the Recurrent field value

func (*Checkout) GetRecurrentOk

func (o *Checkout) GetRecurrentOk() (*bool, bool)

GetRecurrentOk returns a tuple with the Recurrent field value and a boolean to check if the value has been set.

func (*Checkout) GetType

func (o *Checkout) GetType() string

GetType returns the Type field value

func (*Checkout) GetTypeOk

func (o *Checkout) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Checkout) HasNeedsShippingContact

func (o *Checkout) HasNeedsShippingContact() bool

HasNeedsShippingContact returns a boolean if a field has been set.

func (*Checkout) HasOnDemandEnabled

func (o *Checkout) HasOnDemandEnabled() bool

HasOnDemandEnabled returns a boolean if a field has been set.

func (*Checkout) HasPaymentsLimitCount

func (o *Checkout) HasPaymentsLimitCount() bool

HasPaymentsLimitCount returns a boolean if a field has been set.

func (Checkout) MarshalJSON

func (o Checkout) MarshalJSON() ([]byte, error)

func (*Checkout) SetAllowedPaymentMethods

func (o *Checkout) SetAllowedPaymentMethods(v []string)

SetAllowedPaymentMethods sets field value

func (*Checkout) SetExpiresAt

func (o *Checkout) SetExpiresAt(v int64)

SetExpiresAt sets field value

func (*Checkout) SetName

func (o *Checkout) SetName(v string)

SetName sets field value

func (*Checkout) SetNeedsShippingContact

func (o *Checkout) SetNeedsShippingContact(v bool)

SetNeedsShippingContact gets a reference to the given bool and assigns it to the NeedsShippingContact field.

func (*Checkout) SetOnDemandEnabled

func (o *Checkout) SetOnDemandEnabled(v bool)

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

func (o *Checkout) SetPaymentsLimitCount(v int32)

SetPaymentsLimitCount gets a reference to the given int32 and assigns it to the PaymentsLimitCount field.

func (*Checkout) SetRecurrent

func (o *Checkout) SetRecurrent(v bool)

SetRecurrent sets field value

func (*Checkout) SetType

func (o *Checkout) SetType(v string)

SetType sets field value

func (Checkout) ToMap

func (o Checkout) ToMap() (map[string]interface{}, error)

func (*Checkout) UnmarshalJSON

func (o *Checkout) UnmarshalJSON(data []byte) (err error)

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

GetCustomerInfo returns the CustomerInfo field value if set, zero value otherwise.

func (*CheckoutOrderTemplate) GetCustomerInfoOk

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

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) SetId

func (o *CheckoutResponse) SetId(v string)

SetId sets field value

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

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

Execute executes the request

@return GetCompaniesResponse

func (*CompaniesAPIService) GetCompany

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

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

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

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

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

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

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

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

GetAddress returns the Address field value if set, zero value otherwise.

func (*CompanyFiscalInfoResponse) GetAddressOk

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

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

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

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

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

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

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

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

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

GetAddress returns the Address field value

func (*CreateCustomerFiscalEntitiesResponse) GetAddressOk

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

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

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

GetId returns the Id field value

func (*CreateCustomerFiscalEntitiesResponse) GetIdOk

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

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

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

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

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

HasDefault returns a boolean if a field has been set.

func (*CreateCustomerFiscalEntitiesResponse) HasEmail

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

HasPhone returns a boolean if a field has been set.

func (*CreateCustomerFiscalEntitiesResponse) HasTaxId

HasTaxId returns a boolean if a field has been set.

func (CreateCustomerFiscalEntitiesResponse) MarshalJSON

func (o CreateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)

func (*CreateCustomerFiscalEntitiesResponse) SetAddress

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

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CreateCustomerFiscalEntitiesResponse) SetId

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

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

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*CreateCustomerFiscalEntitiesResponse) SetTaxId

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

func NewCustomer(email string, name string, phone string) *Customer

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

func (o *Customer) GetCorporate() bool

GetCorporate returns the Corporate field value if set, zero value otherwise.

func (*Customer) GetCorporateOk

func (o *Customer) 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 (*Customer) GetCustomReference

func (o *Customer) GetCustomReference() string

GetCustomReference returns the CustomReference field value if set, zero value otherwise.

func (*Customer) GetCustomReferenceOk

func (o *Customer) 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 (*Customer) GetDefaultPaymentSourceId

func (o *Customer) GetDefaultPaymentSourceId() string

GetDefaultPaymentSourceId returns the DefaultPaymentSourceId field value if set, zero value otherwise.

func (*Customer) GetDefaultPaymentSourceIdOk

func (o *Customer) 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 (*Customer) GetDefaultShippingContactId

func (o *Customer) GetDefaultShippingContactId() string

GetDefaultShippingContactId returns the DefaultShippingContactId field value if set, zero value otherwise.

func (*Customer) GetDefaultShippingContactIdOk

func (o *Customer) 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 (*Customer) GetEmail

func (o *Customer) GetEmail() string

GetEmail returns the Email field value

func (*Customer) GetEmailOk

func (o *Customer) GetEmailOk() (*string, bool)

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

func (o *Customer) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Customer) GetMetadataOk

func (o *Customer) 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 (*Customer) GetName

func (o *Customer) GetName() string

GetName returns the Name field value

func (*Customer) GetNameOk

func (o *Customer) GetNameOk() (*string, bool)

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) GetPhone

func (o *Customer) GetPhone() string

GetPhone returns the Phone field value

func (*Customer) GetPhoneOk

func (o *Customer) GetPhoneOk() (*string, bool)

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

func (o *Customer) HasAntifraudInfo() bool

HasAntifraudInfo returns a boolean if a field has been set.

func (*Customer) HasCorporate

func (o *Customer) HasCorporate() bool

HasCorporate returns a boolean if a field has been set.

func (*Customer) HasCustomReference

func (o *Customer) HasCustomReference() bool

HasCustomReference returns a boolean if a field has been set.

func (*Customer) HasDefaultPaymentSourceId

func (o *Customer) HasDefaultPaymentSourceId() bool

HasDefaultPaymentSourceId returns a boolean if a field has been set.

func (*Customer) HasDefaultShippingContactId

func (o *Customer) HasDefaultShippingContactId() bool

HasDefaultShippingContactId returns a boolean if a field has been set.

func (*Customer) HasFiscalEntities

func (o *Customer) HasFiscalEntities() bool

HasFiscalEntities returns a boolean if a field has been set.

func (*Customer) HasMetadata

func (o *Customer) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Customer) HasPaymentSources

func (o *Customer) HasPaymentSources() bool

HasPaymentSources returns a boolean if a field has been set.

func (*Customer) HasShippingContacts

func (o *Customer) HasShippingContacts() bool

HasShippingContacts returns a boolean if a field has been set.

func (Customer) MarshalJSON

func (o Customer) MarshalJSON() ([]byte, error)

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

func (o *Customer) SetCorporate(v bool)

SetCorporate gets a reference to the given bool and assigns it to the Corporate field.

func (*Customer) SetCustomReference

func (o *Customer) SetCustomReference(v string)

SetCustomReference gets a reference to the given string and assigns it to the CustomReference field.

func (*Customer) SetDefaultPaymentSourceId

func (o *Customer) SetDefaultPaymentSourceId(v string)

SetDefaultPaymentSourceId gets a reference to the given string and assigns it to the DefaultPaymentSourceId field.

func (*Customer) SetDefaultShippingContactId

func (o *Customer) SetDefaultShippingContactId(v string)

SetDefaultShippingContactId gets a reference to the given string and assigns it to the DefaultShippingContactId field.

func (*Customer) SetEmail

func (o *Customer) SetEmail(v string)

SetEmail sets field value

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

func (o *Customer) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*Customer) SetName

func (o *Customer) SetName(v string)

SetName sets field value

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) SetPhone

func (o *Customer) SetPhone(v string)

SetPhone sets field value

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) ToMap

func (o Customer) ToMap() (map[string]interface{}, error)

func (*Customer) UnmarshalJSON

func (o *Customer) UnmarshalJSON(data []byte) (err error)

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

GetAddress returns the Address field value

func (*CustomerFiscalEntitiesDataResponse) GetAddressOk

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

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

GetId returns the Id field value

func (*CustomerFiscalEntitiesDataResponse) GetIdOk

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

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

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

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

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

HasPhone returns a boolean if a field has been set.

func (*CustomerFiscalEntitiesDataResponse) HasTaxId

HasTaxId returns a boolean if a field has been set.

func (CustomerFiscalEntitiesDataResponse) MarshalJSON

func (o CustomerFiscalEntitiesDataResponse) MarshalJSON() ([]byte, error)

func (*CustomerFiscalEntitiesDataResponse) SetAddress

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

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CustomerFiscalEntitiesDataResponse) SetId

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

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

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*CustomerFiscalEntitiesDataResponse) SetTaxId

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

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

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

GetData returns the Data field value if set, zero value otherwise.

func (*CustomerFiscalEntitiesResponse) GetDataOk

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

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) SetEmail

func (o *CustomerInfo) SetEmail(v string)

SetEmail sets field value

func (*CustomerInfo) SetName

func (o *CustomerInfo) SetName(v string)

SetName sets field value

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) SetPhone

func (o *CustomerInfo) SetPhone(v string)

SetPhone sets field value

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

GetData returns the Data field value if set, zero value otherwise.

func (*CustomerPaymentMethodsResponse) GetDataOk

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

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) SetId

func (o *CustomerResponse) SetId(v string)

SetId sets field value

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

GetData returns the Data field value if set, zero value otherwise.

func (*CustomerResponseShippingContacts) GetDataOk

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

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

HasData returns a boolean if a field has been set.

func (CustomerResponseShippingContacts) MarshalJSON

func (o CustomerResponseShippingContacts) MarshalJSON() ([]byte, error)

func (*CustomerResponseShippingContacts) SetData

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

GetAddress returns the Address field value

func (*CustomerShippingContacts) GetAddressOk

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

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

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

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

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

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

GetAddress returns the Address field value

func (*CustomerShippingContactsDataResponse) GetAddressOk

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

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

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

GetId returns the Id field value

func (*CustomerShippingContactsDataResponse) GetIdOk

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

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

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

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

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

HasDefault returns a boolean if a field has been set.

func (*CustomerShippingContactsDataResponse) HasDeleted

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

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

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

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

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

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

GetAddress returns the Address field value if set, zero value otherwise.

func (*CustomerShippingContactsResponse) GetAddressOk

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

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

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

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

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

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

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

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

GetCity returns the City field value if set, zero value otherwise.

func (*CustomerShippingContactsResponseAddress) GetCityOk

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

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

GetObject returns the Object field value if set, zero value otherwise.

func (*CustomerShippingContactsResponseAddress) GetObjectOk

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

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

GetState returns the State field value if set, zero value otherwise.

func (*CustomerShippingContactsResponseAddress) GetStateOk

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

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

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

HasCity returns a boolean if a field has been set.

func (*CustomerShippingContactsResponseAddress) HasCountry

HasCountry returns a boolean if a field has been set.

func (*CustomerShippingContactsResponseAddress) HasObject

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

HasState returns a boolean if a field has been set.

func (*CustomerShippingContactsResponseAddress) HasStreet1

HasStreet1 returns a boolean if a field has been set.

func (*CustomerShippingContactsResponseAddress) HasStreet2

HasStreet2 returns a boolean if a field has been set.

func (CustomerShippingContactsResponseAddress) MarshalJSON

func (o CustomerShippingContactsResponseAddress) MarshalJSON() ([]byte, error)

func (*CustomerShippingContactsResponseAddress) SetCity

SetCity gets a reference to the given string and assigns it to the City field.

func (*CustomerShippingContactsResponseAddress) SetCountry

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*CustomerShippingContactsResponseAddress) SetObject

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

SetState gets a reference to the given string and assigns it to the State field.

func (*CustomerShippingContactsResponseAddress) SetStreet1

SetStreet1 gets a reference to the given string and assigns it to the Street1 field.

func (*CustomerShippingContactsResponseAddress) SetStreet2

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

GetAddress returns the Address field value if set, zero value otherwise.

func (*CustomerUpdateFiscalEntitiesRequest) GetAddressOk

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

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

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

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

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

HasPhone returns a boolean if a field has been set.

func (*CustomerUpdateFiscalEntitiesRequest) HasTaxId

HasTaxId returns a boolean if a field has been set.

func (CustomerUpdateFiscalEntitiesRequest) MarshalJSON

func (o CustomerUpdateFiscalEntitiesRequest) MarshalJSON() ([]byte, error)

func (*CustomerUpdateFiscalEntitiesRequest) SetAddress

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

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

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*CustomerUpdateFiscalEntitiesRequest) SetTaxId

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

GetAddress returns the Address field value if set, zero value otherwise.

func (*CustomerUpdateShippingContacts) GetAddressOk

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

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

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

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

Execute executes the request

@return CreateCustomerFiscalEntitiesResponse

func (*CustomersAPIService) DeleteCustomerById

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

Execute executes the request

@return CustomerResponse

func (*CustomersAPIService) GetCustomerById

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

Execute executes the request

@return CustomerResponse

func (*CustomersAPIService) GetCustomers

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

Execute executes the request

@return CustomersResponse

func (*CustomersAPIService) UpdateCustomer

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

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

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

func (o *Details) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (Details) MarshalJSON

func (o Details) MarshalJSON() ([]byte, error)

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) ToMap

func (o Details) ToMap() (map[string]interface{}, error)

func (*Details) UnmarshalJSON

func (o *Details) UnmarshalJSON(data []byte) (err error)

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

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

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

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

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

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

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

Execute executes the request

@return EventResponse

func (*EventsAPIService) GetEvents

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

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

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

GetData returns the Data field value if set, zero value otherwise.

func (*GetOrderDiscountLinesResponse) GetDataOk

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

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

GetData returns the Data field value if set, zero value otherwise.

func (*GetPaymentMethodResponse) GetDataOk

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

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

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

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

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

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) GetId

func (o *LogResponse) GetId() string

GetId returns the Id field value

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) SetId

func (o *LogResponse) SetId(v string)

SetId 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

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 (NullableApiKeyCreateResponse) IsSet

func (NullableApiKeyCreateResponse) MarshalJSON

func (v NullableApiKeyCreateResponse) MarshalJSON() ([]byte, error)

func (*NullableApiKeyCreateResponse) Set

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 (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 (NullableApiKeyResponse) IsSet

func (v NullableApiKeyResponse) IsSet() bool

func (NullableApiKeyResponse) MarshalJSON

func (v NullableApiKeyResponse) MarshalJSON() ([]byte, error)

func (*NullableApiKeyResponse) Set

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 (NullableApiKeyResponseOnDelete) Get

func (NullableApiKeyResponseOnDelete) IsSet

func (NullableApiKeyResponseOnDelete) MarshalJSON

func (v NullableApiKeyResponseOnDelete) MarshalJSON() ([]byte, error)

func (*NullableApiKeyResponseOnDelete) Set

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 (NullableApiKeyUpdateRequest) IsSet

func (NullableApiKeyUpdateRequest) MarshalJSON

func (v NullableApiKeyUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableApiKeyUpdateRequest) Set

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 (NullableBalanceCommonField) IsSet

func (v NullableBalanceCommonField) IsSet() bool

func (NullableBalanceCommonField) MarshalJSON

func (v NullableBalanceCommonField) MarshalJSON() ([]byte, error)

func (*NullableBalanceCommonField) Set

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 (NullableBalanceResponse) IsSet

func (v NullableBalanceResponse) IsSet() bool

func (NullableBalanceResponse) MarshalJSON

func (v NullableBalanceResponse) MarshalJSON() ([]byte, error)

func (*NullableBalanceResponse) Set

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 (NullableChargeOrderResponse) IsSet

func (NullableChargeOrderResponse) MarshalJSON

func (v NullableChargeOrderResponse) MarshalJSON() ([]byte, error)

func (*NullableChargeOrderResponse) Set

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 (NullableChargeOrderResponsePaymentMethod) Get

func (NullableChargeOrderResponsePaymentMethod) IsSet

func (NullableChargeOrderResponsePaymentMethod) MarshalJSON

func (*NullableChargeOrderResponsePaymentMethod) Set

func (*NullableChargeOrderResponsePaymentMethod) UnmarshalJSON

func (v *NullableChargeOrderResponsePaymentMethod) UnmarshalJSON(src []byte) error

func (*NullableChargeOrderResponsePaymentMethod) Unset

type NullableChargeRequest

type NullableChargeRequest struct {
	// contains filtered or unexported fields
}

func NewNullableChargeRequest

func NewNullableChargeRequest(val *ChargeRequest) *NullableChargeRequest

func (NullableChargeRequest) Get

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 (NullableChargeRequestPaymentMethod) Get

func (NullableChargeRequestPaymentMethod) IsSet

func (NullableChargeRequestPaymentMethod) MarshalJSON

func (v NullableChargeRequestPaymentMethod) MarshalJSON() ([]byte, error)

func (*NullableChargeRequestPaymentMethod) Set

func (*NullableChargeRequestPaymentMethod) UnmarshalJSON

func (v *NullableChargeRequestPaymentMethod) UnmarshalJSON(src []byte) error

func (*NullableChargeRequestPaymentMethod) Unset

type NullableChargeResponse

type NullableChargeResponse struct {
	// contains filtered or unexported fields
}

func NewNullableChargeResponse

func NewNullableChargeResponse(val *ChargeResponse) *NullableChargeResponse

func (NullableChargeResponse) Get

func (NullableChargeResponse) IsSet

func (v NullableChargeResponse) IsSet() bool

func (NullableChargeResponse) MarshalJSON

func (v NullableChargeResponse) MarshalJSON() ([]byte, error)

func (*NullableChargeResponse) Set

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 (NullableChargeResponseChannel) Get

func (NullableChargeResponseChannel) IsSet

func (NullableChargeResponseChannel) MarshalJSON

func (v NullableChargeResponseChannel) MarshalJSON() ([]byte, error)

func (*NullableChargeResponseChannel) Set

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 (NullableChargeResponsePaymentMethod) Get

func (NullableChargeResponsePaymentMethod) IsSet

func (NullableChargeResponsePaymentMethod) MarshalJSON

func (v NullableChargeResponsePaymentMethod) MarshalJSON() ([]byte, error)

func (*NullableChargeResponsePaymentMethod) Set

func (*NullableChargeResponsePaymentMethod) UnmarshalJSON

func (v *NullableChargeResponsePaymentMethod) UnmarshalJSON(src []byte) error

func (*NullableChargeResponsePaymentMethod) Unset

type NullableChargeResponseRefunds

type NullableChargeResponseRefunds struct {
	// contains filtered or unexported fields
}

func (NullableChargeResponseRefunds) Get

func (NullableChargeResponseRefunds) IsSet

func (NullableChargeResponseRefunds) MarshalJSON

func (v NullableChargeResponseRefunds) MarshalJSON() ([]byte, error)

func (*NullableChargeResponseRefunds) Set

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 (NullableChargeResponseRefundsData) Get

func (NullableChargeResponseRefundsData) IsSet

func (NullableChargeResponseRefundsData) MarshalJSON

func (v NullableChargeResponseRefundsData) MarshalJSON() ([]byte, error)

func (*NullableChargeResponseRefundsData) Set

func (*NullableChargeResponseRefundsData) UnmarshalJSON

func (v *NullableChargeResponseRefundsData) UnmarshalJSON(src []byte) error

func (*NullableChargeResponseRefundsData) Unset

type NullableChargeUpdateRequest

type NullableChargeUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableChargeUpdateRequest

func NewNullableChargeUpdateRequest(val *ChargeUpdateRequest) *NullableChargeUpdateRequest

func (NullableChargeUpdateRequest) Get

func (NullableChargeUpdateRequest) IsSet

func (NullableChargeUpdateRequest) MarshalJSON

func (v NullableChargeUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableChargeUpdateRequest) Set

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 (NullableChargesDataResponse) IsSet

func (NullableChargesDataResponse) MarshalJSON

func (v NullableChargesDataResponse) MarshalJSON() ([]byte, error)

func (*NullableChargesDataResponse) Set

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 (NullableCheckoutOrderTemplate) Get

func (NullableCheckoutOrderTemplate) IsSet

func (NullableCheckoutOrderTemplate) MarshalJSON

func (v NullableCheckoutOrderTemplate) MarshalJSON() ([]byte, error)

func (*NullableCheckoutOrderTemplate) Set

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 (NullableCheckoutOrderTemplateCustomerInfo) Get

func (NullableCheckoutOrderTemplateCustomerInfo) IsSet

func (NullableCheckoutOrderTemplateCustomerInfo) MarshalJSON

func (*NullableCheckoutOrderTemplateCustomerInfo) Set

func (*NullableCheckoutOrderTemplateCustomerInfo) UnmarshalJSON

func (v *NullableCheckoutOrderTemplateCustomerInfo) UnmarshalJSON(src []byte) error

func (*NullableCheckoutOrderTemplateCustomerInfo) Unset

type NullableCheckoutRequest

type NullableCheckoutRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCheckoutRequest

func NewNullableCheckoutRequest(val *CheckoutRequest) *NullableCheckoutRequest

func (NullableCheckoutRequest) Get

func (NullableCheckoutRequest) IsSet

func (v NullableCheckoutRequest) IsSet() bool

func (NullableCheckoutRequest) MarshalJSON

func (v NullableCheckoutRequest) MarshalJSON() ([]byte, error)

func (*NullableCheckoutRequest) Set

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 (NullableCheckoutResponse) IsSet

func (v NullableCheckoutResponse) IsSet() bool

func (NullableCheckoutResponse) MarshalJSON

func (v NullableCheckoutResponse) MarshalJSON() ([]byte, error)

func (*NullableCheckoutResponse) Set

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 (NullableCheckoutsResponse) IsSet

func (v NullableCheckoutsResponse) IsSet() bool

func (NullableCheckoutsResponse) MarshalJSON

func (v NullableCheckoutsResponse) MarshalJSON() ([]byte, error)

func (*NullableCheckoutsResponse) Set

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 (NullableCompanyFiscalInfoAddressResponse) Get

func (NullableCompanyFiscalInfoAddressResponse) IsSet

func (NullableCompanyFiscalInfoAddressResponse) MarshalJSON

func (*NullableCompanyFiscalInfoAddressResponse) Set

func (*NullableCompanyFiscalInfoAddressResponse) UnmarshalJSON

func (v *NullableCompanyFiscalInfoAddressResponse) UnmarshalJSON(src []byte) error

func (*NullableCompanyFiscalInfoAddressResponse) Unset

type NullableCompanyFiscalInfoResponse

type NullableCompanyFiscalInfoResponse struct {
	// contains filtered or unexported fields
}

func (NullableCompanyFiscalInfoResponse) Get

func (NullableCompanyFiscalInfoResponse) IsSet

func (NullableCompanyFiscalInfoResponse) MarshalJSON

func (v NullableCompanyFiscalInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableCompanyFiscalInfoResponse) Set

func (*NullableCompanyFiscalInfoResponse) UnmarshalJSON

func (v *NullableCompanyFiscalInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableCompanyFiscalInfoResponse) Unset

type NullableCompanyPayoutDestinationResponse

type NullableCompanyPayoutDestinationResponse struct {
	// contains filtered or unexported fields
}

func (NullableCompanyPayoutDestinationResponse) Get

func (NullableCompanyPayoutDestinationResponse) IsSet

func (NullableCompanyPayoutDestinationResponse) MarshalJSON

func (*NullableCompanyPayoutDestinationResponse) Set

func (*NullableCompanyPayoutDestinationResponse) UnmarshalJSON

func (v *NullableCompanyPayoutDestinationResponse) UnmarshalJSON(src []byte) error

func (*NullableCompanyPayoutDestinationResponse) Unset

type NullableCompanyResponse

type NullableCompanyResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCompanyResponse

func NewNullableCompanyResponse(val *CompanyResponse) *NullableCompanyResponse

func (NullableCompanyResponse) Get

func (NullableCompanyResponse) IsSet

func (v NullableCompanyResponse) IsSet() bool

func (NullableCompanyResponse) MarshalJSON

func (v NullableCompanyResponse) MarshalJSON() ([]byte, error)

func (*NullableCompanyResponse) Set

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 (NullableCreateCustomerFiscalEntitiesResponse) Get

func (NullableCreateCustomerFiscalEntitiesResponse) IsSet

func (NullableCreateCustomerFiscalEntitiesResponse) MarshalJSON

func (*NullableCreateCustomerFiscalEntitiesResponse) Set

func (*NullableCreateCustomerFiscalEntitiesResponse) UnmarshalJSON

func (*NullableCreateCustomerFiscalEntitiesResponse) Unset

type NullableCreateCustomerPaymentMethodsRequest

type NullableCreateCustomerPaymentMethodsRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateCustomerPaymentMethodsRequest) Get

func (NullableCreateCustomerPaymentMethodsRequest) IsSet

func (NullableCreateCustomerPaymentMethodsRequest) MarshalJSON

func (*NullableCreateCustomerPaymentMethodsRequest) Set

func (*NullableCreateCustomerPaymentMethodsRequest) UnmarshalJSON

func (v *NullableCreateCustomerPaymentMethodsRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateCustomerPaymentMethodsRequest) Unset

type NullableCreateCustomerPaymentMethodsResponse

type NullableCreateCustomerPaymentMethodsResponse struct {
	// contains filtered or unexported fields
}

func (NullableCreateCustomerPaymentMethodsResponse) Get

func (NullableCreateCustomerPaymentMethodsResponse) IsSet

func (NullableCreateCustomerPaymentMethodsResponse) MarshalJSON

func (*NullableCreateCustomerPaymentMethodsResponse) Set

func (*NullableCreateCustomerPaymentMethodsResponse) UnmarshalJSON

func (*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 (NullableCustomerAddress) IsSet

func (v NullableCustomerAddress) IsSet() bool

func (NullableCustomerAddress) MarshalJSON

func (v NullableCustomerAddress) MarshalJSON() ([]byte, error)

func (*NullableCustomerAddress) Set

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 (NullableCustomerAntifraudInfo) Get

func (NullableCustomerAntifraudInfo) IsSet

func (NullableCustomerAntifraudInfo) MarshalJSON

func (v NullableCustomerAntifraudInfo) MarshalJSON() ([]byte, error)

func (*NullableCustomerAntifraudInfo) Set

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 (NullableCustomerAntifraudInfoResponse) Get

func (NullableCustomerAntifraudInfoResponse) IsSet

func (NullableCustomerAntifraudInfoResponse) MarshalJSON

func (v NullableCustomerAntifraudInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableCustomerAntifraudInfoResponse) Set

func (*NullableCustomerAntifraudInfoResponse) UnmarshalJSON

func (v *NullableCustomerAntifraudInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableCustomerAntifraudInfoResponse) Unset

type NullableCustomerFiscalEntitiesDataResponse

type NullableCustomerFiscalEntitiesDataResponse struct {
	// contains filtered or unexported fields
}

func (NullableCustomerFiscalEntitiesDataResponse) Get

func (NullableCustomerFiscalEntitiesDataResponse) IsSet

func (NullableCustomerFiscalEntitiesDataResponse) MarshalJSON

func (*NullableCustomerFiscalEntitiesDataResponse) Set

func (*NullableCustomerFiscalEntitiesDataResponse) UnmarshalJSON

func (v *NullableCustomerFiscalEntitiesDataResponse) UnmarshalJSON(src []byte) error

func (*NullableCustomerFiscalEntitiesDataResponse) Unset

type NullableCustomerFiscalEntitiesRequest

type NullableCustomerFiscalEntitiesRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerFiscalEntitiesRequest) Get

func (NullableCustomerFiscalEntitiesRequest) IsSet

func (NullableCustomerFiscalEntitiesRequest) MarshalJSON

func (v NullableCustomerFiscalEntitiesRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerFiscalEntitiesRequest) Set

func (*NullableCustomerFiscalEntitiesRequest) UnmarshalJSON

func (v *NullableCustomerFiscalEntitiesRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerFiscalEntitiesRequest) Unset

type NullableCustomerFiscalEntitiesResponse

type NullableCustomerFiscalEntitiesResponse struct {
	// contains filtered or unexported fields
}

func (NullableCustomerFiscalEntitiesResponse) Get

func (NullableCustomerFiscalEntitiesResponse) IsSet

func (NullableCustomerFiscalEntitiesResponse) MarshalJSON

func (v NullableCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)

func (*NullableCustomerFiscalEntitiesResponse) Set

func (*NullableCustomerFiscalEntitiesResponse) UnmarshalJSON

func (v *NullableCustomerFiscalEntitiesResponse) UnmarshalJSON(src []byte) error

func (*NullableCustomerFiscalEntitiesResponse) Unset

type NullableCustomerInfo

type NullableCustomerInfo struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerInfo

func NewNullableCustomerInfo(val *CustomerInfo) *NullableCustomerInfo

func (NullableCustomerInfo) Get

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 (NullableCustomerInfoJustCustomerId) Get

func (NullableCustomerInfoJustCustomerId) IsSet

func (NullableCustomerInfoJustCustomerId) MarshalJSON

func (v NullableCustomerInfoJustCustomerId) MarshalJSON() ([]byte, error)

func (*NullableCustomerInfoJustCustomerId) Set

func (*NullableCustomerInfoJustCustomerId) UnmarshalJSON

func (v *NullableCustomerInfoJustCustomerId) UnmarshalJSON(src []byte) error

func (*NullableCustomerInfoJustCustomerId) Unset

type NullableCustomerInfoJustCustomerIdResponse

type NullableCustomerInfoJustCustomerIdResponse struct {
	// contains filtered or unexported fields
}

func (NullableCustomerInfoJustCustomerIdResponse) Get

func (NullableCustomerInfoJustCustomerIdResponse) IsSet

func (NullableCustomerInfoJustCustomerIdResponse) MarshalJSON

func (*NullableCustomerInfoJustCustomerIdResponse) Set

func (*NullableCustomerInfoJustCustomerIdResponse) UnmarshalJSON

func (v *NullableCustomerInfoJustCustomerIdResponse) UnmarshalJSON(src []byte) error

func (*NullableCustomerInfoJustCustomerIdResponse) Unset

type NullableCustomerPaymentMethodRequest

type NullableCustomerPaymentMethodRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerPaymentMethodRequest) Get

func (NullableCustomerPaymentMethodRequest) IsSet

func (NullableCustomerPaymentMethodRequest) MarshalJSON

func (v NullableCustomerPaymentMethodRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerPaymentMethodRequest) Set

func (*NullableCustomerPaymentMethodRequest) UnmarshalJSON

func (v *NullableCustomerPaymentMethodRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerPaymentMethodRequest) Unset

type NullableCustomerPaymentMethodsData

type NullableCustomerPaymentMethodsData struct {
	// contains filtered or unexported fields
}

func (NullableCustomerPaymentMethodsData) Get

func (NullableCustomerPaymentMethodsData) IsSet

func (NullableCustomerPaymentMethodsData) MarshalJSON

func (v NullableCustomerPaymentMethodsData) MarshalJSON() ([]byte, error)

func (*NullableCustomerPaymentMethodsData) Set

func (*NullableCustomerPaymentMethodsData) UnmarshalJSON

func (v *NullableCustomerPaymentMethodsData) UnmarshalJSON(src []byte) error

func (*NullableCustomerPaymentMethodsData) Unset

type NullableCustomerPaymentMethodsRequest

type NullableCustomerPaymentMethodsRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerPaymentMethodsRequest) Get

func (NullableCustomerPaymentMethodsRequest) IsSet

func (NullableCustomerPaymentMethodsRequest) MarshalJSON

func (v NullableCustomerPaymentMethodsRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerPaymentMethodsRequest) Set

func (*NullableCustomerPaymentMethodsRequest) UnmarshalJSON

func (v *NullableCustomerPaymentMethodsRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerPaymentMethodsRequest) Unset

type NullableCustomerPaymentMethodsResponse

type NullableCustomerPaymentMethodsResponse struct {
	// contains filtered or unexported fields
}

func (NullableCustomerPaymentMethodsResponse) Get

func (NullableCustomerPaymentMethodsResponse) IsSet

func (NullableCustomerPaymentMethodsResponse) MarshalJSON

func (v NullableCustomerPaymentMethodsResponse) MarshalJSON() ([]byte, error)

func (*NullableCustomerPaymentMethodsResponse) Set

func (*NullableCustomerPaymentMethodsResponse) UnmarshalJSON

func (v *NullableCustomerPaymentMethodsResponse) UnmarshalJSON(src []byte) error

func (*NullableCustomerPaymentMethodsResponse) Unset

type NullableCustomerResponse

type NullableCustomerResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerResponse

func NewNullableCustomerResponse(val *CustomerResponse) *NullableCustomerResponse

func (NullableCustomerResponse) Get

func (NullableCustomerResponse) IsSet

func (v NullableCustomerResponse) IsSet() bool

func (NullableCustomerResponse) MarshalJSON

func (v NullableCustomerResponse) MarshalJSON() ([]byte, error)

func (*NullableCustomerResponse) Set

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 (NullableCustomerResponseShippingContacts) Get

func (NullableCustomerResponseShippingContacts) IsSet

func (NullableCustomerResponseShippingContacts) MarshalJSON

func (*NullableCustomerResponseShippingContacts) Set

func (*NullableCustomerResponseShippingContacts) UnmarshalJSON

func (v *NullableCustomerResponseShippingContacts) UnmarshalJSON(src []byte) error

func (*NullableCustomerResponseShippingContacts) Unset

type NullableCustomerShippingContacts

type NullableCustomerShippingContacts struct {
	// contains filtered or unexported fields
}

func (NullableCustomerShippingContacts) Get

func (NullableCustomerShippingContacts) IsSet

func (NullableCustomerShippingContacts) MarshalJSON

func (v NullableCustomerShippingContacts) MarshalJSON() ([]byte, error)

func (*NullableCustomerShippingContacts) Set

func (*NullableCustomerShippingContacts) UnmarshalJSON

func (v *NullableCustomerShippingContacts) UnmarshalJSON(src []byte) error

func (*NullableCustomerShippingContacts) Unset

type NullableCustomerShippingContactsAddress

type NullableCustomerShippingContactsAddress struct {
	// contains filtered or unexported fields
}

func (NullableCustomerShippingContactsAddress) Get

func (NullableCustomerShippingContactsAddress) IsSet

func (NullableCustomerShippingContactsAddress) MarshalJSON

func (v NullableCustomerShippingContactsAddress) MarshalJSON() ([]byte, error)

func (*NullableCustomerShippingContactsAddress) Set

func (*NullableCustomerShippingContactsAddress) UnmarshalJSON

func (v *NullableCustomerShippingContactsAddress) UnmarshalJSON(src []byte) error

func (*NullableCustomerShippingContactsAddress) Unset

type NullableCustomerShippingContactsDataResponse

type NullableCustomerShippingContactsDataResponse struct {
	// contains filtered or unexported fields
}

func (NullableCustomerShippingContactsDataResponse) Get

func (NullableCustomerShippingContactsDataResponse) IsSet

func (NullableCustomerShippingContactsDataResponse) MarshalJSON

func (*NullableCustomerShippingContactsDataResponse) Set

func (*NullableCustomerShippingContactsDataResponse) UnmarshalJSON

func (*NullableCustomerShippingContactsDataResponse) Unset

type NullableCustomerShippingContactsResponse

type NullableCustomerShippingContactsResponse struct {
	// contains filtered or unexported fields
}

func (NullableCustomerShippingContactsResponse) Get

func (NullableCustomerShippingContactsResponse) IsSet

func (NullableCustomerShippingContactsResponse) MarshalJSON

func (*NullableCustomerShippingContactsResponse) Set

func (*NullableCustomerShippingContactsResponse) UnmarshalJSON

func (v *NullableCustomerShippingContactsResponse) UnmarshalJSON(src []byte) error

func (*NullableCustomerShippingContactsResponse) Unset

type NullableCustomerShippingContactsResponseAddress

type NullableCustomerShippingContactsResponseAddress struct {
	// contains filtered or unexported fields
}

func (NullableCustomerShippingContactsResponseAddress) Get

func (NullableCustomerShippingContactsResponseAddress) IsSet

func (NullableCustomerShippingContactsResponseAddress) MarshalJSON

func (*NullableCustomerShippingContactsResponseAddress) Set

func (*NullableCustomerShippingContactsResponseAddress) UnmarshalJSON

func (*NullableCustomerShippingContactsResponseAddress) Unset

type NullableCustomerUpdateFiscalEntitiesRequest

type NullableCustomerUpdateFiscalEntitiesRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerUpdateFiscalEntitiesRequest) Get

func (NullableCustomerUpdateFiscalEntitiesRequest) IsSet

func (NullableCustomerUpdateFiscalEntitiesRequest) MarshalJSON

func (*NullableCustomerUpdateFiscalEntitiesRequest) Set

func (*NullableCustomerUpdateFiscalEntitiesRequest) UnmarshalJSON

func (v *NullableCustomerUpdateFiscalEntitiesRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerUpdateFiscalEntitiesRequest) Unset

type NullableCustomerUpdateShippingContacts

type NullableCustomerUpdateShippingContacts struct {
	// contains filtered or unexported fields
}

func (NullableCustomerUpdateShippingContacts) Get

func (NullableCustomerUpdateShippingContacts) IsSet

func (NullableCustomerUpdateShippingContacts) MarshalJSON

func (v NullableCustomerUpdateShippingContacts) MarshalJSON() ([]byte, error)

func (*NullableCustomerUpdateShippingContacts) Set

func (*NullableCustomerUpdateShippingContacts) UnmarshalJSON

func (v *NullableCustomerUpdateShippingContacts) UnmarshalJSON(src []byte) error

func (*NullableCustomerUpdateShippingContacts) Unset

type NullableCustomersResponse

type NullableCustomersResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCustomersResponse

func NewNullableCustomersResponse(val *CustomersResponse) *NullableCustomersResponse

func (NullableCustomersResponse) Get

func (NullableCustomersResponse) IsSet

func (v NullableCustomersResponse) IsSet() bool

func (NullableCustomersResponse) MarshalJSON

func (v NullableCustomersResponse) MarshalJSON() ([]byte, error)

func (*NullableCustomersResponse) Set

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 (NullableDeleteApiKeysResponse) Get

func (NullableDeleteApiKeysResponse) IsSet

func (NullableDeleteApiKeysResponse) MarshalJSON

func (v NullableDeleteApiKeysResponse) MarshalJSON() ([]byte, error)

func (*NullableDeleteApiKeysResponse) Set

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 (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 (NullableDiscountLinesDataResponse) Get

func (NullableDiscountLinesDataResponse) IsSet

func (NullableDiscountLinesDataResponse) MarshalJSON

func (v NullableDiscountLinesDataResponse) MarshalJSON() ([]byte, error)

func (*NullableDiscountLinesDataResponse) Set

func (*NullableDiscountLinesDataResponse) UnmarshalJSON

func (v *NullableDiscountLinesDataResponse) UnmarshalJSON(src []byte) error

func (*NullableDiscountLinesDataResponse) Unset

type NullableDiscountLinesResponse

type NullableDiscountLinesResponse struct {
	// contains filtered or unexported fields
}

func (NullableDiscountLinesResponse) Get

func (NullableDiscountLinesResponse) IsSet

func (NullableDiscountLinesResponse) MarshalJSON

func (v NullableDiscountLinesResponse) MarshalJSON() ([]byte, error)

func (*NullableDiscountLinesResponse) Set

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 (NullableEmailCheckoutRequest) IsSet

func (NullableEmailCheckoutRequest) MarshalJSON

func (v NullableEmailCheckoutRequest) MarshalJSON() ([]byte, error)

func (*NullableEmailCheckoutRequest) Set

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 (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 (NullableEventsResendResponse) IsSet

func (NullableEventsResendResponse) MarshalJSON

func (v NullableEventsResendResponse) MarshalJSON() ([]byte, error)

func (*NullableEventsResendResponse) Set

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 (NullableFiscalEntityAddress) IsSet

func (NullableFiscalEntityAddress) MarshalJSON

func (v NullableFiscalEntityAddress) MarshalJSON() ([]byte, error)

func (*NullableFiscalEntityAddress) Set

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 (NullableGetApiKeysResponse) IsSet

func (v NullableGetApiKeysResponse) IsSet() bool

func (NullableGetApiKeysResponse) MarshalJSON

func (v NullableGetApiKeysResponse) MarshalJSON() ([]byte, error)

func (*NullableGetApiKeysResponse) Set

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 (NullableGetChargesResponse) IsSet

func (v NullableGetChargesResponse) IsSet() bool

func (NullableGetChargesResponse) MarshalJSON

func (v NullableGetChargesResponse) MarshalJSON() ([]byte, error)

func (*NullableGetChargesResponse) Set

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 (NullableGetCompaniesResponse) IsSet

func (NullableGetCompaniesResponse) MarshalJSON

func (v NullableGetCompaniesResponse) MarshalJSON() ([]byte, error)

func (*NullableGetCompaniesResponse) Set

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 (NullableGetCustomerPaymentMethodDataResponse) Get

func (NullableGetCustomerPaymentMethodDataResponse) IsSet

func (NullableGetCustomerPaymentMethodDataResponse) MarshalJSON

func (*NullableGetCustomerPaymentMethodDataResponse) Set

func (*NullableGetCustomerPaymentMethodDataResponse) UnmarshalJSON

func (*NullableGetCustomerPaymentMethodDataResponse) Unset

type NullableGetEventsResponse

type NullableGetEventsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetEventsResponse

func NewNullableGetEventsResponse(val *GetEventsResponse) *NullableGetEventsResponse

func (NullableGetEventsResponse) Get

func (NullableGetEventsResponse) IsSet

func (v NullableGetEventsResponse) IsSet() bool

func (NullableGetEventsResponse) MarshalJSON

func (v NullableGetEventsResponse) MarshalJSON() ([]byte, error)

func (*NullableGetEventsResponse) Set

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 (NullableGetOrderDiscountLinesResponse) Get

func (NullableGetOrderDiscountLinesResponse) IsSet

func (NullableGetOrderDiscountLinesResponse) MarshalJSON

func (v NullableGetOrderDiscountLinesResponse) MarshalJSON() ([]byte, error)

func (*NullableGetOrderDiscountLinesResponse) Set

func (*NullableGetOrderDiscountLinesResponse) UnmarshalJSON

func (v *NullableGetOrderDiscountLinesResponse) UnmarshalJSON(src []byte) error

func (*NullableGetOrderDiscountLinesResponse) Unset

type NullableGetOrdersResponse

type NullableGetOrdersResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetOrdersResponse

func NewNullableGetOrdersResponse(val *GetOrdersResponse) *NullableGetOrdersResponse

func (NullableGetOrdersResponse) Get

func (NullableGetOrdersResponse) IsSet

func (v NullableGetOrdersResponse) IsSet() bool

func (NullableGetOrdersResponse) MarshalJSON

func (v NullableGetOrdersResponse) MarshalJSON() ([]byte, error)

func (*NullableGetOrdersResponse) Set

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 (NullableGetPaymentMethodResponse) Get

func (NullableGetPaymentMethodResponse) IsSet

func (NullableGetPaymentMethodResponse) MarshalJSON

func (v NullableGetPaymentMethodResponse) MarshalJSON() ([]byte, error)

func (*NullableGetPaymentMethodResponse) Set

func (*NullableGetPaymentMethodResponse) UnmarshalJSON

func (v *NullableGetPaymentMethodResponse) UnmarshalJSON(src []byte) error

func (*NullableGetPaymentMethodResponse) Unset

type NullableGetTransactionsResponse

type NullableGetTransactionsResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetTransactionsResponse) Get

func (NullableGetTransactionsResponse) IsSet

func (NullableGetTransactionsResponse) MarshalJSON

func (v NullableGetTransactionsResponse) MarshalJSON() ([]byte, error)

func (*NullableGetTransactionsResponse) Set

func (*NullableGetTransactionsResponse) UnmarshalJSON

func (v *NullableGetTransactionsResponse) UnmarshalJSON(src []byte) error

func (*NullableGetTransactionsResponse) Unset

type NullableGetTransfersResponse

type NullableGetTransfersResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetTransfersResponse

func NewNullableGetTransfersResponse(val *GetTransfersResponse) *NullableGetTransfersResponse

func (NullableGetTransfersResponse) Get

func (NullableGetTransfersResponse) IsSet

func (NullableGetTransfersResponse) MarshalJSON

func (v NullableGetTransfersResponse) MarshalJSON() ([]byte, error)

func (*NullableGetTransfersResponse) Set

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 (NullableGetWebhookKeysResponse) Get

func (NullableGetWebhookKeysResponse) IsSet

func (NullableGetWebhookKeysResponse) MarshalJSON

func (v NullableGetWebhookKeysResponse) MarshalJSON() ([]byte, error)

func (*NullableGetWebhookKeysResponse) Set

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 (NullableGetWebhooksResponse) IsSet

func (NullableGetWebhooksResponse) MarshalJSON

func (v NullableGetWebhooksResponse) MarshalJSON() ([]byte, error)

func (*NullableGetWebhooksResponse) Set

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 (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 (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 (NullableLogsResponseData) IsSet

func (v NullableLogsResponseData) IsSet() bool

func (NullableLogsResponseData) MarshalJSON

func (v NullableLogsResponseData) MarshalJSON() ([]byte, error)

func (*NullableLogsResponseData) Set

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 (NullableOrderCaptureRequest) IsSet

func (NullableOrderCaptureRequest) MarshalJSON

func (v NullableOrderCaptureRequest) MarshalJSON() ([]byte, error)

func (*NullableOrderCaptureRequest) Set

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 (NullableOrderCustomerInfoResponse) Get

func (NullableOrderCustomerInfoResponse) IsSet

func (NullableOrderCustomerInfoResponse) MarshalJSON

func (v NullableOrderCustomerInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableOrderCustomerInfoResponse) Set

func (*NullableOrderCustomerInfoResponse) UnmarshalJSON

func (v *NullableOrderCustomerInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableOrderCustomerInfoResponse) Unset

type NullableOrderDiscountLinesRequest

type NullableOrderDiscountLinesRequest struct {
	// contains filtered or unexported fields
}

func (NullableOrderDiscountLinesRequest) Get

func (NullableOrderDiscountLinesRequest) IsSet

func (NullableOrderDiscountLinesRequest) MarshalJSON

func (v NullableOrderDiscountLinesRequest) MarshalJSON() ([]byte, error)

func (*NullableOrderDiscountLinesRequest) Set

func (*NullableOrderDiscountLinesRequest) UnmarshalJSON

func (v *NullableOrderDiscountLinesRequest) UnmarshalJSON(src []byte) error

func (*NullableOrderDiscountLinesRequest) Unset

type NullableOrderFiscalEntityAddressResponse

type NullableOrderFiscalEntityAddressResponse struct {
	// contains filtered or unexported fields
}

func (NullableOrderFiscalEntityAddressResponse) Get

func (NullableOrderFiscalEntityAddressResponse) IsSet

func (NullableOrderFiscalEntityAddressResponse) MarshalJSON

func (*NullableOrderFiscalEntityAddressResponse) Set

func (*NullableOrderFiscalEntityAddressResponse) UnmarshalJSON

func (v *NullableOrderFiscalEntityAddressResponse) UnmarshalJSON(src []byte) error

func (*NullableOrderFiscalEntityAddressResponse) Unset

type NullableOrderFiscalEntityRequest

type NullableOrderFiscalEntityRequest struct {
	// contains filtered or unexported fields
}

func (NullableOrderFiscalEntityRequest) Get

func (NullableOrderFiscalEntityRequest) IsSet

func (NullableOrderFiscalEntityRequest) MarshalJSON

func (v NullableOrderFiscalEntityRequest) MarshalJSON() ([]byte, error)

func (*NullableOrderFiscalEntityRequest) Set

func (*NullableOrderFiscalEntityRequest) UnmarshalJSON

func (v *NullableOrderFiscalEntityRequest) UnmarshalJSON(src []byte) error

func (*NullableOrderFiscalEntityRequest) Unset

type NullableOrderFiscalEntityResponse

type NullableOrderFiscalEntityResponse struct {
	// contains filtered or unexported fields
}

func (NullableOrderFiscalEntityResponse) Get

func (NullableOrderFiscalEntityResponse) IsSet

func (NullableOrderFiscalEntityResponse) MarshalJSON

func (v NullableOrderFiscalEntityResponse) MarshalJSON() ([]byte, error)

func (*NullableOrderFiscalEntityResponse) Set

func (*NullableOrderFiscalEntityResponse) UnmarshalJSON

func (v *NullableOrderFiscalEntityResponse) UnmarshalJSON(src []byte) error

func (*NullableOrderFiscalEntityResponse) Unset

type NullableOrderNextActionResponse

type NullableOrderNextActionResponse struct {
	// contains filtered or unexported fields
}

func (NullableOrderNextActionResponse) Get

func (NullableOrderNextActionResponse) IsSet

func (NullableOrderNextActionResponse) MarshalJSON

func (v NullableOrderNextActionResponse) MarshalJSON() ([]byte, error)

func (*NullableOrderNextActionResponse) Set

func (*NullableOrderNextActionResponse) UnmarshalJSON

func (v *NullableOrderNextActionResponse) UnmarshalJSON(src []byte) error

func (*NullableOrderNextActionResponse) Unset

type NullableOrderNextActionResponseRedirectToUrl

type NullableOrderNextActionResponseRedirectToUrl struct {
	// contains filtered or unexported fields
}

func (NullableOrderNextActionResponseRedirectToUrl) Get

func (NullableOrderNextActionResponseRedirectToUrl) IsSet

func (NullableOrderNextActionResponseRedirectToUrl) MarshalJSON

func (*NullableOrderNextActionResponseRedirectToUrl) Set

func (*NullableOrderNextActionResponseRedirectToUrl) UnmarshalJSON

func (*NullableOrderNextActionResponseRedirectToUrl) Unset

type NullableOrderRefundRequest

type NullableOrderRefundRequest struct {
	// contains filtered or unexported fields
}

func NewNullableOrderRefundRequest

func NewNullableOrderRefundRequest(val *OrderRefundRequest) *NullableOrderRefundRequest

func (NullableOrderRefundRequest) Get

func (NullableOrderRefundRequest) IsSet

func (v NullableOrderRefundRequest) IsSet() bool

func (NullableOrderRefundRequest) MarshalJSON

func (v NullableOrderRefundRequest) MarshalJSON() ([]byte, error)

func (*NullableOrderRefundRequest) Set

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 (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 (NullableOrderRequestCustomerInfo) Get

func (NullableOrderRequestCustomerInfo) IsSet

func (NullableOrderRequestCustomerInfo) MarshalJSON

func (v NullableOrderRequestCustomerInfo) MarshalJSON() ([]byte, error)

func (*NullableOrderRequestCustomerInfo) Set

func (*NullableOrderRequestCustomerInfo) UnmarshalJSON

func (v *NullableOrderRequestCustomerInfo) UnmarshalJSON(src []byte) error

func (*NullableOrderRequestCustomerInfo) Unset

type NullableOrderResponse

type NullableOrderResponse struct {
	// contains filtered or unexported fields
}

func NewNullableOrderResponse

func NewNullableOrderResponse(val *OrderResponse) *NullableOrderResponse

func (NullableOrderResponse) Get

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 (NullableOrderResponseCharges) IsSet

func (NullableOrderResponseCharges) MarshalJSON

func (v NullableOrderResponseCharges) MarshalJSON() ([]byte, error)

func (*NullableOrderResponseCharges) Set

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 (NullableOrderResponseCheckout) Get

func (NullableOrderResponseCheckout) IsSet

func (NullableOrderResponseCheckout) MarshalJSON

func (v NullableOrderResponseCheckout) MarshalJSON() ([]byte, error)

func (*NullableOrderResponseCheckout) Set

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 (NullableOrderResponseCustomerInfo) Get

func (NullableOrderResponseCustomerInfo) IsSet

func (NullableOrderResponseCustomerInfo) MarshalJSON

func (v NullableOrderResponseCustomerInfo) MarshalJSON() ([]byte, error)

func (*NullableOrderResponseCustomerInfo) Set

func (*NullableOrderResponseCustomerInfo) UnmarshalJSON

func (v *NullableOrderResponseCustomerInfo) UnmarshalJSON(src []byte) error

func (*NullableOrderResponseCustomerInfo) Unset

type NullableOrderResponseDiscountLines

type NullableOrderResponseDiscountLines struct {
	// contains filtered or unexported fields
}

func (NullableOrderResponseDiscountLines) Get

func (NullableOrderResponseDiscountLines) IsSet

func (NullableOrderResponseDiscountLines) MarshalJSON

func (v NullableOrderResponseDiscountLines) MarshalJSON() ([]byte, error)

func (*NullableOrderResponseDiscountLines) Set

func (*NullableOrderResponseDiscountLines) UnmarshalJSON

func (v *NullableOrderResponseDiscountLines) UnmarshalJSON(src []byte) error

func (*NullableOrderResponseDiscountLines) Unset

type NullableOrderResponseProducts

type NullableOrderResponseProducts struct {
	// contains filtered or unexported fields
}

func (NullableOrderResponseProducts) Get

func (NullableOrderResponseProducts) IsSet

func (NullableOrderResponseProducts) MarshalJSON

func (v NullableOrderResponseProducts) MarshalJSON() ([]byte, error)

func (*NullableOrderResponseProducts) Set

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 (NullableOrderResponseShippingContact) Get

func (NullableOrderResponseShippingContact) IsSet

func (NullableOrderResponseShippingContact) MarshalJSON

func (v NullableOrderResponseShippingContact) MarshalJSON() ([]byte, error)

func (*NullableOrderResponseShippingContact) Set

func (*NullableOrderResponseShippingContact) UnmarshalJSON

func (v *NullableOrderResponseShippingContact) UnmarshalJSON(src []byte) error

func (*NullableOrderResponseShippingContact) Unset

type NullableOrderTaxRequest

type NullableOrderTaxRequest struct {
	// contains filtered or unexported fields
}

func NewNullableOrderTaxRequest

func NewNullableOrderTaxRequest(val *OrderTaxRequest) *NullableOrderTaxRequest

func (NullableOrderTaxRequest) Get

func (NullableOrderTaxRequest) IsSet

func (v NullableOrderTaxRequest) IsSet() bool

func (NullableOrderTaxRequest) MarshalJSON

func (v NullableOrderTaxRequest) MarshalJSON() ([]byte, error)

func (*NullableOrderTaxRequest) Set

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 (NullableOrderUpdateFiscalEntityRequest) Get

func (NullableOrderUpdateFiscalEntityRequest) IsSet

func (NullableOrderUpdateFiscalEntityRequest) MarshalJSON

func (v NullableOrderUpdateFiscalEntityRequest) MarshalJSON() ([]byte, error)

func (*NullableOrderUpdateFiscalEntityRequest) Set

func (*NullableOrderUpdateFiscalEntityRequest) UnmarshalJSON

func (v *NullableOrderUpdateFiscalEntityRequest) UnmarshalJSON(src []byte) error

func (*NullableOrderUpdateFiscalEntityRequest) Unset

type NullableOrderUpdateRequest

type NullableOrderUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableOrderUpdateRequest

func NewNullableOrderUpdateRequest(val *OrderUpdateRequest) *NullableOrderUpdateRequest

func (NullableOrderUpdateRequest) Get

func (NullableOrderUpdateRequest) IsSet

func (v NullableOrderUpdateRequest) IsSet() bool

func (NullableOrderUpdateRequest) MarshalJSON

func (v NullableOrderUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableOrderUpdateRequest) Set

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 (NullableOrderUpdateRequestCustomerInfo) Get

func (NullableOrderUpdateRequestCustomerInfo) IsSet

func (NullableOrderUpdateRequestCustomerInfo) MarshalJSON

func (v NullableOrderUpdateRequestCustomerInfo) MarshalJSON() ([]byte, error)

func (*NullableOrderUpdateRequestCustomerInfo) Set

func (*NullableOrderUpdateRequestCustomerInfo) UnmarshalJSON

func (v *NullableOrderUpdateRequestCustomerInfo) UnmarshalJSON(src []byte) error

func (*NullableOrderUpdateRequestCustomerInfo) Unset

type NullableOrdersResponse

type NullableOrdersResponse struct {
	// contains filtered or unexported fields
}

func NewNullableOrdersResponse

func NewNullableOrdersResponse(val *OrdersResponse) *NullableOrdersResponse

func (NullableOrdersResponse) Get

func (NullableOrdersResponse) IsSet

func (v NullableOrdersResponse) IsSet() bool

func (NullableOrdersResponse) MarshalJSON

func (v NullableOrdersResponse) MarshalJSON() ([]byte, error)

func (*NullableOrdersResponse) Set

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 (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 (NullablePaymentMethodCash) IsSet

func (v NullablePaymentMethodCash) IsSet() bool

func (NullablePaymentMethodCash) MarshalJSON

func (v NullablePaymentMethodCash) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodCash) Set

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 (NullablePaymentMethodCashRequest) Get

func (NullablePaymentMethodCashRequest) IsSet

func (NullablePaymentMethodCashRequest) MarshalJSON

func (v NullablePaymentMethodCashRequest) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodCashRequest) Set

func (*NullablePaymentMethodCashRequest) UnmarshalJSON

func (v *NullablePaymentMethodCashRequest) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodCashRequest) Unset

type NullablePaymentMethodCashResponse

type NullablePaymentMethodCashResponse struct {
	// contains filtered or unexported fields
}

func (NullablePaymentMethodCashResponse) Get

func (NullablePaymentMethodCashResponse) IsSet

func (NullablePaymentMethodCashResponse) MarshalJSON

func (v NullablePaymentMethodCashResponse) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodCashResponse) Set

func (*NullablePaymentMethodCashResponse) UnmarshalJSON

func (v *NullablePaymentMethodCashResponse) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodCashResponse) Unset

type NullablePaymentMethodResponse

type NullablePaymentMethodResponse struct {
	// contains filtered or unexported fields
}

func (NullablePaymentMethodResponse) Get

func (NullablePaymentMethodResponse) IsSet

func (NullablePaymentMethodResponse) MarshalJSON

func (v NullablePaymentMethodResponse) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodResponse) Set

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 (NullableProductDataResponse) IsSet

func (NullableProductDataResponse) MarshalJSON

func (v NullableProductDataResponse) MarshalJSON() ([]byte, error)

func (*NullableProductDataResponse) Set

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 (NullableProductOrderResponse) IsSet

func (NullableProductOrderResponse) MarshalJSON

func (v NullableProductOrderResponse) MarshalJSON() ([]byte, error)

func (*NullableProductOrderResponse) Set

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 (NullableShippingOrderResponse) Get

func (NullableShippingOrderResponse) IsSet

func (NullableShippingOrderResponse) MarshalJSON

func (v NullableShippingOrderResponse) MarshalJSON() ([]byte, error)

func (*NullableShippingOrderResponse) Set

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 (NullableShippingRequest) IsSet

func (v NullableShippingRequest) IsSet() bool

func (NullableShippingRequest) MarshalJSON

func (v NullableShippingRequest) MarshalJSON() ([]byte, error)

func (*NullableShippingRequest) Set

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 (NullableSmsCheckoutRequest) IsSet

func (v NullableSmsCheckoutRequest) IsSet() bool

func (NullableSmsCheckoutRequest) MarshalJSON

func (v NullableSmsCheckoutRequest) MarshalJSON() ([]byte, error)

func (*NullableSmsCheckoutRequest) Set

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 (NullableTransactionResponse) IsSet

func (NullableTransactionResponse) MarshalJSON

func (v NullableTransactionResponse) MarshalJSON() ([]byte, error)

func (*NullableTransactionResponse) Set

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 (NullableTransferDestinationResponse) Get

func (NullableTransferDestinationResponse) IsSet

func (NullableTransferDestinationResponse) MarshalJSON

func (v NullableTransferDestinationResponse) MarshalJSON() ([]byte, error)

func (*NullableTransferDestinationResponse) Set

func (*NullableTransferDestinationResponse) UnmarshalJSON

func (v *NullableTransferDestinationResponse) UnmarshalJSON(src []byte) error

func (*NullableTransferDestinationResponse) Unset

type NullableTransferMethodResponse

type NullableTransferMethodResponse struct {
	// contains filtered or unexported fields
}

func (NullableTransferMethodResponse) Get

func (NullableTransferMethodResponse) IsSet

func (NullableTransferMethodResponse) MarshalJSON

func (v NullableTransferMethodResponse) MarshalJSON() ([]byte, error)

func (*NullableTransferMethodResponse) Set

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 (NullableTransferResponse) IsSet

func (v NullableTransferResponse) IsSet() bool

func (NullableTransferResponse) MarshalJSON

func (v NullableTransferResponse) MarshalJSON() ([]byte, error)

func (*NullableTransferResponse) Set

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 (NullableTransfersResponse) IsSet

func (v NullableTransfersResponse) IsSet() bool

func (NullableTransfersResponse) MarshalJSON

func (v NullableTransfersResponse) MarshalJSON() ([]byte, error)

func (*NullableTransfersResponse) Set

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 (NullableUpdateCustomer) IsSet

func (v NullableUpdateCustomer) IsSet() bool

func (NullableUpdateCustomer) MarshalJSON

func (v NullableUpdateCustomer) MarshalJSON() ([]byte, error)

func (*NullableUpdateCustomer) Set

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 (NullableUpdateCustomerAntifraudInfo) Get

func (NullableUpdateCustomerAntifraudInfo) IsSet

func (NullableUpdateCustomerAntifraudInfo) MarshalJSON

func (v NullableUpdateCustomerAntifraudInfo) MarshalJSON() ([]byte, error)

func (*NullableUpdateCustomerAntifraudInfo) Set

func (*NullableUpdateCustomerAntifraudInfo) UnmarshalJSON

func (v *NullableUpdateCustomerAntifraudInfo) UnmarshalJSON(src []byte) error

func (*NullableUpdateCustomerAntifraudInfo) Unset

type NullableUpdateCustomerFiscalEntitiesResponse

type NullableUpdateCustomerFiscalEntitiesResponse struct {
	// contains filtered or unexported fields
}

func (NullableUpdateCustomerFiscalEntitiesResponse) Get

func (NullableUpdateCustomerFiscalEntitiesResponse) IsSet

func (NullableUpdateCustomerFiscalEntitiesResponse) MarshalJSON

func (*NullableUpdateCustomerFiscalEntitiesResponse) Set

func (*NullableUpdateCustomerFiscalEntitiesResponse) UnmarshalJSON

func (*NullableUpdateCustomerFiscalEntitiesResponse) Unset

type NullableUpdateCustomerPaymentMethodsResponse

type NullableUpdateCustomerPaymentMethodsResponse struct {
	// contains filtered or unexported fields
}

func (NullableUpdateCustomerPaymentMethodsResponse) Get

func (NullableUpdateCustomerPaymentMethodsResponse) IsSet

func (NullableUpdateCustomerPaymentMethodsResponse) MarshalJSON

func (*NullableUpdateCustomerPaymentMethodsResponse) Set

func (*NullableUpdateCustomerPaymentMethodsResponse) UnmarshalJSON

func (*NullableUpdateCustomerPaymentMethodsResponse) Unset

type NullableUpdateOrderDiscountLinesRequest

type NullableUpdateOrderDiscountLinesRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateOrderDiscountLinesRequest) Get

func (NullableUpdateOrderDiscountLinesRequest) IsSet

func (NullableUpdateOrderDiscountLinesRequest) MarshalJSON

func (v NullableUpdateOrderDiscountLinesRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateOrderDiscountLinesRequest) Set

func (*NullableUpdateOrderDiscountLinesRequest) UnmarshalJSON

func (v *NullableUpdateOrderDiscountLinesRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateOrderDiscountLinesRequest) Unset

type NullableUpdateOrderTaxRequest

type NullableUpdateOrderTaxRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateOrderTaxRequest) Get

func (NullableUpdateOrderTaxRequest) IsSet

func (NullableUpdateOrderTaxRequest) MarshalJSON

func (v NullableUpdateOrderTaxRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateOrderTaxRequest) Set

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 (NullableUpdateOrderTaxResponse) Get

func (NullableUpdateOrderTaxResponse) IsSet

func (NullableUpdateOrderTaxResponse) MarshalJSON

func (v NullableUpdateOrderTaxResponse) MarshalJSON() ([]byte, error)

func (*NullableUpdateOrderTaxResponse) Set

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 (NullableUpdatePaymentMethods) IsSet

func (NullableUpdatePaymentMethods) MarshalJSON

func (v NullableUpdatePaymentMethods) MarshalJSON() ([]byte, error)

func (*NullableUpdatePaymentMethods) Set

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 (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 (NullableWebhookKeyCreateResponse) Get

func (NullableWebhookKeyCreateResponse) IsSet

func (NullableWebhookKeyCreateResponse) MarshalJSON

func (v NullableWebhookKeyCreateResponse) MarshalJSON() ([]byte, error)

func (*NullableWebhookKeyCreateResponse) Set

func (*NullableWebhookKeyCreateResponse) UnmarshalJSON

func (v *NullableWebhookKeyCreateResponse) UnmarshalJSON(src []byte) error

func (*NullableWebhookKeyCreateResponse) Unset

type NullableWebhookKeyDeleteResponse

type NullableWebhookKeyDeleteResponse struct {
	// contains filtered or unexported fields
}

func (NullableWebhookKeyDeleteResponse) Get

func (NullableWebhookKeyDeleteResponse) IsSet

func (NullableWebhookKeyDeleteResponse) MarshalJSON

func (v NullableWebhookKeyDeleteResponse) MarshalJSON() ([]byte, error)

func (*NullableWebhookKeyDeleteResponse) Set

func (*NullableWebhookKeyDeleteResponse) UnmarshalJSON

func (v *NullableWebhookKeyDeleteResponse) UnmarshalJSON(src []byte) error

func (*NullableWebhookKeyDeleteResponse) Unset

type NullableWebhookKeyRequest

type NullableWebhookKeyRequest struct {
	// contains filtered or unexported fields
}

func NewNullableWebhookKeyRequest

func NewNullableWebhookKeyRequest(val *WebhookKeyRequest) *NullableWebhookKeyRequest

func (NullableWebhookKeyRequest) Get

func (NullableWebhookKeyRequest) IsSet

func (v NullableWebhookKeyRequest) IsSet() bool

func (NullableWebhookKeyRequest) MarshalJSON

func (v NullableWebhookKeyRequest) MarshalJSON() ([]byte, error)

func (*NullableWebhookKeyRequest) Set

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 (NullableWebhookKeyResponse) IsSet

func (v NullableWebhookKeyResponse) IsSet() bool

func (NullableWebhookKeyResponse) MarshalJSON

func (v NullableWebhookKeyResponse) MarshalJSON() ([]byte, error)

func (*NullableWebhookKeyResponse) Set

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 (NullableWebhookKeyUpdateRequest) Get

func (NullableWebhookKeyUpdateRequest) IsSet

func (NullableWebhookKeyUpdateRequest) MarshalJSON

func (v NullableWebhookKeyUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableWebhookKeyUpdateRequest) Set

func (*NullableWebhookKeyUpdateRequest) UnmarshalJSON

func (v *NullableWebhookKeyUpdateRequest) UnmarshalJSON(src []byte) error

func (*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 (NullableWebhookRequest) IsSet

func (v NullableWebhookRequest) IsSet() bool

func (NullableWebhookRequest) MarshalJSON

func (v NullableWebhookRequest) MarshalJSON() ([]byte, error)

func (*NullableWebhookRequest) Set

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 (NullableWebhookResponse) IsSet

func (v NullableWebhookResponse) IsSet() bool

func (NullableWebhookResponse) MarshalJSON

func (v NullableWebhookResponse) MarshalJSON() ([]byte, error)

func (*NullableWebhookResponse) Set

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 (NullableWebhookUpdateRequest) IsSet

func (NullableWebhookUpdateRequest) MarshalJSON

func (v NullableWebhookUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableWebhookUpdateRequest) Set

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

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

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

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

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

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

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

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

GetAddress returns the Address field value

func (*OrderFiscalEntityResponse) GetAddressOk

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

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

GetRedirectToUrl returns the RedirectToUrl field value if set, zero value otherwise.

func (*OrderNextActionResponse) GetRedirectToUrlOk

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

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

GetUrl returns the Url field value if set, zero value otherwise.

func (*OrderNextActionResponseRedirectToUrl) GetUrlOk

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

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

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

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

GetData returns the Data field value if set, zero value otherwise.

func (*OrderResponseDiscountLines) GetDataOk

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

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

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

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

GetAddress returns the Address field value if set, zero value otherwise.

func (*OrderResponseShippingContact) GetAddressOk

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

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

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

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

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

GetAddress returns the Address field value

func (*OrderUpdateFiscalEntityRequest) GetAddressOk

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

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

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

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

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

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

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

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

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

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

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

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

func (o *Page) GetNextPageUrl() string

GetNextPageUrl returns the NextPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Page) GetNextPageUrlOk

func (o *Page) 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 (*Page) GetPreviousPageUrl

func (o *Page) GetPreviousPageUrl() string

GetPreviousPageUrl returns the PreviousPageUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Page) GetPreviousPageUrlOk

func (o *Page) 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 (*Page) HasNextPageUrl

func (o *Page) HasNextPageUrl() bool

HasNextPageUrl returns a boolean if a field has been set.

func (*Page) HasPreviousPageUrl

func (o *Page) HasPreviousPageUrl() bool

HasPreviousPageUrl returns a boolean if a field has been set.

func (Page) MarshalJSON

func (o Page) MarshalJSON() ([]byte, error)

func (*Page) SetNextPageUrl

func (o *Page) SetNextPageUrl(v string)

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

func (o *Page) SetPreviousPageUrl(v string)

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) ToMap

func (o Page) ToMap() (map[string]interface{}, error)

func (*Page) UnmarshalJSON

func (o *Page) UnmarshalJSON(data []byte) (err error)

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) SetHasMore

func (o *Pagination) SetHasMore(v bool)

SetHasMore sets field value

func (*Pagination) SetObject

func (o *Pagination) SetObject(v string)

SetObject sets field value

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

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

Execute executes the request

@return CheckoutResponse

func (*PaymentLinkAPIService) CreateCheckout

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

Execute executes the request

@return CheckoutResponse

func (*PaymentLinkAPIService) EmailCheckout

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

Execute executes the request

@return CheckoutResponse

func (*PaymentLinkAPIService) GetCheckout

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

Execute executes the request

@return CheckoutResponse

func (*PaymentLinkAPIService) GetCheckouts

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

Execute executes the request

@return CheckoutsResponse

func (*PaymentLinkAPIService) SmsCheckout

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

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

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

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

Execute executes the request

@return UpdateCustomerPaymentMethodsResponse

func (*PaymentMethodsAPIService) GetCustomerPaymentMethods

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

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

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

func NewProduct(name string, quantity int32, unitPrice int32) *Product

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

func (o *Product) GetAntifraudInfo() map[string]interface{}

GetAntifraudInfo returns the AntifraudInfo field value if set, zero value otherwise.

func (*Product) GetAntifraudInfoOk

func (o *Product) 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 (*Product) GetBrand

func (o *Product) GetBrand() string

GetBrand returns the Brand field value if set, zero value otherwise.

func (*Product) GetBrandOk

func (o *Product) 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 (*Product) GetDescription

func (o *Product) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Product) GetDescriptionOk

func (o *Product) 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 (*Product) GetMetadata

func (o *Product) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Product) GetMetadataOk

func (o *Product) 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 (*Product) GetName

func (o *Product) GetName() string

GetName returns the Name field value

func (*Product) GetNameOk

func (o *Product) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Product) GetQuantity

func (o *Product) GetQuantity() int32

GetQuantity returns the Quantity field value

func (*Product) GetQuantityOk

func (o *Product) GetQuantityOk() (*int32, bool)

GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.

func (*Product) GetSku

func (o *Product) GetSku() string

GetSku returns the Sku field value if set, zero value otherwise.

func (*Product) GetSkuOk

func (o *Product) 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 (*Product) GetTags

func (o *Product) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Product) GetTagsOk

func (o *Product) 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 (*Product) GetUnitPrice

func (o *Product) GetUnitPrice() int32

GetUnitPrice returns the UnitPrice field value

func (*Product) GetUnitPriceOk

func (o *Product) GetUnitPriceOk() (*int32, bool)

GetUnitPriceOk returns a tuple with the UnitPrice field value and a boolean to check if the value has been set.

func (*Product) HasAntifraudInfo

func (o *Product) HasAntifraudInfo() bool

HasAntifraudInfo returns a boolean if a field has been set.

func (*Product) HasBrand

func (o *Product) HasBrand() bool

HasBrand returns a boolean if a field has been set.

func (*Product) HasDescription

func (o *Product) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Product) HasMetadata

func (o *Product) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Product) HasSku

func (o *Product) HasSku() bool

HasSku returns a boolean if a field has been set.

func (*Product) HasTags

func (o *Product) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Product) MarshalJSON

func (o Product) MarshalJSON() ([]byte, error)

func (*Product) SetAntifraudInfo

func (o *Product) SetAntifraudInfo(v map[string]interface{})

SetAntifraudInfo gets a reference to the given map[string]interface{} and assigns it to the AntifraudInfo field.

func (*Product) SetBrand

func (o *Product) SetBrand(v string)

SetBrand gets a reference to the given string and assigns it to the Brand field.

func (*Product) SetDescription

func (o *Product) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Product) SetMetadata

func (o *Product) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*Product) SetName

func (o *Product) SetName(v string)

SetName sets field value

func (*Product) SetQuantity

func (o *Product) SetQuantity(v int32)

SetQuantity sets field value

func (*Product) SetSku

func (o *Product) SetSku(v string)

SetSku gets a reference to the given string and assigns it to the Sku field.

func (*Product) SetTags

func (o *Product) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Product) SetUnitPrice

func (o *Product) SetUnitPrice(v int32)

SetUnitPrice sets field value

func (Product) ToMap

func (o Product) ToMap() (map[string]interface{}, error)

func (*Product) UnmarshalJSON

func (o *Product) UnmarshalJSON(data []byte) (err error)

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

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

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

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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

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

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

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

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

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

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

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

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

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

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

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

Execute executes the request

@return TransactionResponse

func (*TransactionsAPIService) GetTransactions

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

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

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

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

Execute executes the request

@return TransferResponse

func (*TransfersAPIService) GetTransfers

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

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

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

GetAddress returns the Address field value

func (*UpdateCustomerFiscalEntitiesResponse) GetAddressOk

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

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

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

GetId returns the Id field value

func (*UpdateCustomerFiscalEntitiesResponse) GetIdOk

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

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

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

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

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

HasDefault returns a boolean if a field has been set.

func (*UpdateCustomerFiscalEntitiesResponse) HasEmail

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

HasPhone returns a boolean if a field has been set.

func (*UpdateCustomerFiscalEntitiesResponse) HasTaxId

HasTaxId returns a boolean if a field has been set.

func (UpdateCustomerFiscalEntitiesResponse) MarshalJSON

func (o UpdateCustomerFiscalEntitiesResponse) MarshalJSON() ([]byte, error)

func (*UpdateCustomerFiscalEntitiesResponse) SetAddress

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

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UpdateCustomerFiscalEntitiesResponse) SetId

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

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

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*UpdateCustomerFiscalEntitiesResponse) SetTaxId

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

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

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

HasCode returns a boolean if a field has been set.

func (*UpdateOrderDiscountLinesRequest) HasType

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

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UpdateOrderDiscountLinesRequest) SetType

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

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

Execute executes the request

@return WebhookKeyCreateResponse

func (*WebhookKeysAPIService) DeleteWebhookKey

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

Execute executes the request

@return WebhookKeyDeleteResponse

func (*WebhookKeysAPIService) GetWebhookKey

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

Execute executes the request

@return WebhookKeyResponse

func (*WebhookKeysAPIService) GetWebhookKeys

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

Execute executes the request

@return GetWebhookKeysResponse

func (*WebhookKeysAPIService) UpdateWebhookKey

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

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) SetUrl

func (o *WebhookRequest) SetUrl(v string)

SetUrl 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

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

Execute executes the request

@return WebhookResponse

func (*WebhooksAPIService) DeleteWebhook

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

Execute executes the request

@return WebhookResponse

func (*WebhooksAPIService) GetWebhook

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

Execute executes the request

@return WebhookResponse

func (*WebhooksAPIService) GetWebhooks

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

Execute executes the request

@return GetWebhooksResponse

func (*WebhooksAPIService) TestWebhook

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

Execute executes the request

@return WebhookResponse

func (*WebhooksAPIService) UpdateWebhook

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

Execute executes the request

@return WebhookResponse

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL