Documentation
¶
Index ¶
- Constants
- Variables
- type ApplicationFee
- type CancelPaymentRequest
- type CancelPaymentRequestBody
- type CancelPaymentResponse
- type CancelRefundRequest
- type CancelRefundResponse
- type CancelSubscriptionRequest
- type CancelSubscriptionRequestBody
- type CancelSubscriptionResponse
- type Client
- type ClientEmbedded
- type CreateCaptureRequest
- type CreateCaptureResponse
- type CreateClientLinkRequest
- type CreateClientLinkResponse
- type CreateConnectBalanceTransferRequest
- type CreateConnectBalanceTransferResponse
- type CreateCustomerPaymentRequest
- type CreateCustomerPaymentResponse
- type CreateCustomerRequest
- type CreateCustomerResponse
- type CreateMandateRequest
- type CreateMandateResponse
- type CreatePaymentLinkRequest
- type CreatePaymentLinkRequestBody
- func (c *CreatePaymentLinkRequestBody) GetAllowedMethods() []string
- func (c *CreatePaymentLinkRequestBody) GetAmount() *components.AmountNullable
- func (c *CreatePaymentLinkRequestBody) GetApplicationFee() *ApplicationFee
- func (c *CreatePaymentLinkRequestBody) GetBillingAddress() *components.PaymentAddress
- func (c *CreatePaymentLinkRequestBody) GetCustomerID() *string
- func (c *CreatePaymentLinkRequestBody) GetDescription() string
- func (c *CreatePaymentLinkRequestBody) GetExpiresAt() *string
- func (c *CreatePaymentLinkRequestBody) GetID() *string
- func (c *CreatePaymentLinkRequestBody) GetLines() []components.PaymentLineItem
- func (c *CreatePaymentLinkRequestBody) GetMinimumAmount() *components.AmountNullable
- func (c *CreatePaymentLinkRequestBody) GetProfileID() *string
- func (c *CreatePaymentLinkRequestBody) GetRedirectURL() *string
- func (c *CreatePaymentLinkRequestBody) GetReusable() *bool
- func (c *CreatePaymentLinkRequestBody) GetSequenceType() *components.PaymentLinkSequenceType
- func (c *CreatePaymentLinkRequestBody) GetShippingAddress() *components.PaymentAddress
- func (c *CreatePaymentLinkRequestBody) GetTestmode() *bool
- func (c *CreatePaymentLinkRequestBody) GetWebhookURL() *string
- type CreatePaymentLinkResponse
- type CreatePaymentRequest
- type CreatePaymentResponse
- type CreateProfileRequest
- type CreateProfileResponse
- type CreateRefundRequest
- type CreateRefundResponse
- type CreateSalesInvoiceRequest
- type CreateSalesInvoiceResponse
- type CreateSubscriptionRequest
- type CreateSubscriptionResponse
- type CreateWebhookRequest
- type CreateWebhookRequestBody
- type CreateWebhookResponse
- type DeleteCustomerRequest
- type DeleteCustomerRequestBody
- type DeleteCustomerResponse
- type DeletePaymentLinkRequest
- type DeletePaymentLinkRequestBody
- type DeletePaymentLinkResponse
- type DeleteProfileRequest
- type DeleteProfileResponse
- type DeleteSalesInvoiceRequest
- type DeleteSalesInvoiceResponse
- type DeleteWebhookRequest
- type DeleteWebhookRequestBody
- type DeleteWebhookResponse
- type Documentation
- type GetBalanceReportRequest
- func (g *GetBalanceReportRequest) GetBalanceID() string
- func (g *GetBalanceReportRequest) GetFrom() string
- func (g *GetBalanceReportRequest) GetGrouping() *Grouping
- func (g *GetBalanceReportRequest) GetIdempotencyKey() *string
- func (g *GetBalanceReportRequest) GetTestmode() *bool
- func (g *GetBalanceReportRequest) GetUntil() string
- type GetBalanceReportResponse
- type GetBalanceRequest
- type GetBalanceResponse
- type GetCaptureRequest
- type GetCaptureResponse
- type GetChargebackRequest
- type GetChargebackResponse
- type GetClientCommission
- type GetClientEmbedded
- type GetClientLinks
- type GetClientRequest
- type GetClientResponse
- type GetClientResponseBody
- func (g *GetClientResponseBody) GetCommission() *GetClientCommission
- func (g *GetClientResponseBody) GetEmbedded() *GetClientEmbedded
- func (g *GetClientResponseBody) GetID() *string
- func (g *GetClientResponseBody) GetLinks() *GetClientLinks
- func (g *GetClientResponseBody) GetOrganizationCreatedAt() *string
- func (g *GetClientResponseBody) GetResource() *string
- type GetConnectBalanceTransferRequest
- type GetConnectBalanceTransferResponse
- type GetCurrentOrganizationRequest
- type GetCurrentOrganizationResponse
- type GetCurrentProfileRequest
- type GetCurrentProfileResponse
- type GetCustomerLinks
- func (g *GetCustomerLinks) GetDashboard() components.URLObj
- func (g *GetCustomerLinks) GetDocumentation() components.URLObj
- func (g *GetCustomerLinks) GetMandates() *components.URLNullable
- func (g *GetCustomerLinks) GetPayments() *components.URLNullable
- func (g *GetCustomerLinks) GetSelf() components.URLObj
- func (g *GetCustomerLinks) GetSubscriptions() *components.URLNullable
- type GetCustomerRequest
- type GetCustomerResponse
- type GetCustomerResponseBody
- func (g *GetCustomerResponseBody) GetCreatedAt() *string
- func (g *GetCustomerResponseBody) GetEmail() *string
- func (g *GetCustomerResponseBody) GetEvents() []components.EntityEvent
- func (g *GetCustomerResponseBody) GetID() *string
- func (g *GetCustomerResponseBody) GetLinks() *GetCustomerLinks
- func (g *GetCustomerResponseBody) GetLocale() *components.LocaleResponse
- func (g *GetCustomerResponseBody) GetMetadata() *components.Metadata
- func (g *GetCustomerResponseBody) GetMode() *components.Mode
- func (g *GetCustomerResponseBody) GetName() *string
- func (g *GetCustomerResponseBody) GetResource() *string
- type GetInvoiceRequest
- type GetInvoiceResponse
- type GetMandateRequest
- type GetMandateResponse
- type GetMethodRequest
- func (g *GetMethodRequest) GetCurrency() *string
- func (g *GetMethodRequest) GetID() string
- func (g *GetMethodRequest) GetIdempotencyKey() *string
- func (g *GetMethodRequest) GetInclude() *string
- func (g *GetMethodRequest) GetLocale() *components.LocaleParameter
- func (g *GetMethodRequest) GetProfileID() *string
- func (g *GetMethodRequest) GetSequenceType() *components.SequenceType
- func (g *GetMethodRequest) GetTestmode() *bool
- type GetMethodResponse
- type GetNextSettlementRequest
- type GetNextSettlementResponse
- type GetOnboardingStatusRequest
- type GetOnboardingStatusResponse
- type GetOpenSettlementRequest
- type GetOpenSettlementResponse
- type GetOrganizationRequest
- type GetOrganizationResponse
- type GetPartnerStatusLinks
- type GetPartnerStatusRequest
- type GetPartnerStatusResponse
- type GetPartnerStatusResponseBody
- func (g *GetPartnerStatusResponseBody) GetIsCommissionPartner() *bool
- func (g *GetPartnerStatusResponseBody) GetLinks() *GetPartnerStatusLinks
- func (g *GetPartnerStatusResponseBody) GetPartnerContractExpiresAt() *string
- func (g *GetPartnerStatusResponseBody) GetPartnerContractSignedAt() *string
- func (g *GetPartnerStatusResponseBody) GetPartnerContractUpdateAvailable() *bool
- func (g *GetPartnerStatusResponseBody) GetPartnerType() *PartnerType
- func (g *GetPartnerStatusResponseBody) GetResource() string
- func (g *GetPartnerStatusResponseBody) GetUserAgentTokens() []UserAgentToken
- type GetPaymentLinkPaymentsEmbedded
- type GetPaymentLinkPaymentsRequest
- func (g *GetPaymentLinkPaymentsRequest) GetFrom() *string
- func (g *GetPaymentLinkPaymentsRequest) GetIdempotencyKey() *string
- func (g *GetPaymentLinkPaymentsRequest) GetLimit() *int64
- func (g *GetPaymentLinkPaymentsRequest) GetPaymentLinkID() string
- func (g *GetPaymentLinkPaymentsRequest) GetSort() *components.ListSort
- func (g *GetPaymentLinkPaymentsRequest) GetTestmode() *bool
- type GetPaymentLinkPaymentsResponse
- type GetPaymentLinkPaymentsResponseBody
- type GetPaymentLinkRequest
- type GetPaymentLinkResponse
- type GetPaymentRequest
- type GetPaymentResponse
- type GetPermissionRequest
- type GetPermissionResponse
- type GetPrimaryBalanceRequest
- type GetPrimaryBalanceResponse
- type GetProfileRequest
- type GetProfileResponse
- type GetRefundRequest
- type GetRefundResponse
- type GetSalesInvoiceRequest
- type GetSalesInvoiceResponse
- type GetSettlementRequest
- type GetSettlementResponse
- type GetSubscriptionRequest
- type GetSubscriptionResponse
- type GetTerminalRequest
- type GetTerminalResponse
- type GetWebhookEventRequest
- type GetWebhookEventResponse
- type GetWebhookRequest
- type GetWebhookResponse
- type Grouping
- type IncludeWallets
- type Invoice
- type ListAllChargebacksEmbedded
- type ListAllChargebacksRequest
- func (l *ListAllChargebacksRequest) GetEmbed() *string
- func (l *ListAllChargebacksRequest) GetFrom() *string
- func (l *ListAllChargebacksRequest) GetIdempotencyKey() *string
- func (l *ListAllChargebacksRequest) GetLimit() *int64
- func (l *ListAllChargebacksRequest) GetProfileID() *string
- func (l *ListAllChargebacksRequest) GetSort() *components.ListSort
- func (l *ListAllChargebacksRequest) GetTestmode() *bool
- type ListAllChargebacksResponse
- type ListAllChargebacksResponseBody
- type ListAllMethodsEmbedded
- type ListAllMethodsLinks
- type ListAllMethodsRequest
- func (l *ListAllMethodsRequest) GetAmount() *components.Amount
- func (l *ListAllMethodsRequest) GetIdempotencyKey() *string
- func (l *ListAllMethodsRequest) GetInclude() *string
- func (l *ListAllMethodsRequest) GetLocale() *components.LocaleParameter
- func (l *ListAllMethodsRequest) GetProfileID() *string
- func (l *ListAllMethodsRequest) GetSequenceType() *components.SequenceType
- func (l *ListAllMethodsRequest) GetTestmode() *bool
- type ListAllMethodsResponse
- type ListAllMethodsResponseBody
- type ListAllRefundsEmbedded
- type ListAllRefundsRequest
- func (l *ListAllRefundsRequest) GetEmbed() *string
- func (l *ListAllRefundsRequest) GetFrom() *string
- func (l *ListAllRefundsRequest) GetIdempotencyKey() *string
- func (l *ListAllRefundsRequest) GetLimit() *int64
- func (l *ListAllRefundsRequest) GetProfileID() *string
- func (l *ListAllRefundsRequest) GetSort() *components.ListSort
- func (l *ListAllRefundsRequest) GetTestmode() *bool
- type ListAllRefundsResponse
- type ListAllRefundsResponseBody
- type ListAllSubscriptionsEmbedded
- type ListAllSubscriptionsRequest
- type ListAllSubscriptionsResponse
- type ListAllSubscriptionsResponseBody
- type ListBalanceTransactionsEmbedded
- type ListBalanceTransactionsRequest
- func (l *ListBalanceTransactionsRequest) GetBalanceID() string
- func (l *ListBalanceTransactionsRequest) GetFrom() *string
- func (l *ListBalanceTransactionsRequest) GetIdempotencyKey() *string
- func (l *ListBalanceTransactionsRequest) GetLimit() *int64
- func (l *ListBalanceTransactionsRequest) GetTestmode() *bool
- type ListBalanceTransactionsResponse
- type ListBalanceTransactionsResponseBody
- type ListBalancesEmbedded
- type ListBalancesRequest
- type ListBalancesResponse
- type ListBalancesResponseBody
- type ListCapabilitiesEmbedded
- type ListCapabilitiesLinks
- type ListCapabilitiesRequest
- type ListCapabilitiesResponse
- type ListCapabilitiesResponseBody
- type ListCapturesEmbedded
- type ListCapturesRequest
- func (l *ListCapturesRequest) GetEmbed() *string
- func (l *ListCapturesRequest) GetFrom() *string
- func (l *ListCapturesRequest) GetIdempotencyKey() *string
- func (l *ListCapturesRequest) GetLimit() *int64
- func (l *ListCapturesRequest) GetPaymentID() string
- func (l *ListCapturesRequest) GetTestmode() *bool
- type ListCapturesResponse
- type ListCapturesResponseBody
- type ListChargebacksEmbedded
- type ListChargebacksRequest
- func (l *ListChargebacksRequest) GetEmbed() *string
- func (l *ListChargebacksRequest) GetFrom() *string
- func (l *ListChargebacksRequest) GetIdempotencyKey() *string
- func (l *ListChargebacksRequest) GetLimit() *int64
- func (l *ListChargebacksRequest) GetPaymentID() string
- func (l *ListChargebacksRequest) GetTestmode() *bool
- type ListChargebacksResponse
- type ListChargebacksResponseBody
- type ListClientsCommission
- type ListClientsEmbedded
- type ListClientsLinks
- type ListClientsRequest
- type ListClientsResponse
- type ListClientsResponseBody
- type ListConnectBalanceTransfersEmbedded
- type ListConnectBalanceTransfersRequest
- func (l *ListConnectBalanceTransfersRequest) GetFrom() *string
- func (l *ListConnectBalanceTransfersRequest) GetIdempotencyKey() *string
- func (l *ListConnectBalanceTransfersRequest) GetLimit() *int64
- func (l *ListConnectBalanceTransfersRequest) GetSort() *components.ListSort
- func (l *ListConnectBalanceTransfersRequest) GetTestmode() *bool
- type ListConnectBalanceTransfersResponse
- type ListConnectBalanceTransfersResponseBody
- type ListCustomerPaymentsEmbedded
- type ListCustomerPaymentsRequest
- func (l *ListCustomerPaymentsRequest) GetCustomerID() string
- func (l *ListCustomerPaymentsRequest) GetFrom() *string
- func (l *ListCustomerPaymentsRequest) GetIdempotencyKey() *string
- func (l *ListCustomerPaymentsRequest) GetLimit() *int64
- func (l *ListCustomerPaymentsRequest) GetProfileID() *string
- func (l *ListCustomerPaymentsRequest) GetSort() *components.ListSort
- func (l *ListCustomerPaymentsRequest) GetTestmode() *bool
- type ListCustomerPaymentsResponse
- type ListCustomerPaymentsResponseBody
- type ListCustomersEmbedded
- type ListCustomersRequest
- type ListCustomersResponse
- type ListCustomersResponseBody
- type ListInvoicesEmbedded
- type ListInvoicesRequest
- func (l *ListInvoicesRequest) GetFrom() *string
- func (l *ListInvoicesRequest) GetIdempotencyKey() *string
- func (l *ListInvoicesRequest) GetLimit() *int64
- func (l *ListInvoicesRequest) GetMonth() *string
- func (l *ListInvoicesRequest) GetReference() *string
- func (l *ListInvoicesRequest) GetSort() *components.ListSort
- func (l *ListInvoicesRequest) GetYear() *string
- type ListInvoicesResponse
- type ListInvoicesResponseBody
- type ListMandatesEmbedded
- type ListMandatesRequest
- func (l *ListMandatesRequest) GetCustomerID() string
- func (l *ListMandatesRequest) GetFrom() *string
- func (l *ListMandatesRequest) GetIdempotencyKey() *string
- func (l *ListMandatesRequest) GetLimit() *int64
- func (l *ListMandatesRequest) GetSort() *components.ListSort
- func (l *ListMandatesRequest) GetTestmode() *bool
- type ListMandatesResponse
- type ListMandatesResponseBody
- type ListMethodsEmbedded
- type ListMethodsLinks
- type ListMethodsRequest
- func (l *ListMethodsRequest) GetAmount() *components.Amount
- func (l *ListMethodsRequest) GetBillingCountry() *string
- func (l *ListMethodsRequest) GetIdempotencyKey() *string
- func (l *ListMethodsRequest) GetInclude() *string
- func (l *ListMethodsRequest) GetIncludeWallets() *IncludeWallets
- func (l *ListMethodsRequest) GetLocale() *components.LocaleParameter
- func (l *ListMethodsRequest) GetOrderLineCategories() *components.LineCategories
- func (l *ListMethodsRequest) GetProfileID() *string
- func (l *ListMethodsRequest) GetResource() *Resource
- func (l *ListMethodsRequest) GetSequenceType() *components.SequenceType
- func (l *ListMethodsRequest) GetTestmode() *bool
- type ListMethodsResponse
- type ListMethodsResponseBody
- type ListPaymentLinksEmbedded
- type ListPaymentLinksRequest
- type ListPaymentLinksResponse
- type ListPaymentLinksResponseBody
- type ListPaymentsEmbedded
- type ListPaymentsRequest
- func (l *ListPaymentsRequest) GetFrom() *string
- func (l *ListPaymentsRequest) GetIdempotencyKey() *string
- func (l *ListPaymentsRequest) GetLimit() *int64
- func (l *ListPaymentsRequest) GetProfileID() *string
- func (l *ListPaymentsRequest) GetSort() *components.ListSort
- func (l *ListPaymentsRequest) GetTestmode() *bool
- type ListPaymentsResponse
- type ListPaymentsResponseBody
- type ListPermissionsEmbedded
- type ListPermissionsLinks
- type ListPermissionsRequest
- type ListPermissionsResponse
- type ListPermissionsResponseBody
- type ListProfilesEmbedded
- type ListProfilesRequest
- type ListProfilesResponse
- type ListProfilesResponseBody
- type ListRefundsEmbedded
- type ListRefundsRequest
- type ListRefundsResponse
- type ListRefundsResponseBody
- type ListSalesInvoicesEmbedded
- type ListSalesInvoicesRequest
- type ListSalesInvoicesResponse
- type ListSalesInvoicesResponseBody
- type ListSettlementCapturesEmbedded
- type ListSettlementCapturesRequest
- func (l *ListSettlementCapturesRequest) GetEmbed() *string
- func (l *ListSettlementCapturesRequest) GetFrom() *string
- func (l *ListSettlementCapturesRequest) GetIdempotencyKey() *string
- func (l *ListSettlementCapturesRequest) GetLimit() *int64
- func (l *ListSettlementCapturesRequest) GetSettlementID() string
- func (l *ListSettlementCapturesRequest) GetTestmode() *bool
- type ListSettlementCapturesResponse
- type ListSettlementCapturesResponseBody
- type ListSettlementChargebacksEmbedded
- type ListSettlementChargebacksRequest
- func (l *ListSettlementChargebacksRequest) GetEmbed() *string
- func (l *ListSettlementChargebacksRequest) GetFrom() *string
- func (l *ListSettlementChargebacksRequest) GetIdempotencyKey() *string
- func (l *ListSettlementChargebacksRequest) GetLimit() *int64
- func (l *ListSettlementChargebacksRequest) GetSettlementID() string
- func (l *ListSettlementChargebacksRequest) GetTestmode() *bool
- type ListSettlementChargebacksResponse
- type ListSettlementChargebacksResponseBody
- type ListSettlementPaymentsEmbedded
- type ListSettlementPaymentsRequest
- func (l *ListSettlementPaymentsRequest) GetFrom() *string
- func (l *ListSettlementPaymentsRequest) GetIdempotencyKey() *string
- func (l *ListSettlementPaymentsRequest) GetLimit() *int64
- func (l *ListSettlementPaymentsRequest) GetProfileID() *string
- func (l *ListSettlementPaymentsRequest) GetSettlementID() string
- func (l *ListSettlementPaymentsRequest) GetSort() *components.ListSort
- func (l *ListSettlementPaymentsRequest) GetTestmode() *bool
- type ListSettlementPaymentsResponse
- type ListSettlementPaymentsResponseBody
- type ListSettlementRefundsEmbedded
- type ListSettlementRefundsRequest
- func (l *ListSettlementRefundsRequest) GetEmbed() *string
- func (l *ListSettlementRefundsRequest) GetFrom() *string
- func (l *ListSettlementRefundsRequest) GetIdempotencyKey() *string
- func (l *ListSettlementRefundsRequest) GetLimit() *int64
- func (l *ListSettlementRefundsRequest) GetSettlementID() string
- func (l *ListSettlementRefundsRequest) GetTestmode() *bool
- type ListSettlementRefundsResponse
- type ListSettlementRefundsResponseBody
- type ListSettlementsEmbedded
- type ListSettlementsRequest
- func (l *ListSettlementsRequest) GetBalanceID() *string
- func (l *ListSettlementsRequest) GetCurrencies() *components.Currencies
- func (l *ListSettlementsRequest) GetFrom() *string
- func (l *ListSettlementsRequest) GetIdempotencyKey() *string
- func (l *ListSettlementsRequest) GetLimit() *int64
- func (l *ListSettlementsRequest) GetMonth() *string
- func (l *ListSettlementsRequest) GetYear() *string
- type ListSettlementsResponse
- type ListSettlementsResponseBody
- type ListSubscriptionPaymentsEmbedded
- type ListSubscriptionPaymentsRequest
- func (l *ListSubscriptionPaymentsRequest) GetCustomerID() string
- func (l *ListSubscriptionPaymentsRequest) GetFrom() *string
- func (l *ListSubscriptionPaymentsRequest) GetIdempotencyKey() *string
- func (l *ListSubscriptionPaymentsRequest) GetLimit() *int64
- func (l *ListSubscriptionPaymentsRequest) GetProfileID() *string
- func (l *ListSubscriptionPaymentsRequest) GetSort() *components.ListSort
- func (l *ListSubscriptionPaymentsRequest) GetSubscriptionID() string
- func (l *ListSubscriptionPaymentsRequest) GetTestmode() *bool
- type ListSubscriptionPaymentsResponse
- type ListSubscriptionPaymentsResponseBody
- type ListSubscriptionsEmbedded
- type ListSubscriptionsRequest
- func (l *ListSubscriptionsRequest) GetCustomerID() string
- func (l *ListSubscriptionsRequest) GetFrom() *string
- func (l *ListSubscriptionsRequest) GetIdempotencyKey() *string
- func (l *ListSubscriptionsRequest) GetLimit() *int64
- func (l *ListSubscriptionsRequest) GetSort() *components.ListSort
- func (l *ListSubscriptionsRequest) GetTestmode() *bool
- type ListSubscriptionsResponse
- type ListSubscriptionsResponseBody
- type ListTerminalsEmbedded
- type ListTerminalsRequest
- type ListTerminalsResponse
- type ListTerminalsResponseBody
- type ListWebhooksEmbedded
- type ListWebhooksRequest
- func (l *ListWebhooksRequest) GetEventTypes() *components.WebhookEventTypes
- func (l *ListWebhooksRequest) GetFrom() *string
- func (l *ListWebhooksRequest) GetIdempotencyKey() *string
- func (l *ListWebhooksRequest) GetLimit() *int64
- func (l *ListWebhooksRequest) GetSort() *components.ListSort
- func (l *ListWebhooksRequest) GetTestmode() *bool
- type ListWebhooksResponse
- type ListWebhooksResponseBody
- type Mode
- type Option
- func WithOperationTimeout(timeout time.Duration) Option
- func WithRetries(config retry.Config) Option
- func WithServerURL(serverURL string) Option
- func WithSetHeaders(hdrs map[string]string) Option
- func WithTemplatedServerURL(serverURL string, params map[string]string) Option
- func WithURLOverride(urlOverride string) Option
- type Options
- type Organization
- type PartnerType
- type PaymentCreateRouteRequest
- type PaymentCreateRouteResponse
- type PaymentListRoutesEmbedded
- type PaymentListRoutesLinks
- type PaymentListRoutesRequest
- type PaymentListRoutesResponse
- type PaymentListRoutesResponseBody
- type Profile
- type ReleaseAuthorizationRequest
- type ReleaseAuthorizationRequestBody
- type ReleaseAuthorizationResponse
- type RequestApplePayPaymentSessionRequest
- type RequestApplePayPaymentSessionRequestBody
- type RequestApplePayPaymentSessionResponse
- type Resource
- type RevokeMandateRequest
- type RevokeMandateRequestBody
- type RevokeMandateResponse
- type SubmitOnboardingDataRequest
- type SubmitOnboardingDataRequestBody
- type SubmitOnboardingDataResponse
- type TestWebhookRequest
- type TestWebhookRequestBody
- type TestWebhookResponse
- type UpdateCustomerRequest
- type UpdateCustomerResponse
- type UpdatePaymentLinkRequest
- type UpdatePaymentLinkRequestBody
- func (u *UpdatePaymentLinkRequestBody) GetAllowedMethods() []string
- func (u *UpdatePaymentLinkRequestBody) GetArchived() *bool
- func (u *UpdatePaymentLinkRequestBody) GetBillingAddress() *components.PaymentAddress
- func (u *UpdatePaymentLinkRequestBody) GetDescription() *string
- func (u *UpdatePaymentLinkRequestBody) GetLines() []components.PaymentLineItem
- func (u *UpdatePaymentLinkRequestBody) GetMinimumAmount() *components.Amount
- func (u *UpdatePaymentLinkRequestBody) GetShippingAddress() *components.PaymentAddress
- func (u *UpdatePaymentLinkRequestBody) GetTestmode() *bool
- type UpdatePaymentLinkResponse
- type UpdatePaymentRequest
- type UpdatePaymentRequestBody
- func (u *UpdatePaymentRequestBody) GetBillingAddress() *components.PaymentAddress
- func (u *UpdatePaymentRequestBody) GetBillingEmail() *string
- func (u *UpdatePaymentRequestBody) GetCancelURL() *string
- func (u *UpdatePaymentRequestBody) GetDescription() *string
- func (u *UpdatePaymentRequestBody) GetDueDate() *string
- func (u *UpdatePaymentRequestBody) GetIssuer() *string
- func (u *UpdatePaymentRequestBody) GetLocale() *components.Locale
- func (u *UpdatePaymentRequestBody) GetMetadata() *components.Metadata
- func (u *UpdatePaymentRequestBody) GetMethod() *components.Method
- func (u *UpdatePaymentRequestBody) GetRedirectURL() *string
- func (u *UpdatePaymentRequestBody) GetRestrictPaymentMethodsToCountry() *string
- func (u *UpdatePaymentRequestBody) GetShippingAddress() *components.PaymentAddress
- func (u *UpdatePaymentRequestBody) GetTestmode() *bool
- func (u *UpdatePaymentRequestBody) GetWebhookURL() *string
- type UpdatePaymentResponse
- type UpdateProfileRequest
- type UpdateProfileRequestBody
- func (u *UpdateProfileRequestBody) GetBusinessCategory() *string
- func (u *UpdateProfileRequestBody) GetCountriesOfActivity() []string
- func (u *UpdateProfileRequestBody) GetDescription() *string
- func (u *UpdateProfileRequestBody) GetEmail() *string
- func (u *UpdateProfileRequestBody) GetMode() *Mode
- func (u *UpdateProfileRequestBody) GetName() *string
- func (u *UpdateProfileRequestBody) GetPhone() *string
- func (u *UpdateProfileRequestBody) GetWebsite() *string
- type UpdateProfileResponse
- type UpdateSalesInvoiceRequest
- type UpdateSalesInvoiceResponse
- type UpdateSubscriptionRequest
- type UpdateSubscriptionRequestBody
- func (u *UpdateSubscriptionRequestBody) GetAmount() *components.Amount
- func (u *UpdateSubscriptionRequestBody) GetDescription() *string
- func (u *UpdateSubscriptionRequestBody) GetInterval() *string
- func (u *UpdateSubscriptionRequestBody) GetMandateID() *string
- func (u *UpdateSubscriptionRequestBody) GetMetadata() *components.Metadata
- func (u *UpdateSubscriptionRequestBody) GetStartDate() *string
- func (u *UpdateSubscriptionRequestBody) GetTestmode() *bool
- func (u *UpdateSubscriptionRequestBody) GetTimes() *int64
- func (u *UpdateSubscriptionRequestBody) GetWebhookURL() *string
- type UpdateSubscriptionResponse
- type UpdateWebhookRequest
- type UpdateWebhookRequestBody
- type UpdateWebhookResponse
- type UserAgentToken
- type VatRegulation
Constants ¶
const ( SupportedOptionRetries = "retries" SupportedOptionTimeout = "timeout" SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride" SupportedOptionURLOverride = "urlOverride" )
Variables ¶
var ErrUnsupportedOption = errors.New("unsupported option")
Functions ¶
This section is empty.
Types ¶
type ApplicationFee ¶
type ApplicationFee struct { // In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field. Amount components.Amount `json:"amount"` // The description of the application fee. This will appear on settlement reports towards both you and the // connected merchant. Description string `json:"description"` }
ApplicationFee - With Mollie Connect you can charge fees on payment links that your app is processing on behalf of other Mollie merchants.
If you use OAuth to create payment links on a connected merchant's account, you can charge a fee using this `applicationFee` parameter. If a payment on the payment link succeeds, the fee will be deducted from the merchant's balance and sent to your own account balance.
func (*ApplicationFee) GetAmount ¶
func (a *ApplicationFee) GetAmount() components.Amount
func (*ApplicationFee) GetDescription ¶
func (a *ApplicationFee) GetDescription() string
type CancelPaymentRequest ¶
type CancelPaymentRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *CancelPaymentRequestBody `request:"mediaType=application/json"` }
func (*CancelPaymentRequest) GetIdempotencyKey ¶
func (c *CancelPaymentRequest) GetIdempotencyKey() *string
func (*CancelPaymentRequest) GetPaymentID ¶
func (c *CancelPaymentRequest) GetPaymentID() string
func (*CancelPaymentRequest) GetRequestBody ¶
func (c *CancelPaymentRequest) GetRequestBody() *CancelPaymentRequestBody
type CancelPaymentRequestBody ¶
type CancelPaymentRequestBody struct { // Whether to create the entity in test mode or live mode. // // Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be // omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting // `testmode` to `true`. Testmode *bool `json:"testmode,omitempty"` }
func (*CancelPaymentRequestBody) GetTestmode ¶
func (c *CancelPaymentRequestBody) GetTestmode() *bool
type CancelPaymentResponse ¶
type CancelPaymentResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The canceled payment object. PaymentResponse *components.PaymentResponse }
func (*CancelPaymentResponse) GetHTTPMeta ¶
func (c *CancelPaymentResponse) GetHTTPMeta() components.HTTPMetadata
func (*CancelPaymentResponse) GetPaymentResponse ¶
func (c *CancelPaymentResponse) GetPaymentResponse() *components.PaymentResponse
type CancelRefundRequest ¶
type CancelRefundRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // Provide the ID of the related refund. RefundID string `pathParam:"style=simple,explode=false,name=refundId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*CancelRefundRequest) GetIdempotencyKey ¶
func (c *CancelRefundRequest) GetIdempotencyKey() *string
func (*CancelRefundRequest) GetPaymentID ¶
func (c *CancelRefundRequest) GetPaymentID() string
func (*CancelRefundRequest) GetRefundID ¶
func (c *CancelRefundRequest) GetRefundID() string
func (*CancelRefundRequest) GetTestmode ¶
func (c *CancelRefundRequest) GetTestmode() *bool
type CancelRefundResponse ¶
type CancelRefundResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // An empty response if the refund was successfully canceled. Any any }
func (*CancelRefundResponse) GetAny ¶
func (c *CancelRefundResponse) GetAny() any
func (*CancelRefundResponse) GetHTTPMeta ¶
func (c *CancelRefundResponse) GetHTTPMeta() components.HTTPMetadata
type CancelSubscriptionRequest ¶
type CancelSubscriptionRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // Provide the ID of the related subscription. SubscriptionID string `pathParam:"style=simple,explode=false,name=subscriptionId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *CancelSubscriptionRequestBody `request:"mediaType=application/json"` }
func (*CancelSubscriptionRequest) GetCustomerID ¶
func (c *CancelSubscriptionRequest) GetCustomerID() string
func (*CancelSubscriptionRequest) GetIdempotencyKey ¶
func (c *CancelSubscriptionRequest) GetIdempotencyKey() *string
func (*CancelSubscriptionRequest) GetRequestBody ¶
func (c *CancelSubscriptionRequest) GetRequestBody() *CancelSubscriptionRequestBody
func (*CancelSubscriptionRequest) GetSubscriptionID ¶
func (c *CancelSubscriptionRequest) GetSubscriptionID() string
type CancelSubscriptionRequestBody ¶
type CancelSubscriptionRequestBody struct { // Most API credentials are specifically created for either live mode or test mode. For organization-level credentials // such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `json:"testmode,omitempty"` }
func (*CancelSubscriptionRequestBody) GetTestmode ¶
func (c *CancelSubscriptionRequestBody) GetTestmode() *bool
type CancelSubscriptionResponse ¶
type CancelSubscriptionResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The updated subscription object with status `canceled`. For a complete reference of the subscription object, // refer to the [Get subscription endpoint](get-subscription) documentation. SubscriptionResponse *components.SubscriptionResponse }
func (*CancelSubscriptionResponse) GetHTTPMeta ¶
func (c *CancelSubscriptionResponse) GetHTTPMeta() components.HTTPMetadata
func (*CancelSubscriptionResponse) GetSubscriptionResponse ¶
func (c *CancelSubscriptionResponse) GetSubscriptionResponse() *components.SubscriptionResponse
type Client ¶
type Client struct { // Indicates the response contains a client object. Will always contain the string `client` for this resource type. Resource *string `json:"resource,omitempty"` // The identifier uniquely referring to this client. Example: `org_12345678`. ID *string `json:"id,omitempty"` // The commission object. Commission *ListClientsCommission `json:"commission,omitempty"` // The date and time the client organization was created, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) // format. OrganizationCreatedAt *string `json:"organizationCreatedAt,omitempty"` // An object with several relevant URLs. Every URL object will contain an `href` and a `type` field. Links *ListClientsLinks `json:"_links,omitempty"` Embedded *ClientEmbedded `json:"_embedded,omitempty"` }
func (*Client) GetCommission ¶
func (c *Client) GetCommission() *ListClientsCommission
func (*Client) GetEmbedded ¶
func (c *Client) GetEmbedded() *ClientEmbedded
func (*Client) GetLinks ¶
func (c *Client) GetLinks() *ListClientsLinks
func (*Client) GetOrganizationCreatedAt ¶
func (*Client) GetResource ¶
type ClientEmbedded ¶
type ClientEmbedded struct { Organization *components.EntityOrganization `json:"organization,omitempty"` Onboarding *components.EntityOnboardingStatus `json:"onboarding,omitempty"` Capabilities *components.EntityCapability `json:"capabilities,omitempty"` }
func (*ClientEmbedded) GetCapabilities ¶
func (c *ClientEmbedded) GetCapabilities() *components.EntityCapability
func (*ClientEmbedded) GetOnboarding ¶
func (c *ClientEmbedded) GetOnboarding() *components.EntityOnboardingStatus
func (*ClientEmbedded) GetOrganization ¶
func (c *ClientEmbedded) GetOrganization() *components.EntityOrganization
type CreateCaptureRequest ¶
type CreateCaptureRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` EntityCapture *components.EntityCapture `request:"mediaType=application/json"` }
func (*CreateCaptureRequest) GetEntityCapture ¶
func (c *CreateCaptureRequest) GetEntityCapture() *components.EntityCapture
func (*CreateCaptureRequest) GetIdempotencyKey ¶
func (c *CreateCaptureRequest) GetIdempotencyKey() *string
func (*CreateCaptureRequest) GetPaymentID ¶
func (c *CreateCaptureRequest) GetPaymentID() string
type CreateCaptureResponse ¶
type CreateCaptureResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created capture object. For a complete reference of the // capture object, refer to the [Get capture endpoint](get-capture) documentation. CaptureResponse *components.CaptureResponse }
func (*CreateCaptureResponse) GetCaptureResponse ¶
func (c *CreateCaptureResponse) GetCaptureResponse() *components.CaptureResponse
func (*CreateCaptureResponse) GetHTTPMeta ¶
func (c *CreateCaptureResponse) GetHTTPMeta() components.HTTPMetadata
type CreateClientLinkRequest ¶
type CreateClientLinkRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` EntityClientLink *components.EntityClientLink `request:"mediaType=application/json"` }
func (*CreateClientLinkRequest) GetEntityClientLink ¶
func (c *CreateClientLinkRequest) GetEntityClientLink() *components.EntityClientLink
func (*CreateClientLinkRequest) GetIdempotencyKey ¶
func (c *CreateClientLinkRequest) GetIdempotencyKey() *string
type CreateClientLinkResponse ¶
type CreateClientLinkResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created client link object. EntityClientLinkResponse *components.EntityClientLinkResponse }
func (*CreateClientLinkResponse) GetEntityClientLinkResponse ¶
func (c *CreateClientLinkResponse) GetEntityClientLinkResponse() *components.EntityClientLinkResponse
func (*CreateClientLinkResponse) GetHTTPMeta ¶
func (c *CreateClientLinkResponse) GetHTTPMeta() components.HTTPMetadata
type CreateConnectBalanceTransferRequest ¶ added in v0.5.1
type CreateConnectBalanceTransferRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` EntityBalanceTransfer *components.EntityBalanceTransfer `request:"mediaType=application/json"` }
func (*CreateConnectBalanceTransferRequest) GetEntityBalanceTransfer ¶ added in v0.5.1
func (c *CreateConnectBalanceTransferRequest) GetEntityBalanceTransfer() *components.EntityBalanceTransfer
func (*CreateConnectBalanceTransferRequest) GetIdempotencyKey ¶ added in v0.5.1
func (c *CreateConnectBalanceTransferRequest) GetIdempotencyKey() *string
type CreateConnectBalanceTransferResponse ¶ added in v0.5.1
type CreateConnectBalanceTransferResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The balance transfer object. EntityBalanceTransferResponse *components.EntityBalanceTransferResponse }
func (*CreateConnectBalanceTransferResponse) GetEntityBalanceTransferResponse ¶ added in v0.5.1
func (c *CreateConnectBalanceTransferResponse) GetEntityBalanceTransferResponse() *components.EntityBalanceTransferResponse
func (*CreateConnectBalanceTransferResponse) GetHTTPMeta ¶ added in v0.5.1
func (c *CreateConnectBalanceTransferResponse) GetHTTPMeta() components.HTTPMetadata
type CreateCustomerPaymentRequest ¶
type CreateCustomerPaymentRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` PaymentRequest *components.PaymentRequest `request:"mediaType=application/json"` }
func (*CreateCustomerPaymentRequest) GetCustomerID ¶
func (c *CreateCustomerPaymentRequest) GetCustomerID() string
func (*CreateCustomerPaymentRequest) GetIdempotencyKey ¶
func (c *CreateCustomerPaymentRequest) GetIdempotencyKey() *string
func (*CreateCustomerPaymentRequest) GetPaymentRequest ¶
func (c *CreateCustomerPaymentRequest) GetPaymentRequest() *components.PaymentRequest
type CreateCustomerPaymentResponse ¶
type CreateCustomerPaymentResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created payment object. PaymentResponse *components.PaymentResponse }
func (*CreateCustomerPaymentResponse) GetHTTPMeta ¶
func (c *CreateCustomerPaymentResponse) GetHTTPMeta() components.HTTPMetadata
func (*CreateCustomerPaymentResponse) GetPaymentResponse ¶
func (c *CreateCustomerPaymentResponse) GetPaymentResponse() *components.PaymentResponse
type CreateCustomerRequest ¶
type CreateCustomerRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` EntityCustomer *components.EntityCustomer `request:"mediaType=application/json"` }
func (*CreateCustomerRequest) GetEntityCustomer ¶
func (c *CreateCustomerRequest) GetEntityCustomer() *components.EntityCustomer
func (*CreateCustomerRequest) GetIdempotencyKey ¶
func (c *CreateCustomerRequest) GetIdempotencyKey() *string
type CreateCustomerResponse ¶
type CreateCustomerResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created customer object. CustomerResponse *components.CustomerResponse }
func (*CreateCustomerResponse) GetCustomerResponse ¶
func (c *CreateCustomerResponse) GetCustomerResponse() *components.CustomerResponse
func (*CreateCustomerResponse) GetHTTPMeta ¶
func (c *CreateCustomerResponse) GetHTTPMeta() components.HTTPMetadata
type CreateMandateRequest ¶
type CreateMandateRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` EntityMandate *components.EntityMandate `request:"mediaType=application/json"` }
func (*CreateMandateRequest) GetCustomerID ¶
func (c *CreateMandateRequest) GetCustomerID() string
func (*CreateMandateRequest) GetEntityMandate ¶
func (c *CreateMandateRequest) GetEntityMandate() *components.EntityMandate
func (*CreateMandateRequest) GetIdempotencyKey ¶
func (c *CreateMandateRequest) GetIdempotencyKey() *string
type CreateMandateResponse ¶
type CreateMandateResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created mandate object. MandateResponse *components.MandateResponse }
func (*CreateMandateResponse) GetHTTPMeta ¶
func (c *CreateMandateResponse) GetHTTPMeta() components.HTTPMetadata
func (*CreateMandateResponse) GetMandateResponse ¶
func (c *CreateMandateResponse) GetMandateResponse() *components.MandateResponse
type CreatePaymentLinkRequest ¶
type CreatePaymentLinkRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *CreatePaymentLinkRequestBody `request:"mediaType=application/json"` }
func (*CreatePaymentLinkRequest) GetIdempotencyKey ¶
func (c *CreatePaymentLinkRequest) GetIdempotencyKey() *string
func (*CreatePaymentLinkRequest) GetRequestBody ¶
func (c *CreatePaymentLinkRequest) GetRequestBody() *CreatePaymentLinkRequestBody
type CreatePaymentLinkRequestBody ¶
type CreatePaymentLinkRequestBody struct { ID *string `json:"id,omitempty"` // A short description of the payment link. The description is visible in the Dashboard and will be shown on the // customer's bank or card statement when possible. Description string `json:"description"` // In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field. Amount *components.AmountNullable `json:"amount,omitempty"` // In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field. MinimumAmount *components.AmountNullable `json:"minimumAmount,omitempty"` // The URL your customer will be redirected to after completing the payment process. If no redirect URL is provided, // the customer will be shown a generic message after completing the payment. RedirectURL *string `json:"redirectUrl,omitempty"` // The webhook URL where we will send payment status updates to. // // The webhookUrl is optional, but without a webhook you will miss out on important status changes to any payments // resulting from the payment link. // // The webhookUrl must be reachable from Mollie's point of view, so you cannot use `localhost`. If you want to use // webhook during development on `localhost`, you must use a tool like ngrok to have the webhooks delivered to your // local machine. WebhookURL *string `json:"webhookUrl,omitempty"` // Optionally provide the order lines for the payment. Each line contains details such as a description of the item // ordered and its price. // // All lines must have the same currency as the payment. // // Required for payment methods `billie`, `in3`, `klarna`, `riverty` and `voucher`. Lines []components.PaymentLineItem `json:"lines,omitempty"` BillingAddress *components.PaymentAddress `json:"billingAddress,omitempty"` ShippingAddress *components.PaymentAddress `json:"shippingAddress,omitempty"` // The identifier referring to the [profile](get-profile) this entity belongs to. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted in the creation // request. For organization-level credentials such as OAuth access tokens however, the `profileId` parameter is // required. ProfileID *string `json:"profileId,omitempty"` // Indicates whether the payment link is reusable. If this field is set to `true`, customers can make multiple // payments using the same link. // // If no value is specified, the field defaults to `false`, allowing only a single payment per link. Reusable *bool `json:"reusable,omitempty"` // The date and time the payment link is set to expire, in ISO 8601 format. If no expiry date was provided up front, // the payment link will not expire automatically. ExpiresAt *string `json:"expiresAt,omitempty"` // An array of payment methods that are allowed to be used for this payment link. When this parameter is // not provided or is an empty array, all enabled payment methods will be available. // // Enum: 'applepay', 'bancomatpay', 'bancontact', 'banktransfer', 'belfius', 'blik', 'creditcard', 'eps', 'giftcard', // 'ideal', 'kbc', 'mybank', 'paybybank', 'paypal', 'paysafecard', 'pointofsale', 'przelewy24', 'satispay', 'trustly', 'twint', // 'in3', 'riverty', 'klarna', 'billie'. AllowedMethods []string `json:"allowedMethods,omitempty"` // With Mollie Connect you can charge fees on payment links that your app is processing on behalf of other Mollie // merchants. // // If you use OAuth to create payment links on a connected merchant's account, you can charge a fee using this // `applicationFee` parameter. If a payment on the payment link succeeds, the fee will be deducted from the merchant's balance and sent // to your own account balance. ApplicationFee *ApplicationFee `json:"applicationFee,omitempty"` SequenceType *components.PaymentLinkSequenceType `json:"sequenceType,omitempty"` // **Only relevant when `sequenceType` is set to `first`** // // The ID of the [customer](get-customer) the payment link is being created for. If a value is not provided, // the customer will be required to input relevant information which will be used to establish a mandate after // the payment is made. CustomerID *string `json:"customerId,omitempty"` // Whether to create the entity in test mode or live mode. // // Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be // omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting // `testmode` to `true`. Testmode *bool `json:"testmode,omitempty"` }
func (*CreatePaymentLinkRequestBody) GetAllowedMethods ¶
func (c *CreatePaymentLinkRequestBody) GetAllowedMethods() []string
func (*CreatePaymentLinkRequestBody) GetAmount ¶
func (c *CreatePaymentLinkRequestBody) GetAmount() *components.AmountNullable
func (*CreatePaymentLinkRequestBody) GetApplicationFee ¶
func (c *CreatePaymentLinkRequestBody) GetApplicationFee() *ApplicationFee
func (*CreatePaymentLinkRequestBody) GetBillingAddress ¶
func (c *CreatePaymentLinkRequestBody) GetBillingAddress() *components.PaymentAddress
func (*CreatePaymentLinkRequestBody) GetCustomerID ¶
func (c *CreatePaymentLinkRequestBody) GetCustomerID() *string
func (*CreatePaymentLinkRequestBody) GetDescription ¶
func (c *CreatePaymentLinkRequestBody) GetDescription() string
func (*CreatePaymentLinkRequestBody) GetExpiresAt ¶
func (c *CreatePaymentLinkRequestBody) GetExpiresAt() *string
func (*CreatePaymentLinkRequestBody) GetID ¶
func (c *CreatePaymentLinkRequestBody) GetID() *string
func (*CreatePaymentLinkRequestBody) GetLines ¶
func (c *CreatePaymentLinkRequestBody) GetLines() []components.PaymentLineItem
func (*CreatePaymentLinkRequestBody) GetMinimumAmount ¶
func (c *CreatePaymentLinkRequestBody) GetMinimumAmount() *components.AmountNullable
func (*CreatePaymentLinkRequestBody) GetProfileID ¶
func (c *CreatePaymentLinkRequestBody) GetProfileID() *string
func (*CreatePaymentLinkRequestBody) GetRedirectURL ¶
func (c *CreatePaymentLinkRequestBody) GetRedirectURL() *string
func (*CreatePaymentLinkRequestBody) GetReusable ¶
func (c *CreatePaymentLinkRequestBody) GetReusable() *bool
func (*CreatePaymentLinkRequestBody) GetSequenceType ¶
func (c *CreatePaymentLinkRequestBody) GetSequenceType() *components.PaymentLinkSequenceType
func (*CreatePaymentLinkRequestBody) GetShippingAddress ¶
func (c *CreatePaymentLinkRequestBody) GetShippingAddress() *components.PaymentAddress
func (*CreatePaymentLinkRequestBody) GetTestmode ¶
func (c *CreatePaymentLinkRequestBody) GetTestmode() *bool
func (*CreatePaymentLinkRequestBody) GetWebhookURL ¶
func (c *CreatePaymentLinkRequestBody) GetWebhookURL() *string
type CreatePaymentLinkResponse ¶
type CreatePaymentLinkResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created payment link object. PaymentLinkResponse *components.PaymentLinkResponse }
func (*CreatePaymentLinkResponse) GetHTTPMeta ¶
func (c *CreatePaymentLinkResponse) GetHTTPMeta() components.HTTPMetadata
func (*CreatePaymentLinkResponse) GetPaymentLinkResponse ¶
func (c *CreatePaymentLinkResponse) GetPaymentLinkResponse() *components.PaymentLinkResponse
type CreatePaymentRequest ¶
type CreatePaymentRequest struct { // This endpoint allows you to include additional information via the `include` query string parameter. Include *string `queryParam:"style=form,explode=true,name=include"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` PaymentRequest *components.PaymentRequest `request:"mediaType=application/json"` }
func (*CreatePaymentRequest) GetIdempotencyKey ¶
func (c *CreatePaymentRequest) GetIdempotencyKey() *string
func (*CreatePaymentRequest) GetInclude ¶
func (c *CreatePaymentRequest) GetInclude() *string
func (*CreatePaymentRequest) GetPaymentRequest ¶
func (c *CreatePaymentRequest) GetPaymentRequest() *components.PaymentRequest
type CreatePaymentResponse ¶
type CreatePaymentResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created payment object. PaymentResponse *components.PaymentResponse }
func (*CreatePaymentResponse) GetHTTPMeta ¶
func (c *CreatePaymentResponse) GetHTTPMeta() components.HTTPMetadata
func (*CreatePaymentResponse) GetPaymentResponse ¶
func (c *CreatePaymentResponse) GetPaymentResponse() *components.PaymentResponse
type CreateProfileRequest ¶
type CreateProfileRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` EntityProfile components.EntityProfile `request:"mediaType=application/json"` }
func (*CreateProfileRequest) GetEntityProfile ¶
func (c *CreateProfileRequest) GetEntityProfile() components.EntityProfile
func (*CreateProfileRequest) GetIdempotencyKey ¶
func (c *CreateProfileRequest) GetIdempotencyKey() *string
type CreateProfileResponse ¶
type CreateProfileResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created profile object. EntityProfileResponse *components.EntityProfileResponse }
func (*CreateProfileResponse) GetEntityProfileResponse ¶
func (c *CreateProfileResponse) GetEntityProfileResponse() *components.EntityProfileResponse
func (*CreateProfileResponse) GetHTTPMeta ¶
func (c *CreateProfileResponse) GetHTTPMeta() components.HTTPMetadata
type CreateRefundRequest ¶
type CreateRefundRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` EntityRefund *components.EntityRefund `request:"mediaType=application/json"` }
func (*CreateRefundRequest) GetEntityRefund ¶
func (c *CreateRefundRequest) GetEntityRefund() *components.EntityRefund
func (*CreateRefundRequest) GetIdempotencyKey ¶
func (c *CreateRefundRequest) GetIdempotencyKey() *string
func (*CreateRefundRequest) GetPaymentID ¶
func (c *CreateRefundRequest) GetPaymentID() string
type CreateRefundResponse ¶
type CreateRefundResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created refund object. EntityRefundResponse *components.EntityRefundResponse }
func (*CreateRefundResponse) GetEntityRefundResponse ¶
func (c *CreateRefundResponse) GetEntityRefundResponse() *components.EntityRefundResponse
func (*CreateRefundResponse) GetHTTPMeta ¶
func (c *CreateRefundResponse) GetHTTPMeta() components.HTTPMetadata
type CreateSalesInvoiceRequest ¶
type CreateSalesInvoiceRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` EntitySalesInvoice *components.EntitySalesInvoice `request:"mediaType=application/json"` }
func (*CreateSalesInvoiceRequest) GetEntitySalesInvoice ¶
func (c *CreateSalesInvoiceRequest) GetEntitySalesInvoice() *components.EntitySalesInvoice
func (*CreateSalesInvoiceRequest) GetIdempotencyKey ¶
func (c *CreateSalesInvoiceRequest) GetIdempotencyKey() *string
type CreateSalesInvoiceResponse ¶
type CreateSalesInvoiceResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created invoice object. For a complete reference of the invoice object, refer to the // [Get sales invoice endpoint](get-sales-invoice) documentation. EntitySalesInvoiceResponse *components.EntitySalesInvoiceResponse }
func (*CreateSalesInvoiceResponse) GetEntitySalesInvoiceResponse ¶
func (c *CreateSalesInvoiceResponse) GetEntitySalesInvoiceResponse() *components.EntitySalesInvoiceResponse
func (*CreateSalesInvoiceResponse) GetHTTPMeta ¶
func (c *CreateSalesInvoiceResponse) GetHTTPMeta() components.HTTPMetadata
type CreateSubscriptionRequest ¶
type CreateSubscriptionRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` SubscriptionRequest *components.SubscriptionRequest `request:"mediaType=application/json"` }
func (*CreateSubscriptionRequest) GetCustomerID ¶
func (c *CreateSubscriptionRequest) GetCustomerID() string
func (*CreateSubscriptionRequest) GetIdempotencyKey ¶
func (c *CreateSubscriptionRequest) GetIdempotencyKey() *string
func (*CreateSubscriptionRequest) GetSubscriptionRequest ¶
func (c *CreateSubscriptionRequest) GetSubscriptionRequest() *components.SubscriptionRequest
type CreateSubscriptionResponse ¶
type CreateSubscriptionResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The newly created subscription object. SubscriptionResponse *components.SubscriptionResponse }
func (*CreateSubscriptionResponse) GetHTTPMeta ¶
func (c *CreateSubscriptionResponse) GetHTTPMeta() components.HTTPMetadata
func (*CreateSubscriptionResponse) GetSubscriptionResponse ¶
func (c *CreateSubscriptionResponse) GetSubscriptionResponse() *components.SubscriptionResponse
type CreateWebhookRequest ¶
type CreateWebhookRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *CreateWebhookRequestBody `request:"mediaType=application/json"` }
func (*CreateWebhookRequest) GetIdempotencyKey ¶
func (c *CreateWebhookRequest) GetIdempotencyKey() *string
func (*CreateWebhookRequest) GetRequestBody ¶
func (c *CreateWebhookRequest) GetRequestBody() *CreateWebhookRequestBody
type CreateWebhookRequestBody ¶
type CreateWebhookRequestBody struct { // A name that identifies the webhook. Name string `json:"name"` // The URL Mollie will send the events to. This URL must be publicly accessible. URL string `json:"url"` // The event's type WebhookEventTypes components.WebhookEventTypes `json:"eventTypes"` // Whether to create the entity in test mode or live mode. // // Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be // omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting // `testmode` to `true`. Testmode *bool `json:"testmode,omitempty"` }
func (*CreateWebhookRequestBody) GetName ¶
func (c *CreateWebhookRequestBody) GetName() string
func (*CreateWebhookRequestBody) GetTestmode ¶
func (c *CreateWebhookRequestBody) GetTestmode() *bool
func (*CreateWebhookRequestBody) GetURL ¶
func (c *CreateWebhookRequestBody) GetURL() string
func (*CreateWebhookRequestBody) GetWebhookEventTypes ¶
func (c *CreateWebhookRequestBody) GetWebhookEventTypes() components.WebhookEventTypes
type CreateWebhookResponse ¶
type CreateWebhookResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The webhook object. CreateWebhook *components.CreateWebhook }
func (*CreateWebhookResponse) GetCreateWebhook ¶
func (c *CreateWebhookResponse) GetCreateWebhook() *components.CreateWebhook
func (*CreateWebhookResponse) GetHTTPMeta ¶
func (c *CreateWebhookResponse) GetHTTPMeta() components.HTTPMetadata
type DeleteCustomerRequest ¶
type DeleteCustomerRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *DeleteCustomerRequestBody `request:"mediaType=application/json"` }
func (*DeleteCustomerRequest) GetCustomerID ¶
func (d *DeleteCustomerRequest) GetCustomerID() string
func (*DeleteCustomerRequest) GetIdempotencyKey ¶
func (d *DeleteCustomerRequest) GetIdempotencyKey() *string
func (*DeleteCustomerRequest) GetRequestBody ¶
func (d *DeleteCustomerRequest) GetRequestBody() *DeleteCustomerRequestBody
type DeleteCustomerRequestBody ¶
type DeleteCustomerRequestBody struct { // Most API credentials are specifically created for either live mode or test mode. For organization-level credentials // such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `json:"testmode,omitempty"` }
func (*DeleteCustomerRequestBody) GetTestmode ¶
func (d *DeleteCustomerRequestBody) GetTestmode() *bool
type DeleteCustomerResponse ¶
type DeleteCustomerResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // An empty response. Any any }
func (*DeleteCustomerResponse) GetAny ¶
func (d *DeleteCustomerResponse) GetAny() any
func (*DeleteCustomerResponse) GetHTTPMeta ¶
func (d *DeleteCustomerResponse) GetHTTPMeta() components.HTTPMetadata
type DeletePaymentLinkRequest ¶
type DeletePaymentLinkRequest struct { // Provide the ID of the related payment link. PaymentLinkID string `pathParam:"style=simple,explode=false,name=paymentLinkId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *DeletePaymentLinkRequestBody `request:"mediaType=application/json"` }
func (*DeletePaymentLinkRequest) GetIdempotencyKey ¶
func (d *DeletePaymentLinkRequest) GetIdempotencyKey() *string
func (*DeletePaymentLinkRequest) GetPaymentLinkID ¶
func (d *DeletePaymentLinkRequest) GetPaymentLinkID() string
func (*DeletePaymentLinkRequest) GetRequestBody ¶
func (d *DeletePaymentLinkRequest) GetRequestBody() *DeletePaymentLinkRequestBody
type DeletePaymentLinkRequestBody ¶
type DeletePaymentLinkRequestBody struct { // Most API credentials are specifically created for either live mode or test mode. For organization-level credentials // such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `json:"testmode,omitempty"` }
func (*DeletePaymentLinkRequestBody) GetTestmode ¶
func (d *DeletePaymentLinkRequestBody) GetTestmode() *bool
type DeletePaymentLinkResponse ¶
type DeletePaymentLinkResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // An empty response. Any any }
func (*DeletePaymentLinkResponse) GetAny ¶
func (d *DeletePaymentLinkResponse) GetAny() any
func (*DeletePaymentLinkResponse) GetHTTPMeta ¶
func (d *DeletePaymentLinkResponse) GetHTTPMeta() components.HTTPMetadata
type DeleteProfileRequest ¶
type DeleteProfileRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*DeleteProfileRequest) GetID ¶
func (d *DeleteProfileRequest) GetID() string
func (*DeleteProfileRequest) GetIdempotencyKey ¶
func (d *DeleteProfileRequest) GetIdempotencyKey() *string
type DeleteProfileResponse ¶
type DeleteProfileResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // An empty response. Any any }
func (*DeleteProfileResponse) GetAny ¶
func (d *DeleteProfileResponse) GetAny() any
func (*DeleteProfileResponse) GetHTTPMeta ¶
func (d *DeleteProfileResponse) GetHTTPMeta() components.HTTPMetadata
type DeleteSalesInvoiceRequest ¶
type DeleteSalesInvoiceRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` DeleteValuesSalesInvoice *components.DeleteValuesSalesInvoice `request:"mediaType=application/json"` }
func (*DeleteSalesInvoiceRequest) GetDeleteValuesSalesInvoice ¶
func (d *DeleteSalesInvoiceRequest) GetDeleteValuesSalesInvoice() *components.DeleteValuesSalesInvoice
func (*DeleteSalesInvoiceRequest) GetID ¶
func (d *DeleteSalesInvoiceRequest) GetID() string
func (*DeleteSalesInvoiceRequest) GetIdempotencyKey ¶
func (d *DeleteSalesInvoiceRequest) GetIdempotencyKey() *string
type DeleteSalesInvoiceResponse ¶
type DeleteSalesInvoiceResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // An empty response. Any any }
func (*DeleteSalesInvoiceResponse) GetAny ¶
func (d *DeleteSalesInvoiceResponse) GetAny() any
func (*DeleteSalesInvoiceResponse) GetHTTPMeta ¶
func (d *DeleteSalesInvoiceResponse) GetHTTPMeta() components.HTTPMetadata
type DeleteWebhookRequest ¶
type DeleteWebhookRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *DeleteWebhookRequestBody `request:"mediaType=application/json"` }
func (*DeleteWebhookRequest) GetID ¶
func (d *DeleteWebhookRequest) GetID() string
func (*DeleteWebhookRequest) GetIdempotencyKey ¶
func (d *DeleteWebhookRequest) GetIdempotencyKey() *string
func (*DeleteWebhookRequest) GetRequestBody ¶
func (d *DeleteWebhookRequest) GetRequestBody() *DeleteWebhookRequestBody
type DeleteWebhookRequestBody ¶
type DeleteWebhookRequestBody struct { // Most API credentials are specifically created for either live mode or test mode. For organization-level credentials // such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `json:"testmode,omitempty"` }
func (*DeleteWebhookRequestBody) GetTestmode ¶
func (d *DeleteWebhookRequestBody) GetTestmode() *bool
type DeleteWebhookResponse ¶
type DeleteWebhookResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // No content. Any any }
func (*DeleteWebhookResponse) GetAny ¶
func (d *DeleteWebhookResponse) GetAny() any
func (*DeleteWebhookResponse) GetHTTPMeta ¶
func (d *DeleteWebhookResponse) GetHTTPMeta() components.HTTPMetadata
type Documentation ¶
type Documentation struct { Href *string `json:"href,omitempty"` Type *string `json:"type,omitempty"` }
func (*Documentation) GetHref ¶
func (d *Documentation) GetHref() *string
func (*Documentation) GetType ¶
func (d *Documentation) GetType() *string
type GetBalanceReportRequest ¶
type GetBalanceReportRequest struct { // Provide the ID of the related balance. BalanceID string `pathParam:"style=simple,explode=false,name=balanceId"` // The start date of the report, in `YYYY-MM-DD` format. The from date is // 'inclusive', and in Central European Time. This means a report with for example `from=2024-01-01` will // include transactions from 2024-01-01 0:00:00 CET and onwards. From string `queryParam:"style=form,explode=true,name=from"` // The end date of the report, in `YYYY-MM-DD` format. The until date is 'exclusive', and in Central European Time. // This means a report with for example `until=2024-02-01` will include transactions up until // 2024-01-31 23:59:59 CET. Until string `queryParam:"style=form,explode=true,name=until"` // You can retrieve reports in two different formats. With the `status-balances` format, transactions are grouped // by status (e.g. `pending`, `available`), then by transaction type, and then by other sub-groupings where // available (e.g. payment method). // // With the `transaction-categories` format, transactions are grouped by // transaction type, then by status, and then again by other sub-groupings where available. Grouping *Grouping `queryParam:"style=form,explode=true,name=grouping"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetBalanceReportRequest) GetBalanceID ¶
func (g *GetBalanceReportRequest) GetBalanceID() string
func (*GetBalanceReportRequest) GetFrom ¶
func (g *GetBalanceReportRequest) GetFrom() string
func (*GetBalanceReportRequest) GetGrouping ¶
func (g *GetBalanceReportRequest) GetGrouping() *Grouping
func (*GetBalanceReportRequest) GetIdempotencyKey ¶
func (g *GetBalanceReportRequest) GetIdempotencyKey() *string
func (*GetBalanceReportRequest) GetTestmode ¶
func (g *GetBalanceReportRequest) GetTestmode() *bool
func (*GetBalanceReportRequest) GetUntil ¶
func (g *GetBalanceReportRequest) GetUntil() string
type GetBalanceReportResponse ¶
type GetBalanceReportResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The balance report object. EntityBalanceReport *components.EntityBalanceReport }
func (*GetBalanceReportResponse) GetEntityBalanceReport ¶
func (g *GetBalanceReportResponse) GetEntityBalanceReport() *components.EntityBalanceReport
func (*GetBalanceReportResponse) GetHTTPMeta ¶
func (g *GetBalanceReportResponse) GetHTTPMeta() components.HTTPMetadata
type GetBalanceRequest ¶
type GetBalanceRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetBalanceRequest) GetID ¶
func (g *GetBalanceRequest) GetID() string
func (*GetBalanceRequest) GetIdempotencyKey ¶
func (g *GetBalanceRequest) GetIdempotencyKey() *string
func (*GetBalanceRequest) GetTestmode ¶
func (g *GetBalanceRequest) GetTestmode() *bool
type GetBalanceResponse ¶
type GetBalanceResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The balance object. EntityBalance *components.EntityBalance }
func (*GetBalanceResponse) GetEntityBalance ¶
func (g *GetBalanceResponse) GetEntityBalance() *components.EntityBalance
func (*GetBalanceResponse) GetHTTPMeta ¶
func (g *GetBalanceResponse) GetHTTPMeta() components.HTTPMetadata
type GetCaptureRequest ¶
type GetCaptureRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // Provide the ID of the related capture. CaptureID string `pathParam:"style=simple,explode=false,name=captureId"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetCaptureRequest) GetCaptureID ¶
func (g *GetCaptureRequest) GetCaptureID() string
func (*GetCaptureRequest) GetEmbed ¶
func (g *GetCaptureRequest) GetEmbed() *string
func (*GetCaptureRequest) GetIdempotencyKey ¶
func (g *GetCaptureRequest) GetIdempotencyKey() *string
func (*GetCaptureRequest) GetPaymentID ¶
func (g *GetCaptureRequest) GetPaymentID() string
func (*GetCaptureRequest) GetTestmode ¶
func (g *GetCaptureRequest) GetTestmode() *bool
type GetCaptureResponse ¶
type GetCaptureResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The capture object. CaptureResponse *components.CaptureResponse }
func (*GetCaptureResponse) GetCaptureResponse ¶
func (g *GetCaptureResponse) GetCaptureResponse() *components.CaptureResponse
func (*GetCaptureResponse) GetHTTPMeta ¶
func (g *GetCaptureResponse) GetHTTPMeta() components.HTTPMetadata
type GetChargebackRequest ¶
type GetChargebackRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // Provide the ID of the related chargeback. ChargebackID string `pathParam:"style=simple,explode=false,name=chargebackId"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetChargebackRequest) GetChargebackID ¶
func (g *GetChargebackRequest) GetChargebackID() string
func (*GetChargebackRequest) GetEmbed ¶
func (g *GetChargebackRequest) GetEmbed() *string
func (*GetChargebackRequest) GetIdempotencyKey ¶
func (g *GetChargebackRequest) GetIdempotencyKey() *string
func (*GetChargebackRequest) GetPaymentID ¶
func (g *GetChargebackRequest) GetPaymentID() string
func (*GetChargebackRequest) GetTestmode ¶
func (g *GetChargebackRequest) GetTestmode() *bool
type GetChargebackResponse ¶
type GetChargebackResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The chargeback object. EntityChargeback *components.EntityChargeback }
func (*GetChargebackResponse) GetEntityChargeback ¶
func (g *GetChargebackResponse) GetEntityChargeback() *components.EntityChargeback
func (*GetChargebackResponse) GetHTTPMeta ¶
func (g *GetChargebackResponse) GetHTTPMeta() components.HTTPMetadata
type GetClientCommission ¶
type GetClientCommission struct { // The commission count. Count *int64 `json:"count,omitempty"` }
GetClientCommission - The commission object.
func (*GetClientCommission) GetCount ¶
func (g *GetClientCommission) GetCount() *int64
type GetClientEmbedded ¶
type GetClientEmbedded struct { Organization *components.EntityOrganization `json:"organization,omitempty"` Onboarding *components.EntityOnboardingStatus `json:"onboarding,omitempty"` Capabilities *components.EntityCapability `json:"capabilities,omitempty"` }
func (*GetClientEmbedded) GetCapabilities ¶
func (g *GetClientEmbedded) GetCapabilities() *components.EntityCapability
func (*GetClientEmbedded) GetOnboarding ¶
func (g *GetClientEmbedded) GetOnboarding() *components.EntityOnboardingStatus
func (*GetClientEmbedded) GetOrganization ¶
func (g *GetClientEmbedded) GetOrganization() *components.EntityOrganization
type GetClientLinks ¶
type GetClientLinks struct { // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Self *components.URLObj `json:"self,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Organization *components.URLObj `json:"organization,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Onboarding *components.URLObj `json:"onboarding,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Documentation *components.URLObj `json:"documentation,omitempty"` }
GetClientLinks - An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
func (*GetClientLinks) GetDocumentation ¶
func (g *GetClientLinks) GetDocumentation() *components.URLObj
func (*GetClientLinks) GetOnboarding ¶
func (g *GetClientLinks) GetOnboarding() *components.URLObj
func (*GetClientLinks) GetOrganization ¶
func (g *GetClientLinks) GetOrganization() *components.URLObj
func (*GetClientLinks) GetSelf ¶
func (g *GetClientLinks) GetSelf() *components.URLObj
type GetClientRequest ¶
type GetClientRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetClientRequest) GetEmbed ¶
func (g *GetClientRequest) GetEmbed() *string
func (*GetClientRequest) GetID ¶
func (g *GetClientRequest) GetID() string
func (*GetClientRequest) GetIdempotencyKey ¶
func (g *GetClientRequest) GetIdempotencyKey() *string
type GetClientResponse ¶
type GetClientResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The client object. Object *GetClientResponseBody }
func (*GetClientResponse) GetHTTPMeta ¶
func (g *GetClientResponse) GetHTTPMeta() components.HTTPMetadata
func (*GetClientResponse) GetObject ¶
func (g *GetClientResponse) GetObject() *GetClientResponseBody
type GetClientResponseBody ¶
type GetClientResponseBody struct { // Indicates the response contains a client object. Will always contain the string `client` for this resource type. Resource *string `json:"resource,omitempty"` // The identifier uniquely referring to this client. Example: `org_12345678`. ID *string `json:"id,omitempty"` // The commission object. Commission *GetClientCommission `json:"commission,omitempty"` // The date and time the client organization was created, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) // format. OrganizationCreatedAt *string `json:"organizationCreatedAt,omitempty"` // An object with several relevant URLs. Every URL object will contain an `href` and a `type` field. Links *GetClientLinks `json:"_links,omitempty"` Embedded *GetClientEmbedded `json:"_embedded,omitempty"` }
GetClientResponseBody - The client object.
func (*GetClientResponseBody) GetCommission ¶
func (g *GetClientResponseBody) GetCommission() *GetClientCommission
func (*GetClientResponseBody) GetEmbedded ¶
func (g *GetClientResponseBody) GetEmbedded() *GetClientEmbedded
func (*GetClientResponseBody) GetID ¶
func (g *GetClientResponseBody) GetID() *string
func (*GetClientResponseBody) GetLinks ¶
func (g *GetClientResponseBody) GetLinks() *GetClientLinks
func (*GetClientResponseBody) GetOrganizationCreatedAt ¶
func (g *GetClientResponseBody) GetOrganizationCreatedAt() *string
func (*GetClientResponseBody) GetResource ¶
func (g *GetClientResponseBody) GetResource() *string
type GetConnectBalanceTransferRequest ¶ added in v0.5.1
type GetConnectBalanceTransferRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetConnectBalanceTransferRequest) GetID ¶ added in v0.5.1
func (g *GetConnectBalanceTransferRequest) GetID() string
func (*GetConnectBalanceTransferRequest) GetIdempotencyKey ¶ added in v0.5.1
func (g *GetConnectBalanceTransferRequest) GetIdempotencyKey() *string
func (*GetConnectBalanceTransferRequest) GetTestmode ¶ added in v0.5.1
func (g *GetConnectBalanceTransferRequest) GetTestmode() *bool
type GetConnectBalanceTransferResponse ¶ added in v0.5.1
type GetConnectBalanceTransferResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The Connect balance transfer object. EntityBalanceTransferResponse *components.EntityBalanceTransferResponse }
func (*GetConnectBalanceTransferResponse) GetEntityBalanceTransferResponse ¶ added in v0.5.1
func (g *GetConnectBalanceTransferResponse) GetEntityBalanceTransferResponse() *components.EntityBalanceTransferResponse
func (*GetConnectBalanceTransferResponse) GetHTTPMeta ¶ added in v0.5.1
func (g *GetConnectBalanceTransferResponse) GetHTTPMeta() components.HTTPMetadata
type GetCurrentOrganizationRequest ¶
type GetCurrentOrganizationRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetCurrentOrganizationRequest) GetIdempotencyKey ¶
func (g *GetCurrentOrganizationRequest) GetIdempotencyKey() *string
type GetCurrentOrganizationResponse ¶
type GetCurrentOrganizationResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The current organization object. EntityOrganization *components.EntityOrganization }
func (*GetCurrentOrganizationResponse) GetEntityOrganization ¶
func (g *GetCurrentOrganizationResponse) GetEntityOrganization() *components.EntityOrganization
func (*GetCurrentOrganizationResponse) GetHTTPMeta ¶
func (g *GetCurrentOrganizationResponse) GetHTTPMeta() components.HTTPMetadata
type GetCurrentProfileRequest ¶
type GetCurrentProfileRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetCurrentProfileRequest) GetIdempotencyKey ¶
func (g *GetCurrentProfileRequest) GetIdempotencyKey() *string
type GetCurrentProfileResponse ¶
type GetCurrentProfileResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The current profile object. For a complete reference of the profile object, refer to the // [Get profile](get-profile) endpoint documentation. EntityProfileResponse *components.EntityProfileResponse }
func (*GetCurrentProfileResponse) GetEntityProfileResponse ¶
func (g *GetCurrentProfileResponse) GetEntityProfileResponse() *components.EntityProfileResponse
func (*GetCurrentProfileResponse) GetHTTPMeta ¶
func (g *GetCurrentProfileResponse) GetHTTPMeta() components.HTTPMetadata
type GetCustomerLinks ¶
type GetCustomerLinks struct { // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Self components.URLObj `json:"self"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Dashboard components.URLObj `json:"dashboard"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Payments *components.URLNullable `json:"payments,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Mandates *components.URLNullable `json:"mandates,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Subscriptions *components.URLNullable `json:"subscriptions,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Documentation components.URLObj `json:"documentation"` }
GetCustomerLinks - An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
func (*GetCustomerLinks) GetDashboard ¶
func (g *GetCustomerLinks) GetDashboard() components.URLObj
func (*GetCustomerLinks) GetDocumentation ¶
func (g *GetCustomerLinks) GetDocumentation() components.URLObj
func (*GetCustomerLinks) GetMandates ¶
func (g *GetCustomerLinks) GetMandates() *components.URLNullable
func (*GetCustomerLinks) GetPayments ¶
func (g *GetCustomerLinks) GetPayments() *components.URLNullable
func (*GetCustomerLinks) GetSelf ¶
func (g *GetCustomerLinks) GetSelf() components.URLObj
func (*GetCustomerLinks) GetSubscriptions ¶
func (g *GetCustomerLinks) GetSubscriptions() *components.URLNullable
type GetCustomerRequest ¶
type GetCustomerRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // This endpoint allows you to include additional information via the `include` query string parameter. Include *string `queryParam:"style=form,explode=true,name=include"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetCustomerRequest) GetCustomerID ¶
func (g *GetCustomerRequest) GetCustomerID() string
func (*GetCustomerRequest) GetIdempotencyKey ¶
func (g *GetCustomerRequest) GetIdempotencyKey() *string
func (*GetCustomerRequest) GetInclude ¶
func (g *GetCustomerRequest) GetInclude() *string
func (*GetCustomerRequest) GetTestmode ¶
func (g *GetCustomerRequest) GetTestmode() *bool
type GetCustomerResponse ¶
type GetCustomerResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The customer object. Object *GetCustomerResponseBody }
func (*GetCustomerResponse) GetHTTPMeta ¶
func (g *GetCustomerResponse) GetHTTPMeta() components.HTTPMetadata
func (*GetCustomerResponse) GetObject ¶
func (g *GetCustomerResponse) GetObject() *GetCustomerResponseBody
type GetCustomerResponseBody ¶
type GetCustomerResponseBody struct { // Indicates the response contains a customer object. Will always contain the string `customer` for this endpoint. Resource *string `json:"resource,omitempty"` ID *string `json:"id,omitempty"` // Whether this entity was created in live mode or in test mode. Mode *components.Mode `json:"mode,omitempty"` // The full name of the customer. Name *string `json:"name,omitempty"` // The email address of the customer. Email *string `json:"email,omitempty"` // Allows you to preset the language to be used. Locale *components.LocaleResponse `json:"locale,omitempty"` // Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever // you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB. Metadata *components.Metadata `json:"metadata,omitempty"` // The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. CreatedAt *string `json:"createdAt,omitempty"` // An object with several relevant URLs. Every URL object will contain an `href` and a `type` field. Links *GetCustomerLinks `json:"_links,omitempty"` Events []components.EntityEvent `json:"events,omitempty"` }
GetCustomerResponseBody - The customer object.
func (*GetCustomerResponseBody) GetCreatedAt ¶
func (g *GetCustomerResponseBody) GetCreatedAt() *string
func (*GetCustomerResponseBody) GetEmail ¶
func (g *GetCustomerResponseBody) GetEmail() *string
func (*GetCustomerResponseBody) GetEvents ¶
func (g *GetCustomerResponseBody) GetEvents() []components.EntityEvent
func (*GetCustomerResponseBody) GetID ¶
func (g *GetCustomerResponseBody) GetID() *string
func (*GetCustomerResponseBody) GetLinks ¶
func (g *GetCustomerResponseBody) GetLinks() *GetCustomerLinks
func (*GetCustomerResponseBody) GetLocale ¶
func (g *GetCustomerResponseBody) GetLocale() *components.LocaleResponse
func (*GetCustomerResponseBody) GetMetadata ¶
func (g *GetCustomerResponseBody) GetMetadata() *components.Metadata
func (*GetCustomerResponseBody) GetMode ¶
func (g *GetCustomerResponseBody) GetMode() *components.Mode
func (*GetCustomerResponseBody) GetName ¶
func (g *GetCustomerResponseBody) GetName() *string
func (*GetCustomerResponseBody) GetResource ¶
func (g *GetCustomerResponseBody) GetResource() *string
type GetInvoiceRequest ¶
type GetInvoiceRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetInvoiceRequest) GetID ¶
func (g *GetInvoiceRequest) GetID() string
func (*GetInvoiceRequest) GetIdempotencyKey ¶
func (g *GetInvoiceRequest) GetIdempotencyKey() *string
type GetInvoiceResponse ¶
type GetInvoiceResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The invoice object. EntityInvoice *components.EntityInvoice }
func (*GetInvoiceResponse) GetEntityInvoice ¶
func (g *GetInvoiceResponse) GetEntityInvoice() *components.EntityInvoice
func (*GetInvoiceResponse) GetHTTPMeta ¶
func (g *GetInvoiceResponse) GetHTTPMeta() components.HTTPMetadata
type GetMandateRequest ¶
type GetMandateRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // Provide the ID of the related mandate. MandateID string `pathParam:"style=simple,explode=false,name=mandateId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetMandateRequest) GetCustomerID ¶
func (g *GetMandateRequest) GetCustomerID() string
func (*GetMandateRequest) GetIdempotencyKey ¶
func (g *GetMandateRequest) GetIdempotencyKey() *string
func (*GetMandateRequest) GetMandateID ¶
func (g *GetMandateRequest) GetMandateID() string
func (*GetMandateRequest) GetTestmode ¶
func (g *GetMandateRequest) GetTestmode() *bool
type GetMandateResponse ¶
type GetMandateResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The mandate object. MandateResponse *components.MandateResponse }
func (*GetMandateResponse) GetHTTPMeta ¶
func (g *GetMandateResponse) GetHTTPMeta() components.HTTPMetadata
func (*GetMandateResponse) GetMandateResponse ¶
func (g *GetMandateResponse) GetMandateResponse() *components.MandateResponse
type GetMethodRequest ¶
type GetMethodRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // Response language Locale *components.LocaleParameter `queryParam:"style=form,explode=true,name=locale"` // If provided, the `minimumAmount` and `maximumAmount` will be converted // to the given currency. An error is returned if the currency is not supported by the payment method. Currency *string `queryParam:"style=form,explode=true,name=currency"` // The identifier referring to the [profile](get-profile) you wish to // retrieve the resources for. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For // organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // This endpoint allows you to include additional information via the `include` query string parameter. Include *string `queryParam:"style=form,explode=true,name=include"` // Set this parameter to `first` to only return the methods that // can be used for the first payment of a recurring sequence. // // Set it to `recurring` to only return methods that can be used for recurring payments or subscriptions. SequenceType *components.SequenceType `queryParam:"style=form,explode=true,name=sequenceType"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetMethodRequest) GetCurrency ¶
func (g *GetMethodRequest) GetCurrency() *string
func (*GetMethodRequest) GetID ¶
func (g *GetMethodRequest) GetID() string
func (*GetMethodRequest) GetIdempotencyKey ¶
func (g *GetMethodRequest) GetIdempotencyKey() *string
func (*GetMethodRequest) GetInclude ¶
func (g *GetMethodRequest) GetInclude() *string
func (*GetMethodRequest) GetLocale ¶
func (g *GetMethodRequest) GetLocale() *components.LocaleParameter
func (*GetMethodRequest) GetProfileID ¶
func (g *GetMethodRequest) GetProfileID() *string
func (*GetMethodRequest) GetSequenceType ¶
func (g *GetMethodRequest) GetSequenceType() *components.SequenceType
func (*GetMethodRequest) GetTestmode ¶
func (g *GetMethodRequest) GetTestmode() *bool
type GetMethodResponse ¶
type GetMethodResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The payment method object. EntityMethod *components.EntityMethod }
func (*GetMethodResponse) GetEntityMethod ¶
func (g *GetMethodResponse) GetEntityMethod() *components.EntityMethod
func (*GetMethodResponse) GetHTTPMeta ¶
func (g *GetMethodResponse) GetHTTPMeta() components.HTTPMetadata
type GetNextSettlementRequest ¶
type GetNextSettlementRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetNextSettlementRequest) GetIdempotencyKey ¶
func (g *GetNextSettlementRequest) GetIdempotencyKey() *string
type GetNextSettlementResponse ¶
type GetNextSettlementResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The next settlement object. For a complete reference of the settlement object, refer to the // [Get settlement](get-settlement) endpoint documentation. EntitySettlement *components.EntitySettlement }
func (*GetNextSettlementResponse) GetEntitySettlement ¶
func (g *GetNextSettlementResponse) GetEntitySettlement() *components.EntitySettlement
func (*GetNextSettlementResponse) GetHTTPMeta ¶
func (g *GetNextSettlementResponse) GetHTTPMeta() components.HTTPMetadata
type GetOnboardingStatusRequest ¶
type GetOnboardingStatusRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetOnboardingStatusRequest) GetIdempotencyKey ¶
func (g *GetOnboardingStatusRequest) GetIdempotencyKey() *string
type GetOnboardingStatusResponse ¶
type GetOnboardingStatusResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The onboarding status object of the current organization. EntityOnboardingStatus *components.EntityOnboardingStatus }
func (*GetOnboardingStatusResponse) GetEntityOnboardingStatus ¶
func (g *GetOnboardingStatusResponse) GetEntityOnboardingStatus() *components.EntityOnboardingStatus
func (*GetOnboardingStatusResponse) GetHTTPMeta ¶
func (g *GetOnboardingStatusResponse) GetHTTPMeta() components.HTTPMetadata
type GetOpenSettlementRequest ¶
type GetOpenSettlementRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetOpenSettlementRequest) GetIdempotencyKey ¶
func (g *GetOpenSettlementRequest) GetIdempotencyKey() *string
type GetOpenSettlementResponse ¶
type GetOpenSettlementResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A settlement object describing your current balance. For a complete reference of the settlement object, refer to // the [Get settlement](get-settlement) endpoint documentation. EntitySettlement *components.EntitySettlement }
func (*GetOpenSettlementResponse) GetEntitySettlement ¶
func (g *GetOpenSettlementResponse) GetEntitySettlement() *components.EntitySettlement
func (*GetOpenSettlementResponse) GetHTTPMeta ¶
func (g *GetOpenSettlementResponse) GetHTTPMeta() components.HTTPMetadata
type GetOrganizationRequest ¶
type GetOrganizationRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetOrganizationRequest) GetID ¶
func (g *GetOrganizationRequest) GetID() string
func (*GetOrganizationRequest) GetIdempotencyKey ¶
func (g *GetOrganizationRequest) GetIdempotencyKey() *string
func (*GetOrganizationRequest) GetTestmode ¶
func (g *GetOrganizationRequest) GetTestmode() *bool
type GetOrganizationResponse ¶
type GetOrganizationResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The organization object. EntityOrganization *components.EntityOrganization }
func (*GetOrganizationResponse) GetEntityOrganization ¶
func (g *GetOrganizationResponse) GetEntityOrganization() *components.EntityOrganization
func (*GetOrganizationResponse) GetHTTPMeta ¶
func (g *GetOrganizationResponse) GetHTTPMeta() components.HTTPMetadata
type GetPartnerStatusLinks ¶
type GetPartnerStatusLinks struct { // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Self *components.URLObj `json:"self,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Signuplink *components.URLObj `json:"signuplink,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Documentation *components.URLObj `json:"documentation,omitempty"` }
GetPartnerStatusLinks - An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
func (*GetPartnerStatusLinks) GetDocumentation ¶
func (g *GetPartnerStatusLinks) GetDocumentation() *components.URLObj
func (*GetPartnerStatusLinks) GetSelf ¶
func (g *GetPartnerStatusLinks) GetSelf() *components.URLObj
func (*GetPartnerStatusLinks) GetSignuplink ¶
func (g *GetPartnerStatusLinks) GetSignuplink() *components.URLObj
type GetPartnerStatusRequest ¶
type GetPartnerStatusRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetPartnerStatusRequest) GetIdempotencyKey ¶
func (g *GetPartnerStatusRequest) GetIdempotencyKey() *string
type GetPartnerStatusResponse ¶
type GetPartnerStatusResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The partner status object. Object *GetPartnerStatusResponseBody }
func (*GetPartnerStatusResponse) GetHTTPMeta ¶
func (g *GetPartnerStatusResponse) GetHTTPMeta() components.HTTPMetadata
func (*GetPartnerStatusResponse) GetObject ¶
func (g *GetPartnerStatusResponse) GetObject() *GetPartnerStatusResponseBody
type GetPartnerStatusResponseBody ¶
type GetPartnerStatusResponseBody struct { // Indicates the response contains a partner status object. Will always contain the string `partner` for // this endpoint. Resource string `json:"resource"` // Indicates the type of partner. Will be `null` if the currently authenticated organization is not // enrolled as a partner. PartnerType *PartnerType `json:"partnerType"` // Whether the current organization is receiving commissions. IsCommissionPartner *bool `json:"isCommissionPartner,omitempty"` // Array of User-Agent token objects. Present if the organization is a partner of type `useragent`, or if // they were in the past. UserAgentTokens []UserAgentToken `json:"userAgentTokens,omitempty"` // The date the partner contract was signed, in ISO 8601 format. Omitted if no contract has been signed // (yet). PartnerContractSignedAt *string `json:"partnerContractSignedAt,omitempty"` // Whether an update to the partner contract is available and requiring the organization's agreement. PartnerContractUpdateAvailable *bool `json:"partnerContractUpdateAvailable,omitempty"` // The expiration date of the signed partner contract, in ISO 8601 format. Omitted if contract has no // expiration date (yet). PartnerContractExpiresAt *string `json:"partnerContractExpiresAt,omitempty"` // An object with several relevant URLs. Every URL object will contain an `href` and a `type` field. Links *GetPartnerStatusLinks `json:"_links,omitempty"` }
GetPartnerStatusResponseBody - The partner status object.
func (*GetPartnerStatusResponseBody) GetIsCommissionPartner ¶
func (g *GetPartnerStatusResponseBody) GetIsCommissionPartner() *bool
func (*GetPartnerStatusResponseBody) GetLinks ¶
func (g *GetPartnerStatusResponseBody) GetLinks() *GetPartnerStatusLinks
func (*GetPartnerStatusResponseBody) GetPartnerContractExpiresAt ¶
func (g *GetPartnerStatusResponseBody) GetPartnerContractExpiresAt() *string
func (*GetPartnerStatusResponseBody) GetPartnerContractSignedAt ¶
func (g *GetPartnerStatusResponseBody) GetPartnerContractSignedAt() *string
func (*GetPartnerStatusResponseBody) GetPartnerContractUpdateAvailable ¶
func (g *GetPartnerStatusResponseBody) GetPartnerContractUpdateAvailable() *bool
func (*GetPartnerStatusResponseBody) GetPartnerType ¶
func (g *GetPartnerStatusResponseBody) GetPartnerType() *PartnerType
func (*GetPartnerStatusResponseBody) GetResource ¶
func (g *GetPartnerStatusResponseBody) GetResource() string
func (*GetPartnerStatusResponseBody) GetUserAgentTokens ¶
func (g *GetPartnerStatusResponseBody) GetUserAgentTokens() []UserAgentToken
type GetPaymentLinkPaymentsEmbedded ¶
type GetPaymentLinkPaymentsEmbedded struct { // An array of payment objects. Payments []components.PaymentResponse `json:"payments,omitempty"` }
func (*GetPaymentLinkPaymentsEmbedded) GetPayments ¶
func (g *GetPaymentLinkPaymentsEmbedded) GetPayments() []components.PaymentResponse
type GetPaymentLinkPaymentsRequest ¶
type GetPaymentLinkPaymentsRequest struct { // Provide the ID of the related payment link. PaymentLinkID string `pathParam:"style=simple,explode=false,name=paymentLinkId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetPaymentLinkPaymentsRequest) GetFrom ¶
func (g *GetPaymentLinkPaymentsRequest) GetFrom() *string
func (*GetPaymentLinkPaymentsRequest) GetIdempotencyKey ¶
func (g *GetPaymentLinkPaymentsRequest) GetIdempotencyKey() *string
func (*GetPaymentLinkPaymentsRequest) GetLimit ¶
func (g *GetPaymentLinkPaymentsRequest) GetLimit() *int64
func (*GetPaymentLinkPaymentsRequest) GetPaymentLinkID ¶
func (g *GetPaymentLinkPaymentsRequest) GetPaymentLinkID() string
func (*GetPaymentLinkPaymentsRequest) GetSort ¶
func (g *GetPaymentLinkPaymentsRequest) GetSort() *components.ListSort
func (*GetPaymentLinkPaymentsRequest) GetTestmode ¶
func (g *GetPaymentLinkPaymentsRequest) GetTestmode() *bool
type GetPaymentLinkPaymentsResponse ¶
type GetPaymentLinkPaymentsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of payment objects. Object *GetPaymentLinkPaymentsResponseBody }
func (*GetPaymentLinkPaymentsResponse) GetHTTPMeta ¶
func (g *GetPaymentLinkPaymentsResponse) GetHTTPMeta() components.HTTPMetadata
func (*GetPaymentLinkPaymentsResponse) GetObject ¶
func (g *GetPaymentLinkPaymentsResponse) GetObject() *GetPaymentLinkPaymentsResponseBody
type GetPaymentLinkPaymentsResponseBody ¶
type GetPaymentLinkPaymentsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded GetPaymentLinkPaymentsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
GetPaymentLinkPaymentsResponseBody - A list of payment objects.
func (*GetPaymentLinkPaymentsResponseBody) GetCount ¶
func (g *GetPaymentLinkPaymentsResponseBody) GetCount() int64
func (*GetPaymentLinkPaymentsResponseBody) GetEmbedded ¶
func (g *GetPaymentLinkPaymentsResponseBody) GetEmbedded() GetPaymentLinkPaymentsEmbedded
func (*GetPaymentLinkPaymentsResponseBody) GetLinks ¶
func (g *GetPaymentLinkPaymentsResponseBody) GetLinks() components.ListLinks
type GetPaymentLinkRequest ¶
type GetPaymentLinkRequest struct { // Provide the ID of the related payment link. PaymentLinkID string `pathParam:"style=simple,explode=false,name=paymentLinkId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetPaymentLinkRequest) GetIdempotencyKey ¶
func (g *GetPaymentLinkRequest) GetIdempotencyKey() *string
func (*GetPaymentLinkRequest) GetPaymentLinkID ¶
func (g *GetPaymentLinkRequest) GetPaymentLinkID() string
func (*GetPaymentLinkRequest) GetTestmode ¶
func (g *GetPaymentLinkRequest) GetTestmode() *bool
type GetPaymentLinkResponse ¶
type GetPaymentLinkResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The payment link object. PaymentLinkResponse *components.PaymentLinkResponse }
func (*GetPaymentLinkResponse) GetHTTPMeta ¶
func (g *GetPaymentLinkResponse) GetHTTPMeta() components.HTTPMetadata
func (*GetPaymentLinkResponse) GetPaymentLinkResponse ¶
func (g *GetPaymentLinkResponse) GetPaymentLinkResponse() *components.PaymentLinkResponse
type GetPaymentRequest ¶
type GetPaymentRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // This endpoint allows you to include additional information via the `include` query string parameter. Include *string `queryParam:"style=form,explode=true,name=include"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetPaymentRequest) GetEmbed ¶
func (g *GetPaymentRequest) GetEmbed() *string
func (*GetPaymentRequest) GetIdempotencyKey ¶
func (g *GetPaymentRequest) GetIdempotencyKey() *string
func (*GetPaymentRequest) GetInclude ¶
func (g *GetPaymentRequest) GetInclude() *string
func (*GetPaymentRequest) GetPaymentID ¶
func (g *GetPaymentRequest) GetPaymentID() string
func (*GetPaymentRequest) GetTestmode ¶
func (g *GetPaymentRequest) GetTestmode() *bool
type GetPaymentResponse ¶
type GetPaymentResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The payment object. PaymentResponse *components.PaymentResponse }
func (*GetPaymentResponse) GetHTTPMeta ¶
func (g *GetPaymentResponse) GetHTTPMeta() components.HTTPMetadata
func (*GetPaymentResponse) GetPaymentResponse ¶
func (g *GetPaymentResponse) GetPaymentResponse() *components.PaymentResponse
type GetPermissionRequest ¶
type GetPermissionRequest struct { // Provide the ID of the related permission. PermissionID string `pathParam:"style=simple,explode=false,name=permissionId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetPermissionRequest) GetIdempotencyKey ¶
func (g *GetPermissionRequest) GetIdempotencyKey() *string
func (*GetPermissionRequest) GetPermissionID ¶
func (g *GetPermissionRequest) GetPermissionID() string
func (*GetPermissionRequest) GetTestmode ¶
func (g *GetPermissionRequest) GetTestmode() *bool
type GetPermissionResponse ¶
type GetPermissionResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The permission object. EntityPermission *components.EntityPermission }
func (*GetPermissionResponse) GetEntityPermission ¶
func (g *GetPermissionResponse) GetEntityPermission() *components.EntityPermission
func (*GetPermissionResponse) GetHTTPMeta ¶
func (g *GetPermissionResponse) GetHTTPMeta() components.HTTPMetadata
type GetPrimaryBalanceRequest ¶
type GetPrimaryBalanceRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetPrimaryBalanceRequest) GetIdempotencyKey ¶
func (g *GetPrimaryBalanceRequest) GetIdempotencyKey() *string
type GetPrimaryBalanceResponse ¶
type GetPrimaryBalanceResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The primary balance object. EntityBalance *components.EntityBalance }
func (*GetPrimaryBalanceResponse) GetEntityBalance ¶
func (g *GetPrimaryBalanceResponse) GetEntityBalance() *components.EntityBalance
func (*GetPrimaryBalanceResponse) GetHTTPMeta ¶
func (g *GetPrimaryBalanceResponse) GetHTTPMeta() components.HTTPMetadata
type GetProfileRequest ¶
type GetProfileRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetProfileRequest) GetID ¶
func (g *GetProfileRequest) GetID() string
func (*GetProfileRequest) GetIdempotencyKey ¶
func (g *GetProfileRequest) GetIdempotencyKey() *string
func (*GetProfileRequest) GetTestmode ¶
func (g *GetProfileRequest) GetTestmode() *bool
type GetProfileResponse ¶
type GetProfileResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The profile object. EntityProfileResponse *components.EntityProfileResponse }
func (*GetProfileResponse) GetEntityProfileResponse ¶
func (g *GetProfileResponse) GetEntityProfileResponse() *components.EntityProfileResponse
func (*GetProfileResponse) GetHTTPMeta ¶
func (g *GetProfileResponse) GetHTTPMeta() components.HTTPMetadata
type GetRefundRequest ¶
type GetRefundRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // Provide the ID of the related refund. RefundID string `pathParam:"style=simple,explode=false,name=refundId"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetRefundRequest) GetEmbed ¶
func (g *GetRefundRequest) GetEmbed() *string
func (*GetRefundRequest) GetIdempotencyKey ¶
func (g *GetRefundRequest) GetIdempotencyKey() *string
func (*GetRefundRequest) GetPaymentID ¶
func (g *GetRefundRequest) GetPaymentID() string
func (*GetRefundRequest) GetRefundID ¶
func (g *GetRefundRequest) GetRefundID() string
func (*GetRefundRequest) GetTestmode ¶
func (g *GetRefundRequest) GetTestmode() *bool
type GetRefundResponse ¶
type GetRefundResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The payment object. EntityRefundResponse *components.EntityRefundResponse }
func (*GetRefundResponse) GetEntityRefundResponse ¶
func (g *GetRefundResponse) GetEntityRefundResponse() *components.EntityRefundResponse
func (*GetRefundResponse) GetHTTPMeta ¶
func (g *GetRefundResponse) GetHTTPMeta() components.HTTPMetadata
type GetSalesInvoiceRequest ¶
type GetSalesInvoiceRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetSalesInvoiceRequest) GetID ¶
func (g *GetSalesInvoiceRequest) GetID() string
func (*GetSalesInvoiceRequest) GetIdempotencyKey ¶
func (g *GetSalesInvoiceRequest) GetIdempotencyKey() *string
func (*GetSalesInvoiceRequest) GetTestmode ¶
func (g *GetSalesInvoiceRequest) GetTestmode() *bool
type GetSalesInvoiceResponse ¶
type GetSalesInvoiceResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The Sales Invoice object. EntitySalesInvoiceResponse *components.EntitySalesInvoiceResponse }
func (*GetSalesInvoiceResponse) GetEntitySalesInvoiceResponse ¶
func (g *GetSalesInvoiceResponse) GetEntitySalesInvoiceResponse() *components.EntitySalesInvoiceResponse
func (*GetSalesInvoiceResponse) GetHTTPMeta ¶
func (g *GetSalesInvoiceResponse) GetHTTPMeta() components.HTTPMetadata
type GetSettlementRequest ¶
type GetSettlementRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetSettlementRequest) GetID ¶
func (g *GetSettlementRequest) GetID() string
func (*GetSettlementRequest) GetIdempotencyKey ¶
func (g *GetSettlementRequest) GetIdempotencyKey() *string
type GetSettlementResponse ¶
type GetSettlementResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The settlement object. EntitySettlement *components.EntitySettlement }
func (*GetSettlementResponse) GetEntitySettlement ¶
func (g *GetSettlementResponse) GetEntitySettlement() *components.EntitySettlement
func (*GetSettlementResponse) GetHTTPMeta ¶
func (g *GetSettlementResponse) GetHTTPMeta() components.HTTPMetadata
type GetSubscriptionRequest ¶
type GetSubscriptionRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // Provide the ID of the related subscription. SubscriptionID string `pathParam:"style=simple,explode=false,name=subscriptionId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetSubscriptionRequest) GetCustomerID ¶
func (g *GetSubscriptionRequest) GetCustomerID() string
func (*GetSubscriptionRequest) GetIdempotencyKey ¶
func (g *GetSubscriptionRequest) GetIdempotencyKey() *string
func (*GetSubscriptionRequest) GetSubscriptionID ¶
func (g *GetSubscriptionRequest) GetSubscriptionID() string
func (*GetSubscriptionRequest) GetTestmode ¶
func (g *GetSubscriptionRequest) GetTestmode() *bool
type GetSubscriptionResponse ¶
type GetSubscriptionResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The subscription object. SubscriptionResponse *components.SubscriptionResponse }
func (*GetSubscriptionResponse) GetHTTPMeta ¶
func (g *GetSubscriptionResponse) GetHTTPMeta() components.HTTPMetadata
func (*GetSubscriptionResponse) GetSubscriptionResponse ¶
func (g *GetSubscriptionResponse) GetSubscriptionResponse() *components.SubscriptionResponse
type GetTerminalRequest ¶
type GetTerminalRequest struct { // Provide the ID of the related terminal. TerminalID string `pathParam:"style=simple,explode=false,name=terminalId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetTerminalRequest) GetIdempotencyKey ¶
func (g *GetTerminalRequest) GetIdempotencyKey() *string
func (*GetTerminalRequest) GetTerminalID ¶
func (g *GetTerminalRequest) GetTerminalID() string
func (*GetTerminalRequest) GetTestmode ¶
func (g *GetTerminalRequest) GetTestmode() *bool
type GetTerminalResponse ¶
type GetTerminalResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The terminal object. EntityTerminal *components.EntityTerminal }
func (*GetTerminalResponse) GetEntityTerminal ¶
func (g *GetTerminalResponse) GetEntityTerminal() *components.EntityTerminal
func (*GetTerminalResponse) GetHTTPMeta ¶
func (g *GetTerminalResponse) GetHTTPMeta() components.HTTPMetadata
type GetWebhookEventRequest ¶
type GetWebhookEventRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetWebhookEventRequest) GetID ¶
func (g *GetWebhookEventRequest) GetID() string
func (*GetWebhookEventRequest) GetIdempotencyKey ¶
func (g *GetWebhookEventRequest) GetIdempotencyKey() *string
func (*GetWebhookEventRequest) GetTestmode ¶
func (g *GetWebhookEventRequest) GetTestmode() *bool
type GetWebhookEventResponse ¶
type GetWebhookEventResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The webhook event object. EntityWebhookEvent *components.EntityWebhookEvent }
func (*GetWebhookEventResponse) GetEntityWebhookEvent ¶
func (g *GetWebhookEventResponse) GetEntityWebhookEvent() *components.EntityWebhookEvent
func (*GetWebhookEventResponse) GetHTTPMeta ¶
func (g *GetWebhookEventResponse) GetHTTPMeta() components.HTTPMetadata
type GetWebhookRequest ¶
type GetWebhookRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*GetWebhookRequest) GetID ¶
func (g *GetWebhookRequest) GetID() string
func (*GetWebhookRequest) GetIdempotencyKey ¶
func (g *GetWebhookRequest) GetIdempotencyKey() *string
func (*GetWebhookRequest) GetTestmode ¶
func (g *GetWebhookRequest) GetTestmode() *bool
type GetWebhookResponse ¶
type GetWebhookResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The webhook object. EntityWebhook *components.EntityWebhook }
func (*GetWebhookResponse) GetEntityWebhook ¶
func (g *GetWebhookResponse) GetEntityWebhook() *components.EntityWebhook
func (*GetWebhookResponse) GetHTTPMeta ¶
func (g *GetWebhookResponse) GetHTTPMeta() components.HTTPMetadata
type Grouping ¶
type Grouping string
Grouping - You can retrieve reports in two different formats. With the `status-balances` format, transactions are grouped by status (e.g. `pending`, `available`), then by transaction type, and then by other sub-groupings where available (e.g. payment method).
With the `transaction-categories` format, transactions are grouped by transaction type, then by status, and then again by other sub-groupings where available.
func (*Grouping) UnmarshalJSON ¶
type IncludeWallets ¶
type IncludeWallets string
IncludeWallets - A comma-separated list of the wallets you support in your checkout. Wallets often require wallet specific code to check if they are available on the shoppers device, hence the need to indicate your support.
const (
IncludeWalletsApplepay IncludeWallets = "applepay"
)
func (IncludeWallets) ToPointer ¶
func (e IncludeWallets) ToPointer() *IncludeWallets
func (*IncludeWallets) UnmarshalJSON ¶
func (e *IncludeWallets) UnmarshalJSON(data []byte) error
type ListAllChargebacksEmbedded ¶
type ListAllChargebacksEmbedded struct { // A list of chargeback objects. Chargebacks []components.EntityChargeback `json:"chargebacks,omitempty"` }
func (*ListAllChargebacksEmbedded) GetChargebacks ¶
func (l *ListAllChargebacksEmbedded) GetChargebacks() []components.EntityChargeback
type ListAllChargebacksRequest ¶
type ListAllChargebacksRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // The identifier referring to the [profile](get-profile) you wish to // retrieve chargebacks for. // // Most API credentials are linked to a single profile. In these cases the // `profileId` is already implied. // // To retrieve all chargebacks across the organization, use an // organization-level API credential and omit the `profileId` parameter. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListAllChargebacksRequest) GetEmbed ¶
func (l *ListAllChargebacksRequest) GetEmbed() *string
func (*ListAllChargebacksRequest) GetFrom ¶
func (l *ListAllChargebacksRequest) GetFrom() *string
func (*ListAllChargebacksRequest) GetIdempotencyKey ¶
func (l *ListAllChargebacksRequest) GetIdempotencyKey() *string
func (*ListAllChargebacksRequest) GetLimit ¶
func (l *ListAllChargebacksRequest) GetLimit() *int64
func (*ListAllChargebacksRequest) GetProfileID ¶
func (l *ListAllChargebacksRequest) GetProfileID() *string
func (*ListAllChargebacksRequest) GetSort ¶
func (l *ListAllChargebacksRequest) GetSort() *components.ListSort
func (*ListAllChargebacksRequest) GetTestmode ¶
func (l *ListAllChargebacksRequest) GetTestmode() *bool
type ListAllChargebacksResponse ¶
type ListAllChargebacksResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of chargeback objects. Object *ListAllChargebacksResponseBody }
func (*ListAllChargebacksResponse) GetHTTPMeta ¶
func (l *ListAllChargebacksResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListAllChargebacksResponse) GetObject ¶
func (l *ListAllChargebacksResponse) GetObject() *ListAllChargebacksResponseBody
type ListAllChargebacksResponseBody ¶
type ListAllChargebacksResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListAllChargebacksEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *components.ListLinks `json:"_links,omitempty"` }
ListAllChargebacksResponseBody - A list of chargeback objects.
func (*ListAllChargebacksResponseBody) GetCount ¶
func (l *ListAllChargebacksResponseBody) GetCount() *int64
func (*ListAllChargebacksResponseBody) GetEmbedded ¶
func (l *ListAllChargebacksResponseBody) GetEmbedded() *ListAllChargebacksEmbedded
func (*ListAllChargebacksResponseBody) GetLinks ¶
func (l *ListAllChargebacksResponseBody) GetLinks() *components.ListLinks
type ListAllMethodsEmbedded ¶
type ListAllMethodsEmbedded struct { // An array of payment method objects. For a complete // reference of the payment method object, refer to the [Get payment method endpoint](get-method) // documentation. Methods []components.EntityMethodAll `json:"methods"` }
func (*ListAllMethodsEmbedded) GetMethods ¶
func (l *ListAllMethodsEmbedded) GetMethods() []components.EntityMethodAll
type ListAllMethodsLinks ¶
type ListAllMethodsLinks struct { // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Self components.URLObj `json:"self"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Documentation components.URLObj `json:"documentation"` }
func (*ListAllMethodsLinks) GetDocumentation ¶
func (l *ListAllMethodsLinks) GetDocumentation() components.URLObj
func (*ListAllMethodsLinks) GetSelf ¶
func (l *ListAllMethodsLinks) GetSelf() components.URLObj
type ListAllMethodsRequest ¶
type ListAllMethodsRequest struct { // Response language Locale *components.LocaleParameter `queryParam:"style=form,explode=true,name=locale"` // If supplied, only payment methods that support the amount and currency // are returned. // // Example: `/v2/methods/all?amount[value]=100.00&amount[currency]=USD` Amount *components.Amount `queryParam:"style=deepObject,explode=true,name=amount"` // This endpoint allows you to include additional information via the `include` query string parameter. Include *string `queryParam:"style=form,explode=true,name=include"` // Set this parameter to `first` to only return the methods that // can be used for the first payment of a recurring sequence. // // Set it to `recurring` to only return methods that can be used for recurring payments or subscriptions. SequenceType *components.SequenceType `queryParam:"style=form,explode=true,name=sequenceType"` // The identifier referring to the [profile](get-profile) you wish to // retrieve the resources for. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For // organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListAllMethodsRequest) GetAmount ¶
func (l *ListAllMethodsRequest) GetAmount() *components.Amount
func (*ListAllMethodsRequest) GetIdempotencyKey ¶
func (l *ListAllMethodsRequest) GetIdempotencyKey() *string
func (*ListAllMethodsRequest) GetInclude ¶
func (l *ListAllMethodsRequest) GetInclude() *string
func (*ListAllMethodsRequest) GetLocale ¶
func (l *ListAllMethodsRequest) GetLocale() *components.LocaleParameter
func (*ListAllMethodsRequest) GetProfileID ¶
func (l *ListAllMethodsRequest) GetProfileID() *string
func (*ListAllMethodsRequest) GetSequenceType ¶
func (l *ListAllMethodsRequest) GetSequenceType() *components.SequenceType
func (*ListAllMethodsRequest) GetTestmode ¶
func (l *ListAllMethodsRequest) GetTestmode() *bool
type ListAllMethodsResponse ¶
type ListAllMethodsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of payment method objects. For a complete reference of the // payment method object, refer to the [Get payment method endpoint](get-method) documentation. Object *ListAllMethodsResponseBody }
func (*ListAllMethodsResponse) GetHTTPMeta ¶
func (l *ListAllMethodsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListAllMethodsResponse) GetObject ¶
func (l *ListAllMethodsResponse) GetObject() *ListAllMethodsResponseBody
type ListAllMethodsResponseBody ¶
type ListAllMethodsResponseBody struct { // The number of payment method objects in this result set. Results are **not** paginated. Count int64 `json:"count"` Embedded ListAllMethodsEmbedded `json:"_embedded"` Links ListAllMethodsLinks `json:"_links"` }
ListAllMethodsResponseBody - A list of payment method objects. For a complete reference of the payment method object, refer to the [Get payment method endpoint](get-method) documentation.
func (*ListAllMethodsResponseBody) GetCount ¶
func (l *ListAllMethodsResponseBody) GetCount() int64
func (*ListAllMethodsResponseBody) GetEmbedded ¶
func (l *ListAllMethodsResponseBody) GetEmbedded() ListAllMethodsEmbedded
func (*ListAllMethodsResponseBody) GetLinks ¶
func (l *ListAllMethodsResponseBody) GetLinks() ListAllMethodsLinks
type ListAllRefundsEmbedded ¶
type ListAllRefundsEmbedded struct { // An array of refund objects. Refunds []components.EntityRefundResponse `json:"refunds"` }
func (*ListAllRefundsEmbedded) GetRefunds ¶
func (l *ListAllRefundsEmbedded) GetRefunds() []components.EntityRefundResponse
type ListAllRefundsRequest ¶
type ListAllRefundsRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // The identifier referring to the [profile](get-profile) you wish to // retrieve the resources for. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For // organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListAllRefundsRequest) GetEmbed ¶
func (l *ListAllRefundsRequest) GetEmbed() *string
func (*ListAllRefundsRequest) GetFrom ¶
func (l *ListAllRefundsRequest) GetFrom() *string
func (*ListAllRefundsRequest) GetIdempotencyKey ¶
func (l *ListAllRefundsRequest) GetIdempotencyKey() *string
func (*ListAllRefundsRequest) GetLimit ¶
func (l *ListAllRefundsRequest) GetLimit() *int64
func (*ListAllRefundsRequest) GetProfileID ¶
func (l *ListAllRefundsRequest) GetProfileID() *string
func (*ListAllRefundsRequest) GetSort ¶
func (l *ListAllRefundsRequest) GetSort() *components.ListSort
func (*ListAllRefundsRequest) GetTestmode ¶
func (l *ListAllRefundsRequest) GetTestmode() *bool
type ListAllRefundsResponse ¶
type ListAllRefundsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of refund objects Object *ListAllRefundsResponseBody }
func (*ListAllRefundsResponse) GetHTTPMeta ¶
func (l *ListAllRefundsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListAllRefundsResponse) GetObject ¶
func (l *ListAllRefundsResponse) GetObject() *ListAllRefundsResponseBody
type ListAllRefundsResponseBody ¶
type ListAllRefundsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListAllRefundsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListAllRefundsResponseBody - A list of refund objects
func (*ListAllRefundsResponseBody) GetCount ¶
func (l *ListAllRefundsResponseBody) GetCount() int64
func (*ListAllRefundsResponseBody) GetEmbedded ¶
func (l *ListAllRefundsResponseBody) GetEmbedded() ListAllRefundsEmbedded
func (*ListAllRefundsResponseBody) GetLinks ¶
func (l *ListAllRefundsResponseBody) GetLinks() components.ListLinks
type ListAllSubscriptionsEmbedded ¶
type ListAllSubscriptionsEmbedded struct { // A list of subscription objects. Subscriptions []components.SubscriptionResponse `json:"subscriptions,omitempty"` }
func (*ListAllSubscriptionsEmbedded) GetSubscriptions ¶
func (l *ListAllSubscriptionsEmbedded) GetSubscriptions() []components.SubscriptionResponse
type ListAllSubscriptionsRequest ¶
type ListAllSubscriptionsRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // The identifier referring to the [profile](get-profile) you wish to retrieve subscriptions for. // // Most API credentials are linked to a single profile. In these cases the `profileId` is already implied. // // To retrieve all subscriptions across the organization, use an organization-level API credential and omit the // `profileId` parameter. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListAllSubscriptionsRequest) GetFrom ¶
func (l *ListAllSubscriptionsRequest) GetFrom() *string
func (*ListAllSubscriptionsRequest) GetIdempotencyKey ¶
func (l *ListAllSubscriptionsRequest) GetIdempotencyKey() *string
func (*ListAllSubscriptionsRequest) GetLimit ¶
func (l *ListAllSubscriptionsRequest) GetLimit() *int64
func (*ListAllSubscriptionsRequest) GetProfileID ¶
func (l *ListAllSubscriptionsRequest) GetProfileID() *string
func (*ListAllSubscriptionsRequest) GetTestmode ¶
func (l *ListAllSubscriptionsRequest) GetTestmode() *bool
type ListAllSubscriptionsResponse ¶
type ListAllSubscriptionsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of subscription objects. Object *ListAllSubscriptionsResponseBody }
func (*ListAllSubscriptionsResponse) GetHTTPMeta ¶
func (l *ListAllSubscriptionsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListAllSubscriptionsResponse) GetObject ¶
func (l *ListAllSubscriptionsResponse) GetObject() *ListAllSubscriptionsResponseBody
type ListAllSubscriptionsResponseBody ¶
type ListAllSubscriptionsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListAllSubscriptionsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListAllSubscriptionsResponseBody - A list of subscription objects.
func (*ListAllSubscriptionsResponseBody) GetCount ¶
func (l *ListAllSubscriptionsResponseBody) GetCount() int64
func (*ListAllSubscriptionsResponseBody) GetEmbedded ¶
func (l *ListAllSubscriptionsResponseBody) GetEmbedded() ListAllSubscriptionsEmbedded
func (*ListAllSubscriptionsResponseBody) GetLinks ¶
func (l *ListAllSubscriptionsResponseBody) GetLinks() components.ListLinks
type ListBalanceTransactionsEmbedded ¶
type ListBalanceTransactionsEmbedded struct { // An array of balance transaction objects. BalanceTransactions []components.EntityBalanceTransaction `json:"balance_transactions,omitempty"` }
func (*ListBalanceTransactionsEmbedded) GetBalanceTransactions ¶
func (l *ListBalanceTransactionsEmbedded) GetBalanceTransactions() []components.EntityBalanceTransaction
type ListBalanceTransactionsRequest ¶
type ListBalanceTransactionsRequest struct { // Provide the ID of the related balance. BalanceID string `pathParam:"style=simple,explode=false,name=balanceId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListBalanceTransactionsRequest) GetBalanceID ¶
func (l *ListBalanceTransactionsRequest) GetBalanceID() string
func (*ListBalanceTransactionsRequest) GetFrom ¶
func (l *ListBalanceTransactionsRequest) GetFrom() *string
func (*ListBalanceTransactionsRequest) GetIdempotencyKey ¶
func (l *ListBalanceTransactionsRequest) GetIdempotencyKey() *string
func (*ListBalanceTransactionsRequest) GetLimit ¶
func (l *ListBalanceTransactionsRequest) GetLimit() *int64
func (*ListBalanceTransactionsRequest) GetTestmode ¶
func (l *ListBalanceTransactionsRequest) GetTestmode() *bool
type ListBalanceTransactionsResponse ¶
type ListBalanceTransactionsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of balance transaction objects. Object *ListBalanceTransactionsResponseBody }
func (*ListBalanceTransactionsResponse) GetHTTPMeta ¶
func (l *ListBalanceTransactionsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListBalanceTransactionsResponse) GetObject ¶
func (l *ListBalanceTransactionsResponse) GetObject() *ListBalanceTransactionsResponseBody
type ListBalanceTransactionsResponseBody ¶
type ListBalanceTransactionsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListBalanceTransactionsEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *components.ListLinks `json:"_links,omitempty"` }
ListBalanceTransactionsResponseBody - A list of balance transaction objects.
func (*ListBalanceTransactionsResponseBody) GetCount ¶
func (l *ListBalanceTransactionsResponseBody) GetCount() *int64
func (*ListBalanceTransactionsResponseBody) GetEmbedded ¶
func (l *ListBalanceTransactionsResponseBody) GetEmbedded() *ListBalanceTransactionsEmbedded
func (*ListBalanceTransactionsResponseBody) GetLinks ¶
func (l *ListBalanceTransactionsResponseBody) GetLinks() *components.ListLinks
type ListBalancesEmbedded ¶
type ListBalancesEmbedded struct { // An array of balance objects. For a complete reference of // the balance object, refer to the [Get balance endpoint](get-balance) documentation. Balances []components.EntityBalance `json:"balances,omitempty"` }
func (*ListBalancesEmbedded) GetBalances ¶
func (l *ListBalancesEmbedded) GetBalances() []components.EntityBalance
type ListBalancesRequest ¶
type ListBalancesRequest struct { // Optionally only return balances with the given currency. For example: `EUR`. Currency *string `queryParam:"style=form,explode=true,name=currency"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListBalancesRequest) GetCurrency ¶
func (l *ListBalancesRequest) GetCurrency() *string
func (*ListBalancesRequest) GetFrom ¶
func (l *ListBalancesRequest) GetFrom() *string
func (*ListBalancesRequest) GetIdempotencyKey ¶
func (l *ListBalancesRequest) GetIdempotencyKey() *string
func (*ListBalancesRequest) GetLimit ¶
func (l *ListBalancesRequest) GetLimit() *int64
func (*ListBalancesRequest) GetTestmode ¶
func (l *ListBalancesRequest) GetTestmode() *bool
type ListBalancesResponse ¶
type ListBalancesResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of balance objects. For a complete reference of the balance // object, refer to the [Get balance endpoint](get-balance) documentation. Object *ListBalancesResponseBody }
func (*ListBalancesResponse) GetHTTPMeta ¶
func (l *ListBalancesResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListBalancesResponse) GetObject ¶
func (l *ListBalancesResponse) GetObject() *ListBalancesResponseBody
type ListBalancesResponseBody ¶
type ListBalancesResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListBalancesEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *components.ListLinks `json:"_links,omitempty"` }
ListBalancesResponseBody - A list of balance objects. For a complete reference of the balance object, refer to the [Get balance endpoint](get-balance) documentation.
func (*ListBalancesResponseBody) GetCount ¶
func (l *ListBalancesResponseBody) GetCount() *int64
func (*ListBalancesResponseBody) GetEmbedded ¶
func (l *ListBalancesResponseBody) GetEmbedded() *ListBalancesEmbedded
func (*ListBalancesResponseBody) GetLinks ¶
func (l *ListBalancesResponseBody) GetLinks() *components.ListLinks
type ListCapabilitiesEmbedded ¶
type ListCapabilitiesEmbedded struct {
Capabilities []components.EntityCapability `json:"capabilities,omitempty"`
}
func (*ListCapabilitiesEmbedded) GetCapabilities ¶
func (l *ListCapabilitiesEmbedded) GetCapabilities() []components.EntityCapability
type ListCapabilitiesLinks ¶
type ListCapabilitiesLinks struct {
Documentation *Documentation `json:"documentation,omitempty"`
}
func (*ListCapabilitiesLinks) GetDocumentation ¶
func (l *ListCapabilitiesLinks) GetDocumentation() *Documentation
type ListCapabilitiesRequest ¶
type ListCapabilitiesRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListCapabilitiesRequest) GetIdempotencyKey ¶
func (l *ListCapabilitiesRequest) GetIdempotencyKey() *string
type ListCapabilitiesResponse ¶
type ListCapabilitiesResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of capabilities. Object *ListCapabilitiesResponseBody }
func (*ListCapabilitiesResponse) GetHTTPMeta ¶
func (l *ListCapabilitiesResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListCapabilitiesResponse) GetObject ¶
func (l *ListCapabilitiesResponse) GetObject() *ListCapabilitiesResponseBody
type ListCapabilitiesResponseBody ¶
type ListCapabilitiesResponseBody struct { // The number of items in this result set. Count *int64 `json:"count,omitempty"` Embedded *ListCapabilitiesEmbedded `json:"_embedded,omitempty"` Links *ListCapabilitiesLinks `json:"_links,omitempty"` }
ListCapabilitiesResponseBody - A list of capabilities.
func (*ListCapabilitiesResponseBody) GetCount ¶
func (l *ListCapabilitiesResponseBody) GetCount() *int64
func (*ListCapabilitiesResponseBody) GetEmbedded ¶
func (l *ListCapabilitiesResponseBody) GetEmbedded() *ListCapabilitiesEmbedded
func (*ListCapabilitiesResponseBody) GetLinks ¶
func (l *ListCapabilitiesResponseBody) GetLinks() *ListCapabilitiesLinks
type ListCapturesEmbedded ¶
type ListCapturesEmbedded struct { // An array of capture objects. Captures []components.CaptureResponse `json:"captures"` }
func (*ListCapturesEmbedded) GetCaptures ¶
func (l *ListCapturesEmbedded) GetCaptures() []components.CaptureResponse
type ListCapturesRequest ¶
type ListCapturesRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListCapturesRequest) GetEmbed ¶
func (l *ListCapturesRequest) GetEmbed() *string
func (*ListCapturesRequest) GetFrom ¶
func (l *ListCapturesRequest) GetFrom() *string
func (*ListCapturesRequest) GetIdempotencyKey ¶
func (l *ListCapturesRequest) GetIdempotencyKey() *string
func (*ListCapturesRequest) GetLimit ¶
func (l *ListCapturesRequest) GetLimit() *int64
func (*ListCapturesRequest) GetPaymentID ¶
func (l *ListCapturesRequest) GetPaymentID() string
func (*ListCapturesRequest) GetTestmode ¶
func (l *ListCapturesRequest) GetTestmode() *bool
type ListCapturesResponse ¶
type ListCapturesResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of capture objects. Object *ListCapturesResponseBody }
func (*ListCapturesResponse) GetHTTPMeta ¶
func (l *ListCapturesResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListCapturesResponse) GetObject ¶
func (l *ListCapturesResponse) GetObject() *ListCapturesResponseBody
type ListCapturesResponseBody ¶
type ListCapturesResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListCapturesEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListCapturesResponseBody - A list of capture objects.
func (*ListCapturesResponseBody) GetCount ¶
func (l *ListCapturesResponseBody) GetCount() int64
func (*ListCapturesResponseBody) GetEmbedded ¶
func (l *ListCapturesResponseBody) GetEmbedded() ListCapturesEmbedded
func (*ListCapturesResponseBody) GetLinks ¶
func (l *ListCapturesResponseBody) GetLinks() components.ListLinks
type ListChargebacksEmbedded ¶
type ListChargebacksEmbedded struct { // A list of chargeback objects. Chargebacks []components.EntityChargeback `json:"chargebacks,omitempty"` }
func (*ListChargebacksEmbedded) GetChargebacks ¶
func (l *ListChargebacksEmbedded) GetChargebacks() []components.EntityChargeback
type ListChargebacksRequest ¶
type ListChargebacksRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListChargebacksRequest) GetEmbed ¶
func (l *ListChargebacksRequest) GetEmbed() *string
func (*ListChargebacksRequest) GetFrom ¶
func (l *ListChargebacksRequest) GetFrom() *string
func (*ListChargebacksRequest) GetIdempotencyKey ¶
func (l *ListChargebacksRequest) GetIdempotencyKey() *string
func (*ListChargebacksRequest) GetLimit ¶
func (l *ListChargebacksRequest) GetLimit() *int64
func (*ListChargebacksRequest) GetPaymentID ¶
func (l *ListChargebacksRequest) GetPaymentID() string
func (*ListChargebacksRequest) GetTestmode ¶
func (l *ListChargebacksRequest) GetTestmode() *bool
type ListChargebacksResponse ¶
type ListChargebacksResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of chargeback objects. Object *ListChargebacksResponseBody }
func (*ListChargebacksResponse) GetHTTPMeta ¶
func (l *ListChargebacksResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListChargebacksResponse) GetObject ¶
func (l *ListChargebacksResponse) GetObject() *ListChargebacksResponseBody
type ListChargebacksResponseBody ¶
type ListChargebacksResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListChargebacksEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *components.ListLinks `json:"_links,omitempty"` }
ListChargebacksResponseBody - A list of chargeback objects.
func (*ListChargebacksResponseBody) GetCount ¶
func (l *ListChargebacksResponseBody) GetCount() *int64
func (*ListChargebacksResponseBody) GetEmbedded ¶
func (l *ListChargebacksResponseBody) GetEmbedded() *ListChargebacksEmbedded
func (*ListChargebacksResponseBody) GetLinks ¶
func (l *ListChargebacksResponseBody) GetLinks() *components.ListLinks
type ListClientsCommission ¶
type ListClientsCommission struct { // The commission count. Count *int64 `json:"count,omitempty"` }
ListClientsCommission - The commission object.
func (*ListClientsCommission) GetCount ¶
func (l *ListClientsCommission) GetCount() *int64
type ListClientsEmbedded ¶
type ListClientsEmbedded struct { // An array of client objects. For a complete reference of the client object, refer to the // [Get client endpoint](get-client) documentation. Clients []Client `json:"clients,omitempty"` }
func (*ListClientsEmbedded) GetClients ¶
func (l *ListClientsEmbedded) GetClients() []Client
type ListClientsLinks ¶
type ListClientsLinks struct { // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Self *components.URLObj `json:"self,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Organization *components.URLObj `json:"organization,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Onboarding *components.URLObj `json:"onboarding,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Documentation *components.URLObj `json:"documentation,omitempty"` }
ListClientsLinks - An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
func (*ListClientsLinks) GetDocumentation ¶
func (l *ListClientsLinks) GetDocumentation() *components.URLObj
func (*ListClientsLinks) GetOnboarding ¶
func (l *ListClientsLinks) GetOnboarding() *components.URLObj
func (*ListClientsLinks) GetOrganization ¶
func (l *ListClientsLinks) GetOrganization() *components.URLObj
func (*ListClientsLinks) GetSelf ¶
func (l *ListClientsLinks) GetSelf() *components.URLObj
type ListClientsRequest ¶
type ListClientsRequest struct { // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListClientsRequest) GetEmbed ¶
func (l *ListClientsRequest) GetEmbed() *string
func (*ListClientsRequest) GetFrom ¶
func (l *ListClientsRequest) GetFrom() *string
func (*ListClientsRequest) GetIdempotencyKey ¶
func (l *ListClientsRequest) GetIdempotencyKey() *string
func (*ListClientsRequest) GetLimit ¶
func (l *ListClientsRequest) GetLimit() *int64
type ListClientsResponse ¶
type ListClientsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of client objects. For a complete reference of the client object, refer to the // [Get client endpoint](get-client) documentation. Object *ListClientsResponseBody }
func (*ListClientsResponse) GetHTTPMeta ¶
func (l *ListClientsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListClientsResponse) GetObject ¶
func (l *ListClientsResponse) GetObject() *ListClientsResponseBody
type ListClientsResponseBody ¶
type ListClientsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListClientsEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *components.ListLinks `json:"_links,omitempty"` }
ListClientsResponseBody - A list of client objects. For a complete reference of the client object, refer to the [Get client endpoint](get-client) documentation.
func (*ListClientsResponseBody) GetCount ¶
func (l *ListClientsResponseBody) GetCount() *int64
func (*ListClientsResponseBody) GetEmbedded ¶
func (l *ListClientsResponseBody) GetEmbedded() *ListClientsEmbedded
func (*ListClientsResponseBody) GetLinks ¶
func (l *ListClientsResponseBody) GetLinks() *components.ListLinks
type ListConnectBalanceTransfersEmbedded ¶ added in v0.5.1
type ListConnectBalanceTransfersEmbedded struct { // A list of Connect balance transfers. ConnectBalanceTransfers []components.EntityBalanceTransferResponse `json:"connect_balance_transfers"` }
func (*ListConnectBalanceTransfersEmbedded) GetConnectBalanceTransfers ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersEmbedded) GetConnectBalanceTransfers() []components.EntityBalanceTransferResponse
type ListConnectBalanceTransfersRequest ¶ added in v0.5.1
type ListConnectBalanceTransfersRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListConnectBalanceTransfersRequest) GetFrom ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersRequest) GetFrom() *string
func (*ListConnectBalanceTransfersRequest) GetIdempotencyKey ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersRequest) GetIdempotencyKey() *string
func (*ListConnectBalanceTransfersRequest) GetLimit ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersRequest) GetLimit() *int64
func (*ListConnectBalanceTransfersRequest) GetSort ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersRequest) GetSort() *components.ListSort
func (*ListConnectBalanceTransfersRequest) GetTestmode ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersRequest) GetTestmode() *bool
type ListConnectBalanceTransfersResponse ¶ added in v0.5.1
type ListConnectBalanceTransfersResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of Connect balance transfers. For a complete reference of the Connect balance transfer // object, refer to the [Get balance transfer endpoint](get-balance-transfer) documentation. Object *ListConnectBalanceTransfersResponseBody }
func (*ListConnectBalanceTransfersResponse) GetHTTPMeta ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListConnectBalanceTransfersResponse) GetObject ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersResponse) GetObject() *ListConnectBalanceTransfersResponseBody
type ListConnectBalanceTransfersResponseBody ¶ added in v0.5.1
type ListConnectBalanceTransfersResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListConnectBalanceTransfersEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListConnectBalanceTransfersResponseBody - A list of Connect balance transfers. For a complete reference of the Connect balance transfer object, refer to the [Get balance transfer endpoint](get-balance-transfer) documentation.
func (*ListConnectBalanceTransfersResponseBody) GetCount ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersResponseBody) GetCount() int64
func (*ListConnectBalanceTransfersResponseBody) GetEmbedded ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersResponseBody) GetEmbedded() ListConnectBalanceTransfersEmbedded
func (*ListConnectBalanceTransfersResponseBody) GetLinks ¶ added in v0.5.1
func (l *ListConnectBalanceTransfersResponseBody) GetLinks() components.ListLinks
type ListCustomerPaymentsEmbedded ¶
type ListCustomerPaymentsEmbedded struct { // An array of payment objects. Payments []components.PaymentResponse `json:"payments,omitempty"` }
func (*ListCustomerPaymentsEmbedded) GetPayments ¶
func (l *ListCustomerPaymentsEmbedded) GetPayments() []components.PaymentResponse
type ListCustomerPaymentsRequest ¶
type ListCustomerPaymentsRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate // the result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // The identifier referring to the [profile](get-profile) you wish to // retrieve the resources for. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For // organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListCustomerPaymentsRequest) GetCustomerID ¶
func (l *ListCustomerPaymentsRequest) GetCustomerID() string
func (*ListCustomerPaymentsRequest) GetFrom ¶
func (l *ListCustomerPaymentsRequest) GetFrom() *string
func (*ListCustomerPaymentsRequest) GetIdempotencyKey ¶
func (l *ListCustomerPaymentsRequest) GetIdempotencyKey() *string
func (*ListCustomerPaymentsRequest) GetLimit ¶
func (l *ListCustomerPaymentsRequest) GetLimit() *int64
func (*ListCustomerPaymentsRequest) GetProfileID ¶
func (l *ListCustomerPaymentsRequest) GetProfileID() *string
func (*ListCustomerPaymentsRequest) GetSort ¶
func (l *ListCustomerPaymentsRequest) GetSort() *components.ListSort
func (*ListCustomerPaymentsRequest) GetTestmode ¶
func (l *ListCustomerPaymentsRequest) GetTestmode() *bool
type ListCustomerPaymentsResponse ¶
type ListCustomerPaymentsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of payment objects. Object *ListCustomerPaymentsResponseBody }
func (*ListCustomerPaymentsResponse) GetHTTPMeta ¶
func (l *ListCustomerPaymentsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListCustomerPaymentsResponse) GetObject ¶
func (l *ListCustomerPaymentsResponse) GetObject() *ListCustomerPaymentsResponseBody
type ListCustomerPaymentsResponseBody ¶
type ListCustomerPaymentsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListCustomerPaymentsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListCustomerPaymentsResponseBody - A list of payment objects.
func (*ListCustomerPaymentsResponseBody) GetCount ¶
func (l *ListCustomerPaymentsResponseBody) GetCount() int64
func (*ListCustomerPaymentsResponseBody) GetEmbedded ¶
func (l *ListCustomerPaymentsResponseBody) GetEmbedded() ListCustomerPaymentsEmbedded
func (*ListCustomerPaymentsResponseBody) GetLinks ¶
func (l *ListCustomerPaymentsResponseBody) GetLinks() components.ListLinks
type ListCustomersEmbedded ¶
type ListCustomersEmbedded struct { // An array of customer objects. Customers []components.CustomerResponse `json:"customers"` }
func (*ListCustomersEmbedded) GetCustomers ¶
func (l *ListCustomersEmbedded) GetCustomers() []components.CustomerResponse
type ListCustomersRequest ¶
type ListCustomersRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListCustomersRequest) GetFrom ¶
func (l *ListCustomersRequest) GetFrom() *string
func (*ListCustomersRequest) GetIdempotencyKey ¶
func (l *ListCustomersRequest) GetIdempotencyKey() *string
func (*ListCustomersRequest) GetLimit ¶
func (l *ListCustomersRequest) GetLimit() *int64
func (*ListCustomersRequest) GetSort ¶
func (l *ListCustomersRequest) GetSort() *components.ListSort
func (*ListCustomersRequest) GetTestmode ¶
func (l *ListCustomersRequest) GetTestmode() *bool
type ListCustomersResponse ¶
type ListCustomersResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of customer objects. Object *ListCustomersResponseBody }
func (*ListCustomersResponse) GetHTTPMeta ¶
func (l *ListCustomersResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListCustomersResponse) GetObject ¶
func (l *ListCustomersResponse) GetObject() *ListCustomersResponseBody
type ListCustomersResponseBody ¶
type ListCustomersResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListCustomersEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListCustomersResponseBody - A list of customer objects.
func (*ListCustomersResponseBody) GetCount ¶
func (l *ListCustomersResponseBody) GetCount() int64
func (*ListCustomersResponseBody) GetEmbedded ¶
func (l *ListCustomersResponseBody) GetEmbedded() ListCustomersEmbedded
func (*ListCustomersResponseBody) GetLinks ¶
func (l *ListCustomersResponseBody) GetLinks() components.ListLinks
type ListInvoicesEmbedded ¶
type ListInvoicesEmbedded struct { // An array of invoice objects. For a complete reference of // the invoice object, refer to the [Get invoice endpoint](get-invoice) documentation. Invoices []Invoice `json:"invoices,omitempty"` }
func (*ListInvoicesEmbedded) GetInvoices ¶
func (l *ListInvoicesEmbedded) GetInvoices() []Invoice
type ListInvoicesRequest ¶
type ListInvoicesRequest struct { // Filter for an invoice with a specific invoice reference, for example // `2024.10000`. Reference *string `queryParam:"style=form,explode=true,name=reference"` // Filter for invoices of a specific year, for example `2024`. Year *string `queryParam:"style=form,explode=true,name=year"` // Filter for invoices of a specific month, for example `01`. Month *string `queryParam:"style=form,explode=true,name=month"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListInvoicesRequest) GetFrom ¶
func (l *ListInvoicesRequest) GetFrom() *string
func (*ListInvoicesRequest) GetIdempotencyKey ¶
func (l *ListInvoicesRequest) GetIdempotencyKey() *string
func (*ListInvoicesRequest) GetLimit ¶
func (l *ListInvoicesRequest) GetLimit() *int64
func (*ListInvoicesRequest) GetMonth ¶
func (l *ListInvoicesRequest) GetMonth() *string
func (*ListInvoicesRequest) GetReference ¶
func (l *ListInvoicesRequest) GetReference() *string
func (*ListInvoicesRequest) GetSort ¶
func (l *ListInvoicesRequest) GetSort() *components.ListSort
func (*ListInvoicesRequest) GetYear ¶
func (l *ListInvoicesRequest) GetYear() *string
type ListInvoicesResponse ¶
type ListInvoicesResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of invoice objects. For a complete reference of the invoice // object, refer to the [Get invoice endpoint](get-invoice) documentation. Object *ListInvoicesResponseBody }
func (*ListInvoicesResponse) GetHTTPMeta ¶
func (l *ListInvoicesResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListInvoicesResponse) GetObject ¶
func (l *ListInvoicesResponse) GetObject() *ListInvoicesResponseBody
type ListInvoicesResponseBody ¶
type ListInvoicesResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListInvoicesEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *components.ListLinks `json:"_links,omitempty"` }
ListInvoicesResponseBody - A list of invoice objects. For a complete reference of the invoice object, refer to the [Get invoice endpoint](get-invoice) documentation.
func (*ListInvoicesResponseBody) GetCount ¶
func (l *ListInvoicesResponseBody) GetCount() *int64
func (*ListInvoicesResponseBody) GetEmbedded ¶
func (l *ListInvoicesResponseBody) GetEmbedded() *ListInvoicesEmbedded
func (*ListInvoicesResponseBody) GetLinks ¶
func (l *ListInvoicesResponseBody) GetLinks() *components.ListLinks
type ListMandatesEmbedded ¶
type ListMandatesEmbedded struct { // An array of mandate objects. Mandates []components.MandateResponse `json:"mandates"` }
func (*ListMandatesEmbedded) GetMandates ¶
func (l *ListMandatesEmbedded) GetMandates() []components.MandateResponse
type ListMandatesRequest ¶
type ListMandatesRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListMandatesRequest) GetCustomerID ¶
func (l *ListMandatesRequest) GetCustomerID() string
func (*ListMandatesRequest) GetFrom ¶
func (l *ListMandatesRequest) GetFrom() *string
func (*ListMandatesRequest) GetIdempotencyKey ¶
func (l *ListMandatesRequest) GetIdempotencyKey() *string
func (*ListMandatesRequest) GetLimit ¶
func (l *ListMandatesRequest) GetLimit() *int64
func (*ListMandatesRequest) GetSort ¶
func (l *ListMandatesRequest) GetSort() *components.ListSort
func (*ListMandatesRequest) GetTestmode ¶
func (l *ListMandatesRequest) GetTestmode() *bool
type ListMandatesResponse ¶
type ListMandatesResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of mandate objects. Object *ListMandatesResponseBody }
func (*ListMandatesResponse) GetHTTPMeta ¶
func (l *ListMandatesResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListMandatesResponse) GetObject ¶
func (l *ListMandatesResponse) GetObject() *ListMandatesResponseBody
type ListMandatesResponseBody ¶
type ListMandatesResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListMandatesEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListMandatesResponseBody - A list of mandate objects.
func (*ListMandatesResponseBody) GetCount ¶
func (l *ListMandatesResponseBody) GetCount() int64
func (*ListMandatesResponseBody) GetEmbedded ¶
func (l *ListMandatesResponseBody) GetEmbedded() ListMandatesEmbedded
func (*ListMandatesResponseBody) GetLinks ¶
func (l *ListMandatesResponseBody) GetLinks() components.ListLinks
type ListMethodsEmbedded ¶
type ListMethodsEmbedded struct { // An array of payment method objects. For a complete // reference of the payment method object, refer // to the [Get payment method endpoint](get-method) // documentation. Methods []components.EntityMethod `json:"methods"` }
func (*ListMethodsEmbedded) GetMethods ¶
func (l *ListMethodsEmbedded) GetMethods() []components.EntityMethod
type ListMethodsLinks ¶
type ListMethodsLinks struct { // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Self components.URLObj `json:"self"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Documentation components.URLObj `json:"documentation"` }
func (*ListMethodsLinks) GetDocumentation ¶
func (l *ListMethodsLinks) GetDocumentation() components.URLObj
func (*ListMethodsLinks) GetSelf ¶
func (l *ListMethodsLinks) GetSelf() components.URLObj
type ListMethodsRequest ¶
type ListMethodsRequest struct { // Set this parameter to `first` to only return the enabled methods that // can be used for the first payment of a recurring sequence. // // Set it to `recurring` to only return enabled methods that can be used for recurring payments or subscriptions. SequenceType *components.SequenceType `queryParam:"style=form,explode=true,name=sequenceType"` // Response language Locale *components.LocaleParameter `queryParam:"style=form,explode=true,name=locale"` // If supplied, only payment methods that support the amount and currency // are returned. // // Example: `/v2/methods?amount[value]=100.00&amount[currency]=USD` Amount *components.Amount `queryParam:"style=deepObject,explode=true,name=amount"` // **⚠️ We no longer recommend using the Orders API. Please refer to the [Payments API](payments-api) instead.** // // Indicate if you will use the result for the [Create order](create-order) // or the [Create payment](create-payment) endpoint. // // When passing the value `orders`, the result will include payment methods // that are only available for payments created via the Orders API. // // Deprecated: This will be removed in a future release, please migrate away from it as soon as possible. Resource *Resource `queryParam:"style=form,explode=true,name=resource"` // The country taken from your customer's billing address in ISO 3166-1 alpha-2 format. This parameter can be used // to check whether your customer is eligible for certain payment methods, for example for Klarna. // // Example: `/v2/methods?resource=orders&billingCountry=DE` BillingCountry *string `queryParam:"style=form,explode=true,name=billingCountry"` // A comma-separated list of the wallets you support in your checkout. Wallets often require wallet specific code // to check if they are available on the shoppers device, hence the need to indicate your support. IncludeWallets *IncludeWallets `queryParam:"style=form,explode=true,name=includeWallets"` // A comma-separated list of the line categories you support in your checkout. // // Example: `/v2/methods?orderLineCategories=eco,meal` OrderLineCategories *components.LineCategories `queryParam:"style=form,explode=true,name=orderLineCategories"` // The identifier referring to the [profile](get-profile) you wish to // retrieve the resources for. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For // organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // This endpoint allows you to include additional information via the `include` query string parameter. Include *string `queryParam:"style=form,explode=true,name=include"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListMethodsRequest) GetAmount ¶
func (l *ListMethodsRequest) GetAmount() *components.Amount
func (*ListMethodsRequest) GetBillingCountry ¶
func (l *ListMethodsRequest) GetBillingCountry() *string
func (*ListMethodsRequest) GetIdempotencyKey ¶
func (l *ListMethodsRequest) GetIdempotencyKey() *string
func (*ListMethodsRequest) GetInclude ¶
func (l *ListMethodsRequest) GetInclude() *string
func (*ListMethodsRequest) GetIncludeWallets ¶
func (l *ListMethodsRequest) GetIncludeWallets() *IncludeWallets
func (*ListMethodsRequest) GetLocale ¶
func (l *ListMethodsRequest) GetLocale() *components.LocaleParameter
func (*ListMethodsRequest) GetOrderLineCategories ¶
func (l *ListMethodsRequest) GetOrderLineCategories() *components.LineCategories
func (*ListMethodsRequest) GetProfileID ¶
func (l *ListMethodsRequest) GetProfileID() *string
func (*ListMethodsRequest) GetResource ¶
func (l *ListMethodsRequest) GetResource() *Resource
func (*ListMethodsRequest) GetSequenceType ¶
func (l *ListMethodsRequest) GetSequenceType() *components.SequenceType
func (*ListMethodsRequest) GetTestmode ¶
func (l *ListMethodsRequest) GetTestmode() *bool
type ListMethodsResponse ¶
type ListMethodsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of payment method objects. For a complete reference of the // payment method object, refer to the [Get payment method endpoint](get-method) documentation. Object *ListMethodsResponseBody }
func (*ListMethodsResponse) GetHTTPMeta ¶
func (l *ListMethodsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListMethodsResponse) GetObject ¶
func (l *ListMethodsResponse) GetObject() *ListMethodsResponseBody
type ListMethodsResponseBody ¶
type ListMethodsResponseBody struct { // The number of payment method objects in this result set. // Results are **not** paginated. Count int64 `json:"count"` Embedded ListMethodsEmbedded `json:"_embedded"` Links ListMethodsLinks `json:"_links"` }
ListMethodsResponseBody - A list of payment method objects. For a complete reference of the payment method object, refer to the [Get payment method endpoint](get-method) documentation.
func (*ListMethodsResponseBody) GetCount ¶
func (l *ListMethodsResponseBody) GetCount() int64
func (*ListMethodsResponseBody) GetEmbedded ¶
func (l *ListMethodsResponseBody) GetEmbedded() ListMethodsEmbedded
func (*ListMethodsResponseBody) GetLinks ¶
func (l *ListMethodsResponseBody) GetLinks() ListMethodsLinks
type ListPaymentLinksEmbedded ¶
type ListPaymentLinksEmbedded struct { // An array of payment link objects. PaymentLinks []components.PaymentLinkResponse `json:"payment_links,omitempty"` }
func (*ListPaymentLinksEmbedded) GetPaymentLinks ¶
func (l *ListPaymentLinksEmbedded) GetPaymentLinks() []components.PaymentLinkResponse
type ListPaymentLinksRequest ¶
type ListPaymentLinksRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListPaymentLinksRequest) GetFrom ¶
func (l *ListPaymentLinksRequest) GetFrom() *string
func (*ListPaymentLinksRequest) GetIdempotencyKey ¶
func (l *ListPaymentLinksRequest) GetIdempotencyKey() *string
func (*ListPaymentLinksRequest) GetLimit ¶
func (l *ListPaymentLinksRequest) GetLimit() *int64
func (*ListPaymentLinksRequest) GetTestmode ¶
func (l *ListPaymentLinksRequest) GetTestmode() *bool
type ListPaymentLinksResponse ¶
type ListPaymentLinksResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of payment link objects. Object *ListPaymentLinksResponseBody }
func (*ListPaymentLinksResponse) GetHTTPMeta ¶
func (l *ListPaymentLinksResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListPaymentLinksResponse) GetObject ¶
func (l *ListPaymentLinksResponse) GetObject() *ListPaymentLinksResponseBody
type ListPaymentLinksResponseBody ¶
type ListPaymentLinksResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListPaymentLinksEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListPaymentLinksResponseBody - A list of payment link objects.
func (*ListPaymentLinksResponseBody) GetCount ¶
func (l *ListPaymentLinksResponseBody) GetCount() int64
func (*ListPaymentLinksResponseBody) GetEmbedded ¶
func (l *ListPaymentLinksResponseBody) GetEmbedded() ListPaymentLinksEmbedded
func (*ListPaymentLinksResponseBody) GetLinks ¶
func (l *ListPaymentLinksResponseBody) GetLinks() components.ListLinks
type ListPaymentsEmbedded ¶
type ListPaymentsEmbedded struct { // An array of payment objects. Payments []components.PaymentResponse `json:"payments,omitempty"` }
func (*ListPaymentsEmbedded) GetPayments ¶
func (l *ListPaymentsEmbedded) GetPayments() []components.PaymentResponse
type ListPaymentsRequest ¶
type ListPaymentsRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate // the result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // The identifier referring to the [profile](get-profile) you wish to // retrieve the resources for. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For // organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListPaymentsRequest) GetFrom ¶
func (l *ListPaymentsRequest) GetFrom() *string
func (*ListPaymentsRequest) GetIdempotencyKey ¶
func (l *ListPaymentsRequest) GetIdempotencyKey() *string
func (*ListPaymentsRequest) GetLimit ¶
func (l *ListPaymentsRequest) GetLimit() *int64
func (*ListPaymentsRequest) GetProfileID ¶
func (l *ListPaymentsRequest) GetProfileID() *string
func (*ListPaymentsRequest) GetSort ¶
func (l *ListPaymentsRequest) GetSort() *components.ListSort
func (*ListPaymentsRequest) GetTestmode ¶
func (l *ListPaymentsRequest) GetTestmode() *bool
type ListPaymentsResponse ¶
type ListPaymentsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of payment objects. Object *ListPaymentsResponseBody }
func (*ListPaymentsResponse) GetHTTPMeta ¶
func (l *ListPaymentsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListPaymentsResponse) GetObject ¶
func (l *ListPaymentsResponse) GetObject() *ListPaymentsResponseBody
type ListPaymentsResponseBody ¶
type ListPaymentsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListPaymentsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListPaymentsResponseBody - A list of payment objects.
func (*ListPaymentsResponseBody) GetCount ¶
func (l *ListPaymentsResponseBody) GetCount() int64
func (*ListPaymentsResponseBody) GetEmbedded ¶
func (l *ListPaymentsResponseBody) GetEmbedded() ListPaymentsEmbedded
func (*ListPaymentsResponseBody) GetLinks ¶
func (l *ListPaymentsResponseBody) GetLinks() components.ListLinks
type ListPermissionsEmbedded ¶
type ListPermissionsEmbedded struct { // An array of permission objects. Permissions []components.EntityPermission `json:"permissions,omitempty"` }
func (*ListPermissionsEmbedded) GetPermissions ¶
func (l *ListPermissionsEmbedded) GetPermissions() []components.EntityPermission
type ListPermissionsLinks ¶
type ListPermissionsLinks struct { // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Self *components.URLObj `json:"self,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Documentation *components.URLObj `json:"documentation,omitempty"` }
ListPermissionsLinks - An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
func (*ListPermissionsLinks) GetDocumentation ¶
func (l *ListPermissionsLinks) GetDocumentation() *components.URLObj
func (*ListPermissionsLinks) GetSelf ¶
func (l *ListPermissionsLinks) GetSelf() *components.URLObj
type ListPermissionsRequest ¶
type ListPermissionsRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListPermissionsRequest) GetIdempotencyKey ¶
func (l *ListPermissionsRequest) GetIdempotencyKey() *string
type ListPermissionsResponse ¶
type ListPermissionsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of permission objects. Object *ListPermissionsResponseBody }
func (*ListPermissionsResponse) GetHTTPMeta ¶
func (l *ListPermissionsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListPermissionsResponse) GetObject ¶
func (l *ListPermissionsResponse) GetObject() *ListPermissionsResponseBody
type ListPermissionsResponseBody ¶
type ListPermissionsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListPermissionsEmbedded `json:"_embedded,omitempty"` // An object with several relevant URLs. Every URL object will contain an `href` and a `type` field. Links *ListPermissionsLinks `json:"_links,omitempty"` }
ListPermissionsResponseBody - A list of permission objects.
func (*ListPermissionsResponseBody) GetCount ¶
func (l *ListPermissionsResponseBody) GetCount() *int64
func (*ListPermissionsResponseBody) GetEmbedded ¶
func (l *ListPermissionsResponseBody) GetEmbedded() *ListPermissionsEmbedded
func (*ListPermissionsResponseBody) GetLinks ¶
func (l *ListPermissionsResponseBody) GetLinks() *ListPermissionsLinks
type ListProfilesEmbedded ¶
type ListProfilesEmbedded struct { // An array of profile objects. Profiles []components.EntityProfileResponse `json:"profiles,omitempty"` }
func (*ListProfilesEmbedded) GetProfiles ¶
func (l *ListProfilesEmbedded) GetProfiles() []components.EntityProfileResponse
type ListProfilesRequest ¶
type ListProfilesRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListProfilesRequest) GetFrom ¶
func (l *ListProfilesRequest) GetFrom() *string
func (*ListProfilesRequest) GetIdempotencyKey ¶
func (l *ListProfilesRequest) GetIdempotencyKey() *string
func (*ListProfilesRequest) GetLimit ¶
func (l *ListProfilesRequest) GetLimit() *int64
type ListProfilesResponse ¶
type ListProfilesResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of profile objects. Object *ListProfilesResponseBody }
func (*ListProfilesResponse) GetHTTPMeta ¶
func (l *ListProfilesResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListProfilesResponse) GetObject ¶
func (l *ListProfilesResponse) GetObject() *ListProfilesResponseBody
type ListProfilesResponseBody ¶
type ListProfilesResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListProfilesEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *components.ListLinks `json:"_links,omitempty"` }
ListProfilesResponseBody - A list of profile objects.
func (*ListProfilesResponseBody) GetCount ¶
func (l *ListProfilesResponseBody) GetCount() *int64
func (*ListProfilesResponseBody) GetEmbedded ¶
func (l *ListProfilesResponseBody) GetEmbedded() *ListProfilesEmbedded
func (*ListProfilesResponseBody) GetLinks ¶
func (l *ListProfilesResponseBody) GetLinks() *components.ListLinks
type ListRefundsEmbedded ¶
type ListRefundsEmbedded struct { // An array of refund objects. Refunds []components.EntityRefundResponse `json:"refunds"` }
func (*ListRefundsEmbedded) GetRefunds ¶
func (l *ListRefundsEmbedded) GetRefunds() []components.EntityRefundResponse
type ListRefundsRequest ¶
type ListRefundsRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListRefundsRequest) GetEmbed ¶
func (l *ListRefundsRequest) GetEmbed() *string
func (*ListRefundsRequest) GetFrom ¶
func (l *ListRefundsRequest) GetFrom() *string
func (*ListRefundsRequest) GetIdempotencyKey ¶
func (l *ListRefundsRequest) GetIdempotencyKey() *string
func (*ListRefundsRequest) GetLimit ¶
func (l *ListRefundsRequest) GetLimit() *int64
func (*ListRefundsRequest) GetPaymentID ¶
func (l *ListRefundsRequest) GetPaymentID() string
func (*ListRefundsRequest) GetTestmode ¶
func (l *ListRefundsRequest) GetTestmode() *bool
type ListRefundsResponse ¶
type ListRefundsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of refund objects. For a complete reference of the refund object, refer to the // [Get refund endpoint](get-refund) documentation. Object *ListRefundsResponseBody }
func (*ListRefundsResponse) GetHTTPMeta ¶
func (l *ListRefundsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListRefundsResponse) GetObject ¶
func (l *ListRefundsResponse) GetObject() *ListRefundsResponseBody
type ListRefundsResponseBody ¶
type ListRefundsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListRefundsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListRefundsResponseBody - A list of refund objects. For a complete reference of the refund object, refer to the [Get refund endpoint](get-refund) documentation.
func (*ListRefundsResponseBody) GetCount ¶
func (l *ListRefundsResponseBody) GetCount() int64
func (*ListRefundsResponseBody) GetEmbedded ¶
func (l *ListRefundsResponseBody) GetEmbedded() ListRefundsEmbedded
func (*ListRefundsResponseBody) GetLinks ¶
func (l *ListRefundsResponseBody) GetLinks() components.ListLinks
type ListSalesInvoicesEmbedded ¶
type ListSalesInvoicesEmbedded struct { // An array of sales invoice objects. For a complete reference of the sales invoice object, refer to // the [Get sales invoice endpoint](get-sales-invoice) documentation. SalesInvoices []components.EntitySalesInvoiceResponse `json:"sales_invoices,omitempty"` }
func (*ListSalesInvoicesEmbedded) GetSalesInvoices ¶
func (l *ListSalesInvoicesEmbedded) GetSalesInvoices() []components.EntitySalesInvoiceResponse
type ListSalesInvoicesRequest ¶
type ListSalesInvoicesRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListSalesInvoicesRequest) GetFrom ¶
func (l *ListSalesInvoicesRequest) GetFrom() *string
func (*ListSalesInvoicesRequest) GetIdempotencyKey ¶
func (l *ListSalesInvoicesRequest) GetIdempotencyKey() *string
func (*ListSalesInvoicesRequest) GetLimit ¶
func (l *ListSalesInvoicesRequest) GetLimit() *int64
func (*ListSalesInvoicesRequest) GetTestmode ¶
func (l *ListSalesInvoicesRequest) GetTestmode() *bool
type ListSalesInvoicesResponse ¶
type ListSalesInvoicesResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of sales invoice objects. For a complete reference of the sales invoice object, refer to the // [Get sales invoice endpoint](get-sales-invoice) documentation. Object *ListSalesInvoicesResponseBody }
func (*ListSalesInvoicesResponse) GetHTTPMeta ¶
func (l *ListSalesInvoicesResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListSalesInvoicesResponse) GetObject ¶
func (l *ListSalesInvoicesResponse) GetObject() *ListSalesInvoicesResponseBody
type ListSalesInvoicesResponseBody ¶
type ListSalesInvoicesResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListSalesInvoicesEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *components.ListLinks `json:"_links,omitempty"` }
ListSalesInvoicesResponseBody - A list of sales invoice objects. For a complete reference of the sales invoice object, refer to the [Get sales invoice endpoint](get-sales-invoice) documentation.
func (*ListSalesInvoicesResponseBody) GetCount ¶
func (l *ListSalesInvoicesResponseBody) GetCount() *int64
func (*ListSalesInvoicesResponseBody) GetEmbedded ¶
func (l *ListSalesInvoicesResponseBody) GetEmbedded() *ListSalesInvoicesEmbedded
func (*ListSalesInvoicesResponseBody) GetLinks ¶
func (l *ListSalesInvoicesResponseBody) GetLinks() *components.ListLinks
type ListSettlementCapturesEmbedded ¶
type ListSettlementCapturesEmbedded struct { // An array of capture objects. Captures []components.CaptureResponse `json:"captures"` }
func (*ListSettlementCapturesEmbedded) GetCaptures ¶
func (l *ListSettlementCapturesEmbedded) GetCaptures() []components.CaptureResponse
type ListSettlementCapturesRequest ¶
type ListSettlementCapturesRequest struct { // Provide the ID of the related settlement. SettlementID string `pathParam:"style=simple,explode=false,name=settlementId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListSettlementCapturesRequest) GetEmbed ¶
func (l *ListSettlementCapturesRequest) GetEmbed() *string
func (*ListSettlementCapturesRequest) GetFrom ¶
func (l *ListSettlementCapturesRequest) GetFrom() *string
func (*ListSettlementCapturesRequest) GetIdempotencyKey ¶
func (l *ListSettlementCapturesRequest) GetIdempotencyKey() *string
func (*ListSettlementCapturesRequest) GetLimit ¶
func (l *ListSettlementCapturesRequest) GetLimit() *int64
func (*ListSettlementCapturesRequest) GetSettlementID ¶
func (l *ListSettlementCapturesRequest) GetSettlementID() string
func (*ListSettlementCapturesRequest) GetTestmode ¶
func (l *ListSettlementCapturesRequest) GetTestmode() *bool
type ListSettlementCapturesResponse ¶
type ListSettlementCapturesResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of capture objects. Object *ListSettlementCapturesResponseBody }
func (*ListSettlementCapturesResponse) GetHTTPMeta ¶
func (l *ListSettlementCapturesResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListSettlementCapturesResponse) GetObject ¶
func (l *ListSettlementCapturesResponse) GetObject() *ListSettlementCapturesResponseBody
type ListSettlementCapturesResponseBody ¶
type ListSettlementCapturesResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListSettlementCapturesEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListSettlementCapturesResponseBody - A list of capture objects.
func (*ListSettlementCapturesResponseBody) GetCount ¶
func (l *ListSettlementCapturesResponseBody) GetCount() int64
func (*ListSettlementCapturesResponseBody) GetEmbedded ¶
func (l *ListSettlementCapturesResponseBody) GetEmbedded() ListSettlementCapturesEmbedded
func (*ListSettlementCapturesResponseBody) GetLinks ¶
func (l *ListSettlementCapturesResponseBody) GetLinks() components.ListLinks
type ListSettlementChargebacksEmbedded ¶
type ListSettlementChargebacksEmbedded struct { // A list of chargeback objects. Chargebacks []components.EntityChargeback `json:"chargebacks,omitempty"` }
func (*ListSettlementChargebacksEmbedded) GetChargebacks ¶
func (l *ListSettlementChargebacksEmbedded) GetChargebacks() []components.EntityChargeback
type ListSettlementChargebacksRequest ¶
type ListSettlementChargebacksRequest struct { // Provide the ID of the related settlement. SettlementID string `pathParam:"style=simple,explode=false,name=settlementId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListSettlementChargebacksRequest) GetEmbed ¶
func (l *ListSettlementChargebacksRequest) GetEmbed() *string
func (*ListSettlementChargebacksRequest) GetFrom ¶
func (l *ListSettlementChargebacksRequest) GetFrom() *string
func (*ListSettlementChargebacksRequest) GetIdempotencyKey ¶
func (l *ListSettlementChargebacksRequest) GetIdempotencyKey() *string
func (*ListSettlementChargebacksRequest) GetLimit ¶
func (l *ListSettlementChargebacksRequest) GetLimit() *int64
func (*ListSettlementChargebacksRequest) GetSettlementID ¶
func (l *ListSettlementChargebacksRequest) GetSettlementID() string
func (*ListSettlementChargebacksRequest) GetTestmode ¶
func (l *ListSettlementChargebacksRequest) GetTestmode() *bool
type ListSettlementChargebacksResponse ¶
type ListSettlementChargebacksResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of chargeback objects. Object *ListSettlementChargebacksResponseBody }
func (*ListSettlementChargebacksResponse) GetHTTPMeta ¶
func (l *ListSettlementChargebacksResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListSettlementChargebacksResponse) GetObject ¶
func (l *ListSettlementChargebacksResponse) GetObject() *ListSettlementChargebacksResponseBody
type ListSettlementChargebacksResponseBody ¶
type ListSettlementChargebacksResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *ListSettlementChargebacksEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *components.ListLinks `json:"_links,omitempty"` }
ListSettlementChargebacksResponseBody - A list of chargeback objects.
func (*ListSettlementChargebacksResponseBody) GetCount ¶
func (l *ListSettlementChargebacksResponseBody) GetCount() *int64
func (*ListSettlementChargebacksResponseBody) GetEmbedded ¶
func (l *ListSettlementChargebacksResponseBody) GetEmbedded() *ListSettlementChargebacksEmbedded
func (*ListSettlementChargebacksResponseBody) GetLinks ¶
func (l *ListSettlementChargebacksResponseBody) GetLinks() *components.ListLinks
type ListSettlementPaymentsEmbedded ¶
type ListSettlementPaymentsEmbedded struct { // An array of payment objects. Payments []components.PaymentResponse `json:"payments,omitempty"` }
func (*ListSettlementPaymentsEmbedded) GetPayments ¶
func (l *ListSettlementPaymentsEmbedded) GetPayments() []components.PaymentResponse
type ListSettlementPaymentsRequest ¶
type ListSettlementPaymentsRequest struct { // Provide the ID of the related settlement. SettlementID string `pathParam:"style=simple,explode=false,name=settlementId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate // the result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // The identifier referring to the [profile](get-profile) you wish to // retrieve the resources for. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For // organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListSettlementPaymentsRequest) GetFrom ¶
func (l *ListSettlementPaymentsRequest) GetFrom() *string
func (*ListSettlementPaymentsRequest) GetIdempotencyKey ¶
func (l *ListSettlementPaymentsRequest) GetIdempotencyKey() *string
func (*ListSettlementPaymentsRequest) GetLimit ¶
func (l *ListSettlementPaymentsRequest) GetLimit() *int64
func (*ListSettlementPaymentsRequest) GetProfileID ¶
func (l *ListSettlementPaymentsRequest) GetProfileID() *string
func (*ListSettlementPaymentsRequest) GetSettlementID ¶
func (l *ListSettlementPaymentsRequest) GetSettlementID() string
func (*ListSettlementPaymentsRequest) GetSort ¶
func (l *ListSettlementPaymentsRequest) GetSort() *components.ListSort
func (*ListSettlementPaymentsRequest) GetTestmode ¶
func (l *ListSettlementPaymentsRequest) GetTestmode() *bool
type ListSettlementPaymentsResponse ¶
type ListSettlementPaymentsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of payment objects. Object *ListSettlementPaymentsResponseBody }
func (*ListSettlementPaymentsResponse) GetHTTPMeta ¶
func (l *ListSettlementPaymentsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListSettlementPaymentsResponse) GetObject ¶
func (l *ListSettlementPaymentsResponse) GetObject() *ListSettlementPaymentsResponseBody
type ListSettlementPaymentsResponseBody ¶
type ListSettlementPaymentsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListSettlementPaymentsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListSettlementPaymentsResponseBody - A list of payment objects.
func (*ListSettlementPaymentsResponseBody) GetCount ¶
func (l *ListSettlementPaymentsResponseBody) GetCount() int64
func (*ListSettlementPaymentsResponseBody) GetEmbedded ¶
func (l *ListSettlementPaymentsResponseBody) GetEmbedded() ListSettlementPaymentsEmbedded
func (*ListSettlementPaymentsResponseBody) GetLinks ¶
func (l *ListSettlementPaymentsResponseBody) GetLinks() components.ListLinks
type ListSettlementRefundsEmbedded ¶
type ListSettlementRefundsEmbedded struct { // An array of refund objects. Refunds []components.EntityRefundResponse `json:"refunds"` }
func (*ListSettlementRefundsEmbedded) GetRefunds ¶
func (l *ListSettlementRefundsEmbedded) GetRefunds() []components.EntityRefundResponse
type ListSettlementRefundsRequest ¶
type ListSettlementRefundsRequest struct { // Provide the ID of the related settlement. SettlementID string `pathParam:"style=simple,explode=false,name=settlementId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // This endpoint allows embedding related API items by appending the following values via the `embed` query string // parameter. Embed *string `queryParam:"style=form,explode=true,name=embed"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListSettlementRefundsRequest) GetEmbed ¶
func (l *ListSettlementRefundsRequest) GetEmbed() *string
func (*ListSettlementRefundsRequest) GetFrom ¶
func (l *ListSettlementRefundsRequest) GetFrom() *string
func (*ListSettlementRefundsRequest) GetIdempotencyKey ¶
func (l *ListSettlementRefundsRequest) GetIdempotencyKey() *string
func (*ListSettlementRefundsRequest) GetLimit ¶
func (l *ListSettlementRefundsRequest) GetLimit() *int64
func (*ListSettlementRefundsRequest) GetSettlementID ¶
func (l *ListSettlementRefundsRequest) GetSettlementID() string
func (*ListSettlementRefundsRequest) GetTestmode ¶
func (l *ListSettlementRefundsRequest) GetTestmode() *bool
type ListSettlementRefundsResponse ¶
type ListSettlementRefundsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of refund objects. For a complete reference of the refund object, refer to the // [Get refund endpoint](get-refund) documentation. Object *ListSettlementRefundsResponseBody }
func (*ListSettlementRefundsResponse) GetHTTPMeta ¶
func (l *ListSettlementRefundsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListSettlementRefundsResponse) GetObject ¶
func (l *ListSettlementRefundsResponse) GetObject() *ListSettlementRefundsResponseBody
type ListSettlementRefundsResponseBody ¶
type ListSettlementRefundsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListSettlementRefundsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListSettlementRefundsResponseBody - A list of refund objects. For a complete reference of the refund object, refer to the [Get refund endpoint](get-refund) documentation.
func (*ListSettlementRefundsResponseBody) GetCount ¶
func (l *ListSettlementRefundsResponseBody) GetCount() int64
func (*ListSettlementRefundsResponseBody) GetEmbedded ¶
func (l *ListSettlementRefundsResponseBody) GetEmbedded() ListSettlementRefundsEmbedded
func (*ListSettlementRefundsResponseBody) GetLinks ¶
func (l *ListSettlementRefundsResponseBody) GetLinks() components.ListLinks
type ListSettlementsEmbedded ¶
type ListSettlementsEmbedded struct { // An array of settlement objects. For a complete reference // of the settlement object, refer to the [Get settlement endpoint](get-settlement) documentation. Settlements []components.EntitySettlement `json:"settlements"` }
func (*ListSettlementsEmbedded) GetSettlements ¶
func (l *ListSettlementsEmbedded) GetSettlements() []components.EntitySettlement
type ListSettlementsRequest ¶
type ListSettlementsRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Provide the token of the balance to filter the settlements by. This is // the balance token that the settlement was settled to. BalanceID *string `queryParam:"style=form,explode=true,name=balanceId"` // Provide the year to query the settlements. Must be used combined with `month` parameter Year *string `queryParam:"style=form,explode=true,name=year"` // Provide the month to query the settlements. Must be used combined with `year` parameter Month *string `queryParam:"style=form,explode=true,name=month"` // Provides the currencies to retrieve the settlements. It accepts multiple currencies in a comma-separated format. Currencies *components.Currencies `queryParam:"style=form,explode=true,name=currencies"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListSettlementsRequest) GetBalanceID ¶
func (l *ListSettlementsRequest) GetBalanceID() *string
func (*ListSettlementsRequest) GetCurrencies ¶
func (l *ListSettlementsRequest) GetCurrencies() *components.Currencies
func (*ListSettlementsRequest) GetFrom ¶
func (l *ListSettlementsRequest) GetFrom() *string
func (*ListSettlementsRequest) GetIdempotencyKey ¶
func (l *ListSettlementsRequest) GetIdempotencyKey() *string
func (*ListSettlementsRequest) GetLimit ¶
func (l *ListSettlementsRequest) GetLimit() *int64
func (*ListSettlementsRequest) GetMonth ¶
func (l *ListSettlementsRequest) GetMonth() *string
func (*ListSettlementsRequest) GetYear ¶
func (l *ListSettlementsRequest) GetYear() *string
type ListSettlementsResponse ¶
type ListSettlementsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of settlement objects. For a complete reference of the settlement // object, refer to the [Get settlement endpoint](get-settlement) documentation. Object *ListSettlementsResponseBody }
func (*ListSettlementsResponse) GetHTTPMeta ¶
func (l *ListSettlementsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListSettlementsResponse) GetObject ¶
func (l *ListSettlementsResponse) GetObject() *ListSettlementsResponseBody
type ListSettlementsResponseBody ¶
type ListSettlementsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListSettlementsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListSettlementsResponseBody - A list of settlement objects. For a complete reference of the settlement object, refer to the [Get settlement endpoint](get-settlement) documentation.
func (*ListSettlementsResponseBody) GetCount ¶
func (l *ListSettlementsResponseBody) GetCount() int64
func (*ListSettlementsResponseBody) GetEmbedded ¶
func (l *ListSettlementsResponseBody) GetEmbedded() ListSettlementsEmbedded
func (*ListSettlementsResponseBody) GetLinks ¶
func (l *ListSettlementsResponseBody) GetLinks() components.ListLinks
type ListSubscriptionPaymentsEmbedded ¶
type ListSubscriptionPaymentsEmbedded struct { // An array of payment objects. Payments []components.PaymentResponse `json:"payments,omitempty"` }
func (*ListSubscriptionPaymentsEmbedded) GetPayments ¶
func (l *ListSubscriptionPaymentsEmbedded) GetPayments() []components.PaymentResponse
type ListSubscriptionPaymentsRequest ¶
type ListSubscriptionPaymentsRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // Provide the ID of the related subscription. SubscriptionID string `pathParam:"style=simple,explode=false,name=subscriptionId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate // the result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // The identifier referring to the [profile](get-profile) you wish to // retrieve the resources for. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For // organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required. ProfileID *string `queryParam:"style=form,explode=true,name=profileId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListSubscriptionPaymentsRequest) GetCustomerID ¶
func (l *ListSubscriptionPaymentsRequest) GetCustomerID() string
func (*ListSubscriptionPaymentsRequest) GetFrom ¶
func (l *ListSubscriptionPaymentsRequest) GetFrom() *string
func (*ListSubscriptionPaymentsRequest) GetIdempotencyKey ¶
func (l *ListSubscriptionPaymentsRequest) GetIdempotencyKey() *string
func (*ListSubscriptionPaymentsRequest) GetLimit ¶
func (l *ListSubscriptionPaymentsRequest) GetLimit() *int64
func (*ListSubscriptionPaymentsRequest) GetProfileID ¶
func (l *ListSubscriptionPaymentsRequest) GetProfileID() *string
func (*ListSubscriptionPaymentsRequest) GetSort ¶
func (l *ListSubscriptionPaymentsRequest) GetSort() *components.ListSort
func (*ListSubscriptionPaymentsRequest) GetSubscriptionID ¶
func (l *ListSubscriptionPaymentsRequest) GetSubscriptionID() string
func (*ListSubscriptionPaymentsRequest) GetTestmode ¶
func (l *ListSubscriptionPaymentsRequest) GetTestmode() *bool
type ListSubscriptionPaymentsResponse ¶
type ListSubscriptionPaymentsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of payment objects. Object *ListSubscriptionPaymentsResponseBody }
func (*ListSubscriptionPaymentsResponse) GetHTTPMeta ¶
func (l *ListSubscriptionPaymentsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListSubscriptionPaymentsResponse) GetObject ¶
func (l *ListSubscriptionPaymentsResponse) GetObject() *ListSubscriptionPaymentsResponseBody
type ListSubscriptionPaymentsResponseBody ¶
type ListSubscriptionPaymentsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListSubscriptionPaymentsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListSubscriptionPaymentsResponseBody - A list of payment objects.
func (*ListSubscriptionPaymentsResponseBody) GetCount ¶
func (l *ListSubscriptionPaymentsResponseBody) GetCount() int64
func (*ListSubscriptionPaymentsResponseBody) GetEmbedded ¶
func (l *ListSubscriptionPaymentsResponseBody) GetEmbedded() ListSubscriptionPaymentsEmbedded
func (*ListSubscriptionPaymentsResponseBody) GetLinks ¶
func (l *ListSubscriptionPaymentsResponseBody) GetLinks() components.ListLinks
type ListSubscriptionsEmbedded ¶
type ListSubscriptionsEmbedded struct { // An array of subscription objects. Subscriptions []components.SubscriptionResponse `json:"subscriptions,omitempty"` }
func (*ListSubscriptionsEmbedded) GetSubscriptions ¶
func (l *ListSubscriptionsEmbedded) GetSubscriptions() []components.SubscriptionResponse
type ListSubscriptionsRequest ¶
type ListSubscriptionsRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListSubscriptionsRequest) GetCustomerID ¶
func (l *ListSubscriptionsRequest) GetCustomerID() string
func (*ListSubscriptionsRequest) GetFrom ¶
func (l *ListSubscriptionsRequest) GetFrom() *string
func (*ListSubscriptionsRequest) GetIdempotencyKey ¶
func (l *ListSubscriptionsRequest) GetIdempotencyKey() *string
func (*ListSubscriptionsRequest) GetLimit ¶
func (l *ListSubscriptionsRequest) GetLimit() *int64
func (*ListSubscriptionsRequest) GetSort ¶
func (l *ListSubscriptionsRequest) GetSort() *components.ListSort
func (*ListSubscriptionsRequest) GetTestmode ¶
func (l *ListSubscriptionsRequest) GetTestmode() *bool
type ListSubscriptionsResponse ¶
type ListSubscriptionsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of subscription objects. Object *ListSubscriptionsResponseBody }
func (*ListSubscriptionsResponse) GetHTTPMeta ¶
func (l *ListSubscriptionsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListSubscriptionsResponse) GetObject ¶
func (l *ListSubscriptionsResponse) GetObject() *ListSubscriptionsResponseBody
type ListSubscriptionsResponseBody ¶
type ListSubscriptionsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListSubscriptionsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListSubscriptionsResponseBody - A list of subscription objects.
func (*ListSubscriptionsResponseBody) GetCount ¶
func (l *ListSubscriptionsResponseBody) GetCount() int64
func (*ListSubscriptionsResponseBody) GetEmbedded ¶
func (l *ListSubscriptionsResponseBody) GetEmbedded() ListSubscriptionsEmbedded
func (*ListSubscriptionsResponseBody) GetLinks ¶
func (l *ListSubscriptionsResponseBody) GetLinks() components.ListLinks
type ListTerminalsEmbedded ¶
type ListTerminalsEmbedded struct { // An array of terminal objects. Terminals []components.EntityTerminal `json:"terminals,omitempty"` }
func (*ListTerminalsEmbedded) GetTerminals ¶
func (l *ListTerminalsEmbedded) GetTerminals() []components.EntityTerminal
type ListTerminalsRequest ¶
type ListTerminalsRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListTerminalsRequest) GetFrom ¶
func (l *ListTerminalsRequest) GetFrom() *string
func (*ListTerminalsRequest) GetIdempotencyKey ¶
func (l *ListTerminalsRequest) GetIdempotencyKey() *string
func (*ListTerminalsRequest) GetLimit ¶
func (l *ListTerminalsRequest) GetLimit() *int64
func (*ListTerminalsRequest) GetSort ¶
func (l *ListTerminalsRequest) GetSort() *components.ListSort
func (*ListTerminalsRequest) GetTestmode ¶
func (l *ListTerminalsRequest) GetTestmode() *bool
type ListTerminalsResponse ¶
type ListTerminalsResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of terminal objects. Object *ListTerminalsResponseBody }
func (*ListTerminalsResponse) GetHTTPMeta ¶
func (l *ListTerminalsResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListTerminalsResponse) GetObject ¶
func (l *ListTerminalsResponse) GetObject() *ListTerminalsResponseBody
type ListTerminalsResponseBody ¶
type ListTerminalsResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListTerminalsEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListTerminalsResponseBody - A list of terminal objects.
func (*ListTerminalsResponseBody) GetCount ¶
func (l *ListTerminalsResponseBody) GetCount() int64
func (*ListTerminalsResponseBody) GetEmbedded ¶
func (l *ListTerminalsResponseBody) GetEmbedded() ListTerminalsEmbedded
func (*ListTerminalsResponseBody) GetLinks ¶
func (l *ListTerminalsResponseBody) GetLinks() components.ListLinks
type ListWebhooksEmbedded ¶
type ListWebhooksEmbedded struct { // A list of webhooks. Webhooks []components.EntityWebhook `json:"webhooks"` }
func (*ListWebhooksEmbedded) GetWebhooks ¶
func (l *ListWebhooksEmbedded) GetWebhooks() []components.EntityWebhook
type ListWebhooksRequest ¶
type ListWebhooksRequest struct { // Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the // result set. From *string `queryParam:"style=form,explode=true,name=from"` // The maximum number of items to return. Defaults to 50 items. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from // newest to oldest. Sort *components.ListSort `queryParam:"style=form,explode=true,name=sort"` // Used to filter out only the webhooks that are subscribed to certain types of events. EventTypes *components.WebhookEventTypes `queryParam:"style=form,explode=true,name=eventTypes"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*ListWebhooksRequest) GetEventTypes ¶
func (l *ListWebhooksRequest) GetEventTypes() *components.WebhookEventTypes
func (*ListWebhooksRequest) GetFrom ¶
func (l *ListWebhooksRequest) GetFrom() *string
func (*ListWebhooksRequest) GetIdempotencyKey ¶
func (l *ListWebhooksRequest) GetIdempotencyKey() *string
func (*ListWebhooksRequest) GetLimit ¶
func (l *ListWebhooksRequest) GetLimit() *int64
func (*ListWebhooksRequest) GetSort ¶
func (l *ListWebhooksRequest) GetSort() *components.ListSort
func (*ListWebhooksRequest) GetTestmode ¶
func (l *ListWebhooksRequest) GetTestmode() *bool
type ListWebhooksResponse ¶
type ListWebhooksResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of webhooks. For a complete reference of the webhook // object, refer to the [Get hook endpoint](get-webhook) documentation. Object *ListWebhooksResponseBody }
func (*ListWebhooksResponse) GetHTTPMeta ¶
func (l *ListWebhooksResponse) GetHTTPMeta() components.HTTPMetadata
func (*ListWebhooksResponse) GetObject ¶
func (l *ListWebhooksResponse) GetObject() *ListWebhooksResponseBody
type ListWebhooksResponseBody ¶
type ListWebhooksResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count int64 `json:"count"` Embedded ListWebhooksEmbedded `json:"_embedded"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links components.ListLinks `json:"_links"` }
ListWebhooksResponseBody - A list of webhooks. For a complete reference of the webhook object, refer to the [Get hook endpoint](get-webhook) documentation.
func (*ListWebhooksResponseBody) GetCount ¶
func (l *ListWebhooksResponseBody) GetCount() int64
func (*ListWebhooksResponseBody) GetEmbedded ¶
func (l *ListWebhooksResponseBody) GetEmbedded() ListWebhooksEmbedded
func (*ListWebhooksResponseBody) GetLinks ¶
func (l *ListWebhooksResponseBody) GetLinks() components.ListLinks
type Mode ¶
type Mode string
Mode - Updating a profile from `test` mode to `live` mode will trigger a verification process, where we review the profile before it can start accepting payments.
func (*Mode) UnmarshalJSON ¶
type Option ¶
func WithOperationTimeout ¶
WithOperationTimeout allows setting the request timeout applied for an operation.
func WithRetries ¶
WithRetries allows customizing the default retry configuration.
func WithServerURL ¶
WithServerURL allows providing an alternative server URL.
func WithSetHeaders ¶
WithSetHeaders takes a map of headers that will applied to a request. If the request contains headers that are in the map then they will be overwritten.
func WithTemplatedServerURL ¶
WithTemplatedServerURL allows providing an alternative server URL with templated parameters.
func WithURLOverride ¶
WithURLOverride allows overriding the URL.
type Organization ¶
type Organization struct { // The name of the organization. Name *string `json:"name,omitempty"` Address *components.Address `json:"address,omitempty"` // The registration number of the organization at their local chamber of commerce. RegistrationNumber *string `json:"registrationNumber,omitempty"` // The VAT number of the organization, if based in the European Union or in The United Kingdom. VAT // numbers are verified against the international registry *VIES*. // // The field can be omitted for merchants residing in other countries. VatNumber *string `json:"vatNumber,omitempty"` // Mollie applies Dutch VAT for merchants based in The Netherlands, British VAT for merchants based in // The United Kingdom, and shifted VAT for merchants in the European Union. // // The field can be omitted for merchants residing in other countries. VatRegulation *VatRegulation `json:"vatRegulation,omitempty"` }
func (*Organization) GetAddress ¶
func (o *Organization) GetAddress() *components.Address
func (*Organization) GetName ¶
func (o *Organization) GetName() *string
func (*Organization) GetRegistrationNumber ¶
func (o *Organization) GetRegistrationNumber() *string
func (*Organization) GetVatNumber ¶
func (o *Organization) GetVatNumber() *string
func (*Organization) GetVatRegulation ¶
func (o *Organization) GetVatRegulation() *VatRegulation
type PartnerType ¶
type PartnerType string
PartnerType - Indicates the type of partner. Will be `null` if the currently authenticated organization is not enrolled as a partner.
const ( PartnerTypeOauth PartnerType = "oauth" PartnerTypeSignuplink PartnerType = "signuplink" PartnerTypeUseragent PartnerType = "useragent" )
func (PartnerType) ToPointer ¶
func (e PartnerType) ToPointer() *PartnerType
func (*PartnerType) UnmarshalJSON ¶
func (e *PartnerType) UnmarshalJSON(data []byte) error
type PaymentCreateRouteRequest ¶
type PaymentCreateRouteRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RouteCreateRequest *components.RouteCreateRequest `request:"mediaType=application/json"` }
func (*PaymentCreateRouteRequest) GetIdempotencyKey ¶
func (p *PaymentCreateRouteRequest) GetIdempotencyKey() *string
func (*PaymentCreateRouteRequest) GetPaymentID ¶
func (p *PaymentCreateRouteRequest) GetPaymentID() string
func (*PaymentCreateRouteRequest) GetRouteCreateRequest ¶
func (p *PaymentCreateRouteRequest) GetRouteCreateRequest() *components.RouteCreateRequest
type PaymentCreateRouteResponse ¶
type PaymentCreateRouteResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The route object. RouteCreateResponse *components.RouteCreateResponse }
func (*PaymentCreateRouteResponse) GetHTTPMeta ¶
func (p *PaymentCreateRouteResponse) GetHTTPMeta() components.HTTPMetadata
func (*PaymentCreateRouteResponse) GetRouteCreateResponse ¶
func (p *PaymentCreateRouteResponse) GetRouteCreateResponse() *components.RouteCreateResponse
type PaymentListRoutesEmbedded ¶
type PaymentListRoutesEmbedded struct { // An array of route objects. Routes []components.RouteGetResponse `json:"routes,omitempty"` }
func (*PaymentListRoutesEmbedded) GetRoutes ¶
func (p *PaymentListRoutesEmbedded) GetRoutes() []components.RouteGetResponse
type PaymentListRoutesLinks ¶
type PaymentListRoutesLinks struct { // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Self *components.URLObj `json:"self,omitempty"` // In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field. Documentation *components.URLObj `json:"documentation,omitempty"` }
PaymentListRoutesLinks - Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
func (*PaymentListRoutesLinks) GetDocumentation ¶
func (p *PaymentListRoutesLinks) GetDocumentation() *components.URLObj
func (*PaymentListRoutesLinks) GetSelf ¶
func (p *PaymentListRoutesLinks) GetSelf() *components.URLObj
type PaymentListRoutesRequest ¶
type PaymentListRoutesRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query // parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by // setting the `testmode` query parameter to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `queryParam:"style=form,explode=true,name=testmode"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` }
func (*PaymentListRoutesRequest) GetIdempotencyKey ¶
func (p *PaymentListRoutesRequest) GetIdempotencyKey() *string
func (*PaymentListRoutesRequest) GetPaymentID ¶
func (p *PaymentListRoutesRequest) GetPaymentID() string
func (*PaymentListRoutesRequest) GetTestmode ¶
func (p *PaymentListRoutesRequest) GetTestmode() *bool
type PaymentListRoutesResponse ¶
type PaymentListRoutesResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // A list of route objects. Object *PaymentListRoutesResponseBody }
func (*PaymentListRoutesResponse) GetHTTPMeta ¶
func (p *PaymentListRoutesResponse) GetHTTPMeta() components.HTTPMetadata
func (*PaymentListRoutesResponse) GetObject ¶
func (p *PaymentListRoutesResponse) GetObject() *PaymentListRoutesResponseBody
type PaymentListRoutesResponseBody ¶
type PaymentListRoutesResponseBody struct { // The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result // as well. // // The maximum number of items per result set is controlled by the `limit` property provided in the request. The default // limit is 50 items. Count *int64 `json:"count,omitempty"` Embedded *PaymentListRoutesEmbedded `json:"_embedded,omitempty"` // Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field. Links *PaymentListRoutesLinks `json:"_links,omitempty"` }
PaymentListRoutesResponseBody - A list of route objects.
func (*PaymentListRoutesResponseBody) GetCount ¶
func (p *PaymentListRoutesResponseBody) GetCount() *int64
func (*PaymentListRoutesResponseBody) GetEmbedded ¶
func (p *PaymentListRoutesResponseBody) GetEmbedded() *PaymentListRoutesEmbedded
func (*PaymentListRoutesResponseBody) GetLinks ¶
func (p *PaymentListRoutesResponseBody) GetLinks() *PaymentListRoutesLinks
type Profile ¶
type Profile struct { // The profile's name, this will usually reflect the trade name or brand name of the profile's website // or application. Name *string `json:"name,omitempty"` // The URL to the profile's website or application. Only `https` or `http` URLs are allowed. No `@` // signs are allowed. URL *string `json:"url,omitempty"` // The email address associated with the profile's trade name or brand. Email *string `json:"email,omitempty"` // The phone number associated with the profile's trade name or brand. Phone *string `json:"phone,omitempty"` // The products or services offered by the profile's website or application. Description *string `json:"description,omitempty"` // The industry associated with the profile's trade name or brand. Please refer to the // [business category list](common-data-types) for all possible options. BusinessCategory *string `json:"businessCategory,omitempty"` }
func (*Profile) GetBusinessCategory ¶
func (*Profile) GetDescription ¶
type ReleaseAuthorizationRequest ¶
type ReleaseAuthorizationRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *ReleaseAuthorizationRequestBody `request:"mediaType=application/json"` }
func (*ReleaseAuthorizationRequest) GetIdempotencyKey ¶
func (r *ReleaseAuthorizationRequest) GetIdempotencyKey() *string
func (*ReleaseAuthorizationRequest) GetPaymentID ¶
func (r *ReleaseAuthorizationRequest) GetPaymentID() string
func (*ReleaseAuthorizationRequest) GetRequestBody ¶
func (r *ReleaseAuthorizationRequest) GetRequestBody() *ReleaseAuthorizationRequestBody
type ReleaseAuthorizationRequestBody ¶
type ReleaseAuthorizationRequestBody struct { // The identifier referring to the [profile](get-profile) this entity belongs to. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted in the creation // request. For organization-level credentials such as OAuth access tokens however, the `profileId` parameter is // required. ProfileID *string `json:"profileId,omitempty"` // Whether to create the entity in test mode or live mode. // // Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be // omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting // `testmode` to `true`. Testmode *bool `json:"testmode,omitempty"` }
func (*ReleaseAuthorizationRequestBody) GetProfileID ¶
func (r *ReleaseAuthorizationRequestBody) GetProfileID() *string
func (*ReleaseAuthorizationRequestBody) GetTestmode ¶
func (r *ReleaseAuthorizationRequestBody) GetTestmode() *bool
type ReleaseAuthorizationResponse ¶
type ReleaseAuthorizationResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The request was accepted and will be processed asynchronously. Any any }
func (*ReleaseAuthorizationResponse) GetAny ¶
func (r *ReleaseAuthorizationResponse) GetAny() any
func (*ReleaseAuthorizationResponse) GetHTTPMeta ¶
func (r *ReleaseAuthorizationResponse) GetHTTPMeta() components.HTTPMetadata
type RequestApplePayPaymentSessionRequest ¶
type RequestApplePayPaymentSessionRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *RequestApplePayPaymentSessionRequestBody `request:"mediaType=application/json"` }
func (*RequestApplePayPaymentSessionRequest) GetIdempotencyKey ¶
func (r *RequestApplePayPaymentSessionRequest) GetIdempotencyKey() *string
func (*RequestApplePayPaymentSessionRequest) GetRequestBody ¶
func (r *RequestApplePayPaymentSessionRequest) GetRequestBody() *RequestApplePayPaymentSessionRequestBody
type RequestApplePayPaymentSessionRequestBody ¶
type RequestApplePayPaymentSessionRequestBody struct { // The validationUrl you got from the // [ApplePayValidateMerchant event](https://developer.apple.com/documentation/apple_pay_on_the_web/applepayvalidatemerchantevent). // // A list of all // [valid host names](https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server) // for merchant validation is available. You should white list these in your application and reject any // `validationUrl`s that have a host name not in the list. ValidationURL string `json:"validationUrl"` // The domain of your web shop, that is visible in the browser's location bar. For example // `pay.myshop.com`. Domain string `json:"domain"` // The identifier referring to the [profile](get-profile) this entity belongs to. // // Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted in the creation // request. For organization-level credentials such as OAuth access tokens however, the `profileId` parameter is // required. ProfileID *string `json:"profileId,omitempty"` }
func (*RequestApplePayPaymentSessionRequestBody) GetDomain ¶
func (r *RequestApplePayPaymentSessionRequestBody) GetDomain() string
func (*RequestApplePayPaymentSessionRequestBody) GetProfileID ¶
func (r *RequestApplePayPaymentSessionRequestBody) GetProfileID() *string
func (*RequestApplePayPaymentSessionRequestBody) GetValidationURL ¶
func (r *RequestApplePayPaymentSessionRequestBody) GetValidationURL() string
type RequestApplePayPaymentSessionResponse ¶
type RequestApplePayPaymentSessionResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The Apple Pay payment session object generated by Apple. This object, as mentioned in the Apple's Documentation, // is opaque, so we are not defining a response schema. EntitySession map[string]any }
func (*RequestApplePayPaymentSessionResponse) GetEntitySession ¶
func (r *RequestApplePayPaymentSessionResponse) GetEntitySession() map[string]any
func (*RequestApplePayPaymentSessionResponse) GetHTTPMeta ¶
func (r *RequestApplePayPaymentSessionResponse) GetHTTPMeta() components.HTTPMetadata
type Resource ¶
type Resource string
Resource - **⚠️ We no longer recommend using the Orders API. Please refer to the [Payments API](payments-api) instead.**
Indicate if you will use the result for the [Create order](create-order) or the [Create payment](create-payment) endpoint.
When passing the value `orders`, the result will include payment methods that are only available for payments created via the Orders API.
func (*Resource) UnmarshalJSON ¶
type RevokeMandateRequest ¶
type RevokeMandateRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // Provide the ID of the related mandate. MandateID string `pathParam:"style=simple,explode=false,name=mandateId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *RevokeMandateRequestBody `request:"mediaType=application/json"` }
func (*RevokeMandateRequest) GetCustomerID ¶
func (r *RevokeMandateRequest) GetCustomerID() string
func (*RevokeMandateRequest) GetIdempotencyKey ¶
func (r *RevokeMandateRequest) GetIdempotencyKey() *string
func (*RevokeMandateRequest) GetMandateID ¶
func (r *RevokeMandateRequest) GetMandateID() string
func (*RevokeMandateRequest) GetRequestBody ¶
func (r *RevokeMandateRequest) GetRequestBody() *RevokeMandateRequestBody
type RevokeMandateRequestBody ¶
type RevokeMandateRequestBody struct { // Most API credentials are specifically created for either live mode or test mode. For organization-level credentials // such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `json:"testmode,omitempty"` }
func (*RevokeMandateRequestBody) GetTestmode ¶
func (r *RevokeMandateRequestBody) GetTestmode() *bool
type RevokeMandateResponse ¶
type RevokeMandateResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // An empty response. Any any }
func (*RevokeMandateResponse) GetAny ¶
func (r *RevokeMandateResponse) GetAny() any
func (*RevokeMandateResponse) GetHTTPMeta ¶
func (r *RevokeMandateResponse) GetHTTPMeta() components.HTTPMetadata
type SubmitOnboardingDataRequest ¶
type SubmitOnboardingDataRequest struct { // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *SubmitOnboardingDataRequestBody `request:"mediaType=application/json"` }
func (*SubmitOnboardingDataRequest) GetIdempotencyKey ¶
func (s *SubmitOnboardingDataRequest) GetIdempotencyKey() *string
func (*SubmitOnboardingDataRequest) GetRequestBody ¶
func (s *SubmitOnboardingDataRequest) GetRequestBody() *SubmitOnboardingDataRequestBody
type SubmitOnboardingDataRequestBody ¶
type SubmitOnboardingDataRequestBody struct { Organization *Organization `json:"organization,omitempty"` Profile *Profile `json:"profile,omitempty"` }
func (*SubmitOnboardingDataRequestBody) GetOrganization ¶
func (s *SubmitOnboardingDataRequestBody) GetOrganization() *Organization
func (*SubmitOnboardingDataRequestBody) GetProfile ¶
func (s *SubmitOnboardingDataRequestBody) GetProfile() *Profile
type SubmitOnboardingDataResponse ¶
type SubmitOnboardingDataResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // An empty response. Any any }
func (*SubmitOnboardingDataResponse) GetAny ¶
func (s *SubmitOnboardingDataResponse) GetAny() any
func (*SubmitOnboardingDataResponse) GetHTTPMeta ¶
func (s *SubmitOnboardingDataResponse) GetHTTPMeta() components.HTTPMetadata
type TestWebhookRequest ¶
type TestWebhookRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *TestWebhookRequestBody `request:"mediaType=application/json"` }
func (*TestWebhookRequest) GetID ¶
func (t *TestWebhookRequest) GetID() string
func (*TestWebhookRequest) GetIdempotencyKey ¶
func (t *TestWebhookRequest) GetIdempotencyKey() *string
func (*TestWebhookRequest) GetRequestBody ¶
func (t *TestWebhookRequest) GetRequestBody() *TestWebhookRequestBody
type TestWebhookRequestBody ¶
type TestWebhookRequestBody struct { // Most API credentials are specifically created for either live mode or test mode. For organization-level credentials // such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `json:"testmode,omitempty"` }
func (*TestWebhookRequestBody) GetTestmode ¶
func (t *TestWebhookRequestBody) GetTestmode() *bool
type TestWebhookResponse ¶
type TestWebhookResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // Accepted. Any any }
func (*TestWebhookResponse) GetAny ¶
func (t *TestWebhookResponse) GetAny() any
func (*TestWebhookResponse) GetHTTPMeta ¶
func (t *TestWebhookResponse) GetHTTPMeta() components.HTTPMetadata
type UpdateCustomerRequest ¶
type UpdateCustomerRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` EntityCustomer *components.EntityCustomer `request:"mediaType=application/json"` }
func (*UpdateCustomerRequest) GetCustomerID ¶
func (u *UpdateCustomerRequest) GetCustomerID() string
func (*UpdateCustomerRequest) GetEntityCustomer ¶
func (u *UpdateCustomerRequest) GetEntityCustomer() *components.EntityCustomer
func (*UpdateCustomerRequest) GetIdempotencyKey ¶
func (u *UpdateCustomerRequest) GetIdempotencyKey() *string
type UpdateCustomerResponse ¶
type UpdateCustomerResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The updated customer object. CustomerResponse *components.CustomerResponse }
func (*UpdateCustomerResponse) GetCustomerResponse ¶
func (u *UpdateCustomerResponse) GetCustomerResponse() *components.CustomerResponse
func (*UpdateCustomerResponse) GetHTTPMeta ¶
func (u *UpdateCustomerResponse) GetHTTPMeta() components.HTTPMetadata
type UpdatePaymentLinkRequest ¶
type UpdatePaymentLinkRequest struct { // Provide the ID of the related payment link. PaymentLinkID string `pathParam:"style=simple,explode=false,name=paymentLinkId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *UpdatePaymentLinkRequestBody `request:"mediaType=application/json"` }
func (*UpdatePaymentLinkRequest) GetIdempotencyKey ¶
func (u *UpdatePaymentLinkRequest) GetIdempotencyKey() *string
func (*UpdatePaymentLinkRequest) GetPaymentLinkID ¶
func (u *UpdatePaymentLinkRequest) GetPaymentLinkID() string
func (*UpdatePaymentLinkRequest) GetRequestBody ¶
func (u *UpdatePaymentLinkRequest) GetRequestBody() *UpdatePaymentLinkRequestBody
type UpdatePaymentLinkRequestBody ¶
type UpdatePaymentLinkRequestBody struct { // A short description of the payment link. The description is visible in the Dashboard and will be shown // on the customer's bank or card statement when possible. // // Updating the description does not affect any previously existing payments created for this payment link. Description *string `json:"description,omitempty"` // In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field. MinimumAmount *components.Amount `json:"minimumAmount,omitempty"` // Whether the payment link is archived. Customers will not be able to complete payments on archived // payment links. Archived *bool `json:"archived,omitempty"` // An array of payment methods that are allowed to be used for this payment link. When this parameter is // not provided or is an empty array, all enabled payment methods will be available. // // Enum: 'applepay', 'bancomatpay', 'bancontact', 'banktransfer', 'belfius', 'blik', 'creditcard', 'eps', 'giftcard', // 'ideal', 'kbc', 'mybank', 'paybybank', 'paypal', 'paysafecard', 'pointofsale', 'przelewy24', 'satispay', 'trustly', 'twint', // 'in3', 'riverty', 'klarna', 'billie'. AllowedMethods []string `json:"allowedMethods,omitempty"` // Optionally provide the order lines for the payment. Each line contains details such as a description of the item // ordered and its price. // // All lines must have the same currency as the payment. // // Required for payment methods `billie`, `in3`, `klarna`, `riverty` and `voucher`. Lines []components.PaymentLineItem `json:"lines,omitempty"` BillingAddress *components.PaymentAddress `json:"billingAddress,omitempty"` ShippingAddress *components.PaymentAddress `json:"shippingAddress,omitempty"` // Most API credentials are specifically created for either live mode or test mode. For organization-level credentials // such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `json:"testmode,omitempty"` }
func (*UpdatePaymentLinkRequestBody) GetAllowedMethods ¶
func (u *UpdatePaymentLinkRequestBody) GetAllowedMethods() []string
func (*UpdatePaymentLinkRequestBody) GetArchived ¶
func (u *UpdatePaymentLinkRequestBody) GetArchived() *bool
func (*UpdatePaymentLinkRequestBody) GetBillingAddress ¶
func (u *UpdatePaymentLinkRequestBody) GetBillingAddress() *components.PaymentAddress
func (*UpdatePaymentLinkRequestBody) GetDescription ¶
func (u *UpdatePaymentLinkRequestBody) GetDescription() *string
func (*UpdatePaymentLinkRequestBody) GetLines ¶
func (u *UpdatePaymentLinkRequestBody) GetLines() []components.PaymentLineItem
func (*UpdatePaymentLinkRequestBody) GetMinimumAmount ¶
func (u *UpdatePaymentLinkRequestBody) GetMinimumAmount() *components.Amount
func (*UpdatePaymentLinkRequestBody) GetShippingAddress ¶
func (u *UpdatePaymentLinkRequestBody) GetShippingAddress() *components.PaymentAddress
func (*UpdatePaymentLinkRequestBody) GetTestmode ¶
func (u *UpdatePaymentLinkRequestBody) GetTestmode() *bool
type UpdatePaymentLinkResponse ¶
type UpdatePaymentLinkResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The payment link object. PaymentLinkResponse *components.PaymentLinkResponse }
func (*UpdatePaymentLinkResponse) GetHTTPMeta ¶
func (u *UpdatePaymentLinkResponse) GetHTTPMeta() components.HTTPMetadata
func (*UpdatePaymentLinkResponse) GetPaymentLinkResponse ¶
func (u *UpdatePaymentLinkResponse) GetPaymentLinkResponse() *components.PaymentLinkResponse
type UpdatePaymentRequest ¶
type UpdatePaymentRequest struct { // Provide the ID of the related payment. PaymentID string `pathParam:"style=simple,explode=false,name=paymentId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *UpdatePaymentRequestBody `request:"mediaType=application/json"` }
func (*UpdatePaymentRequest) GetIdempotencyKey ¶
func (u *UpdatePaymentRequest) GetIdempotencyKey() *string
func (*UpdatePaymentRequest) GetPaymentID ¶
func (u *UpdatePaymentRequest) GetPaymentID() string
func (*UpdatePaymentRequest) GetRequestBody ¶
func (u *UpdatePaymentRequest) GetRequestBody() *UpdatePaymentRequestBody
type UpdatePaymentRequestBody ¶
type UpdatePaymentRequestBody struct { // The description of the payment. This will be shown to your customer on their card or bank statement when possible. // We truncate the description automatically according to the limits of the used payment method. The description is // also visible in any exports you generate. // // We recommend you use a unique identifier so that you can always link the payment to the order in your back office. // This is particularly useful for bookkeeping. // // The maximum length of the description field differs per payment method, with the absolute maximum being 255 // characters. The API will not reject strings longer than the maximum length but it will truncate them to fit. Description *string `json:"description,omitempty"` // The URL your customer will be redirected to after the payment process. // // It could make sense for the redirectUrl to contain a unique identifier – like your order ID – so you can show the // right page referencing the order when your customer returns. // // The parameter is normally required, but can be omitted for recurring payments (`sequenceType: recurring`) and for // Apple Pay payments with an `applePayPaymentToken`. RedirectURL *string `json:"redirectUrl,omitempty"` // The URL your customer will be redirected to when the customer explicitly cancels the payment. If this URL is not // provided, the customer will be redirected to the `redirectUrl` instead — see above. // // Mollie will always give you status updates via webhooks, including for the canceled status. This parameter is // therefore entirely optional, but can be useful when implementing a dedicated customer-facing flow to handle // payment cancellations. CancelURL *string `json:"cancelUrl,omitempty"` // The webhook URL where we will send payment status updates to. // // The webhookUrl is optional, but without a webhook you will miss out on important status changes to your payment. // // The webhookUrl must be reachable from Mollie's point of view, so you cannot use `localhost`. If you want to use // webhook during development on `localhost`, you must use a tool like ngrok to have the webhooks delivered to your // local machine. WebhookURL *string `json:"webhookUrl,omitempty"` // Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever // you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB. Metadata *components.Metadata `json:"metadata,omitempty"` // Normally, a payment method screen is shown. However, when using this parameter, you can choose a specific payment // method and your customer will skip the selection screen and is sent directly to the chosen payment method. The // parameter enables you to fully integrate the payment method selection into your website. // // You can also specify the methods in an array. By doing so we will still show the payment method selection screen // but will only show the methods specified in the array. For example, you can use this functionality to only show // payment methods from a specific country to your customer `['bancontact', 'belfius']`. Method *components.Method `json:"method,omitempty"` // Allows you to preset the language to be used. Locale *components.Locale `json:"locale,omitempty"` // The date by which the payment should be completed in `YYYY-MM-DD` format DueDate *string `json:"dueDate,omitempty"` // For digital goods in most jurisdictions, you must apply the VAT rate from your customer's country. Choose the VAT // rates you have used for the order to ensure your customer's country matches the VAT country. // // Use this parameter to restrict the payment methods available to your customer to those from a single country. // // If available, the credit card method will still be offered, but only cards from the allowed country are accepted. // // The field expects a country code in ISO 3166-1 alpha-2 format, for example `NL`. RestrictPaymentMethodsToCountry *string `json:"restrictPaymentMethodsToCountry,omitempty"` // Whether to create the entity in test mode or live mode. // // Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be // omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting // `testmode` to `true`. Testmode *bool `json:"testmode,omitempty"` // **Only relevant for iDEAL, KBC/CBC, gift card, and voucher payments.** // // **⚠️ With the introduction of iDEAL 2 in 2025, this field will be ignored for iDEAL payments. For more information // on the migration, refer to our [help center](https://help.mollie.com/hc/articles/19100313768338-iDEAL-2-0).** // // Some payment methods are a network of connected banks or card issuers. In these cases, after selecting the payment // method, the customer may still need to select the appropriate issuer before the payment can proceed. // // We provide hosted issuer selection screens, but these screens can be skipped by providing the `issuer` via the API // up front. // // The full list of issuers for a specific method can be retrieved via the Methods API by using the optional // `issuers` include. // // A valid issuer for iDEAL is for example `ideal_INGBNL2A` (for ING Bank). Issuer *string `json:"issuer,omitempty"` BillingAddress *components.PaymentAddress `json:"billingAddress,omitempty"` ShippingAddress *components.PaymentAddress `json:"shippingAddress,omitempty"` BillingEmail *string `json:"billingEmail,omitempty"` }
func (*UpdatePaymentRequestBody) GetBillingAddress ¶
func (u *UpdatePaymentRequestBody) GetBillingAddress() *components.PaymentAddress
func (*UpdatePaymentRequestBody) GetBillingEmail ¶
func (u *UpdatePaymentRequestBody) GetBillingEmail() *string
func (*UpdatePaymentRequestBody) GetCancelURL ¶
func (u *UpdatePaymentRequestBody) GetCancelURL() *string
func (*UpdatePaymentRequestBody) GetDescription ¶
func (u *UpdatePaymentRequestBody) GetDescription() *string
func (*UpdatePaymentRequestBody) GetDueDate ¶
func (u *UpdatePaymentRequestBody) GetDueDate() *string
func (*UpdatePaymentRequestBody) GetIssuer ¶
func (u *UpdatePaymentRequestBody) GetIssuer() *string
func (*UpdatePaymentRequestBody) GetLocale ¶
func (u *UpdatePaymentRequestBody) GetLocale() *components.Locale
func (*UpdatePaymentRequestBody) GetMetadata ¶
func (u *UpdatePaymentRequestBody) GetMetadata() *components.Metadata
func (*UpdatePaymentRequestBody) GetMethod ¶
func (u *UpdatePaymentRequestBody) GetMethod() *components.Method
func (*UpdatePaymentRequestBody) GetRedirectURL ¶
func (u *UpdatePaymentRequestBody) GetRedirectURL() *string
func (*UpdatePaymentRequestBody) GetRestrictPaymentMethodsToCountry ¶
func (u *UpdatePaymentRequestBody) GetRestrictPaymentMethodsToCountry() *string
func (*UpdatePaymentRequestBody) GetShippingAddress ¶
func (u *UpdatePaymentRequestBody) GetShippingAddress() *components.PaymentAddress
func (*UpdatePaymentRequestBody) GetTestmode ¶
func (u *UpdatePaymentRequestBody) GetTestmode() *bool
func (*UpdatePaymentRequestBody) GetWebhookURL ¶
func (u *UpdatePaymentRequestBody) GetWebhookURL() *string
type UpdatePaymentResponse ¶
type UpdatePaymentResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The updated payment object. PaymentResponse *components.PaymentResponse }
func (*UpdatePaymentResponse) GetHTTPMeta ¶
func (u *UpdatePaymentResponse) GetHTTPMeta() components.HTTPMetadata
func (*UpdatePaymentResponse) GetPaymentResponse ¶
func (u *UpdatePaymentResponse) GetPaymentResponse() *components.PaymentResponse
type UpdateProfileRequest ¶
type UpdateProfileRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody UpdateProfileRequestBody `request:"mediaType=application/json"` }
func (*UpdateProfileRequest) GetID ¶
func (u *UpdateProfileRequest) GetID() string
func (*UpdateProfileRequest) GetIdempotencyKey ¶
func (u *UpdateProfileRequest) GetIdempotencyKey() *string
func (*UpdateProfileRequest) GetRequestBody ¶
func (u *UpdateProfileRequest) GetRequestBody() UpdateProfileRequestBody
type UpdateProfileRequestBody ¶
type UpdateProfileRequestBody struct { // The profile's name, this will usually reflect the trade name or brand name of the profile's website or // application. Name *string `json:"name,omitempty"` // The URL to the profile's website or application. Only `https` or `http` URLs are allowed. No `@` signs // are allowed. Website *string `json:"website,omitempty"` // The email address associated with the profile's trade name or brand. Email *string `json:"email,omitempty"` // The phone number associated with the profile's trade name or brand. Phone *string `json:"phone,omitempty"` // The products or services offered by the profile's website or application. Description *string `json:"description,omitempty"` // A list of countries where you expect that the majority of the profile's customers reside, // in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. CountriesOfActivity []string `json:"countriesOfActivity,omitempty"` // The industry associated with the profile's trade name or brand. Please refer to the // [business category list](common-data-types) for all possible options. BusinessCategory *string `json:"businessCategory,omitempty"` // Updating a profile from `test` mode to `live` mode will trigger a verification process, where we review // the profile before it can start accepting payments. Mode *Mode `json:"mode,omitempty"` }
func (*UpdateProfileRequestBody) GetBusinessCategory ¶
func (u *UpdateProfileRequestBody) GetBusinessCategory() *string
func (*UpdateProfileRequestBody) GetCountriesOfActivity ¶
func (u *UpdateProfileRequestBody) GetCountriesOfActivity() []string
func (*UpdateProfileRequestBody) GetDescription ¶
func (u *UpdateProfileRequestBody) GetDescription() *string
func (*UpdateProfileRequestBody) GetEmail ¶
func (u *UpdateProfileRequestBody) GetEmail() *string
func (*UpdateProfileRequestBody) GetMode ¶
func (u *UpdateProfileRequestBody) GetMode() *Mode
func (*UpdateProfileRequestBody) GetName ¶
func (u *UpdateProfileRequestBody) GetName() *string
func (*UpdateProfileRequestBody) GetPhone ¶
func (u *UpdateProfileRequestBody) GetPhone() *string
func (*UpdateProfileRequestBody) GetWebsite ¶
func (u *UpdateProfileRequestBody) GetWebsite() *string
type UpdateProfileResponse ¶
type UpdateProfileResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The updated profile object. EntityProfileResponse *components.EntityProfileResponse }
func (*UpdateProfileResponse) GetEntityProfileResponse ¶
func (u *UpdateProfileResponse) GetEntityProfileResponse() *components.EntityProfileResponse
func (*UpdateProfileResponse) GetHTTPMeta ¶
func (u *UpdateProfileResponse) GetHTTPMeta() components.HTTPMetadata
type UpdateSalesInvoiceRequest ¶
type UpdateSalesInvoiceRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` UpdateValuesSalesInvoice *components.UpdateValuesSalesInvoice `request:"mediaType=application/json"` }
func (*UpdateSalesInvoiceRequest) GetID ¶
func (u *UpdateSalesInvoiceRequest) GetID() string
func (*UpdateSalesInvoiceRequest) GetIdempotencyKey ¶
func (u *UpdateSalesInvoiceRequest) GetIdempotencyKey() *string
func (*UpdateSalesInvoiceRequest) GetUpdateValuesSalesInvoice ¶
func (u *UpdateSalesInvoiceRequest) GetUpdateValuesSalesInvoice() *components.UpdateValuesSalesInvoice
type UpdateSalesInvoiceResponse ¶
type UpdateSalesInvoiceResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The sales invoice object. EntitySalesInvoiceResponse *components.EntitySalesInvoiceResponse }
func (*UpdateSalesInvoiceResponse) GetEntitySalesInvoiceResponse ¶
func (u *UpdateSalesInvoiceResponse) GetEntitySalesInvoiceResponse() *components.EntitySalesInvoiceResponse
func (*UpdateSalesInvoiceResponse) GetHTTPMeta ¶
func (u *UpdateSalesInvoiceResponse) GetHTTPMeta() components.HTTPMetadata
type UpdateSubscriptionRequest ¶
type UpdateSubscriptionRequest struct { // Provide the ID of the related customer. CustomerID string `pathParam:"style=simple,explode=false,name=customerId"` // Provide the ID of the related subscription. SubscriptionID string `pathParam:"style=simple,explode=false,name=subscriptionId"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *UpdateSubscriptionRequestBody `request:"mediaType=application/json"` }
func (*UpdateSubscriptionRequest) GetCustomerID ¶
func (u *UpdateSubscriptionRequest) GetCustomerID() string
func (*UpdateSubscriptionRequest) GetIdempotencyKey ¶
func (u *UpdateSubscriptionRequest) GetIdempotencyKey() *string
func (*UpdateSubscriptionRequest) GetRequestBody ¶
func (u *UpdateSubscriptionRequest) GetRequestBody() *UpdateSubscriptionRequestBody
func (*UpdateSubscriptionRequest) GetSubscriptionID ¶
func (u *UpdateSubscriptionRequest) GetSubscriptionID() string
type UpdateSubscriptionRequestBody ¶
type UpdateSubscriptionRequestBody struct { // In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field. Amount *components.Amount `json:"amount,omitempty"` // The subscription's description will be used as the description of the resulting individual payments and so showing // up on the bank statement of the consumer. // // **Please note:** the description needs to be unique for the Customer in case it has multiple active subscriptions. Description *string `json:"description,omitempty"` // Interval to wait between payments, for example `1 month` or `14 days`. // // The maximum interval is one year (`12 months`, `52 weeks`, or `365 days`). // // Possible values: `... days`, `... weeks`, `... months`. Interval *string `json:"interval,omitempty"` // The start date of the subscription in `YYYY-MM-DD` format. StartDate *string `json:"startDate,omitempty"` // Total number of payments for the subscription. Once this number of payments is reached, the subscription is // considered completed. // // Test mode subscriptions will get canceled automatically after 10 payments. Times *int64 `json:"times,omitempty"` // Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever // you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB. Metadata *components.Metadata `json:"metadata,omitempty"` // We will call this URL for any payment status changes of payments resulting from this subscription. // // This webhook will receive **all** events for the subscription's payments. This may include payment // failures as well. Be sure to verify the payment's subscription ID and its status. WebhookURL *string `json:"webhookUrl,omitempty"` MandateID *string `json:"mandateId,omitempty"` // Most API credentials are specifically created for either live mode or test mode. For organization-level credentials // such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `json:"testmode,omitempty"` }
func (*UpdateSubscriptionRequestBody) GetAmount ¶
func (u *UpdateSubscriptionRequestBody) GetAmount() *components.Amount
func (*UpdateSubscriptionRequestBody) GetDescription ¶
func (u *UpdateSubscriptionRequestBody) GetDescription() *string
func (*UpdateSubscriptionRequestBody) GetInterval ¶
func (u *UpdateSubscriptionRequestBody) GetInterval() *string
func (*UpdateSubscriptionRequestBody) GetMandateID ¶
func (u *UpdateSubscriptionRequestBody) GetMandateID() *string
func (*UpdateSubscriptionRequestBody) GetMetadata ¶
func (u *UpdateSubscriptionRequestBody) GetMetadata() *components.Metadata
func (*UpdateSubscriptionRequestBody) GetStartDate ¶
func (u *UpdateSubscriptionRequestBody) GetStartDate() *string
func (*UpdateSubscriptionRequestBody) GetTestmode ¶
func (u *UpdateSubscriptionRequestBody) GetTestmode() *bool
func (*UpdateSubscriptionRequestBody) GetTimes ¶
func (u *UpdateSubscriptionRequestBody) GetTimes() *int64
func (*UpdateSubscriptionRequestBody) GetWebhookURL ¶
func (u *UpdateSubscriptionRequestBody) GetWebhookURL() *string
type UpdateSubscriptionResponse ¶
type UpdateSubscriptionResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The updated subscription object. SubscriptionResponse *components.SubscriptionResponse }
func (*UpdateSubscriptionResponse) GetHTTPMeta ¶
func (u *UpdateSubscriptionResponse) GetHTTPMeta() components.HTTPMetadata
func (*UpdateSubscriptionResponse) GetSubscriptionResponse ¶
func (u *UpdateSubscriptionResponse) GetSubscriptionResponse() *components.SubscriptionResponse
type UpdateWebhookRequest ¶
type UpdateWebhookRequest struct { // Provide the ID of the item you want to perform this operation on. ID string `pathParam:"style=simple,explode=false,name=id"` // A unique key to ensure idempotent requests. This key should be a UUID v4 string. IdempotencyKey *string `header:"style=simple,explode=false,name=idempotency-key"` RequestBody *UpdateWebhookRequestBody `request:"mediaType=application/json"` }
func (*UpdateWebhookRequest) GetID ¶
func (u *UpdateWebhookRequest) GetID() string
func (*UpdateWebhookRequest) GetIdempotencyKey ¶
func (u *UpdateWebhookRequest) GetIdempotencyKey() *string
func (*UpdateWebhookRequest) GetRequestBody ¶
func (u *UpdateWebhookRequest) GetRequestBody() *UpdateWebhookRequestBody
type UpdateWebhookRequestBody ¶
type UpdateWebhookRequestBody struct { // A name that identifies the webhook. Name *string `json:"name,omitempty"` // The URL Mollie will send the events to. This URL must be publicly accessible. URL *string `json:"url,omitempty"` // The event's type WebhookEventTypes *components.WebhookEventTypes `json:"eventTypes,omitempty"` // Most API credentials are specifically created for either live mode or test mode. For organization-level credentials // such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`. // // Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. Testmode *bool `json:"testmode,omitempty"` }
func (*UpdateWebhookRequestBody) GetName ¶
func (u *UpdateWebhookRequestBody) GetName() *string
func (*UpdateWebhookRequestBody) GetTestmode ¶
func (u *UpdateWebhookRequestBody) GetTestmode() *bool
func (*UpdateWebhookRequestBody) GetURL ¶
func (u *UpdateWebhookRequestBody) GetURL() *string
func (*UpdateWebhookRequestBody) GetWebhookEventTypes ¶
func (u *UpdateWebhookRequestBody) GetWebhookEventTypes() *components.WebhookEventTypes
type UpdateWebhookResponse ¶
type UpdateWebhookResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The webhook object. EntityWebhook *components.EntityWebhook }
func (*UpdateWebhookResponse) GetEntityWebhook ¶
func (u *UpdateWebhookResponse) GetEntityWebhook() *components.EntityWebhook
func (*UpdateWebhookResponse) GetHTTPMeta ¶
func (u *UpdateWebhookResponse) GetHTTPMeta() components.HTTPMetadata
type UserAgentToken ¶
type UserAgentToken struct { // The unique User-Agent token. Token *string `json:"token,omitempty"` // The date from which the token is active, in ISO 8601 format. StartsAt *string `json:"startsAt,omitempty"` // The date until when the token will be active, in ISO 8601 format. Will be `null` if the token // does not have an end date (yet). EndsAt *string `json:"endsAt,omitempty"` }
func (*UserAgentToken) GetEndsAt ¶
func (u *UserAgentToken) GetEndsAt() *string
func (*UserAgentToken) GetStartsAt ¶
func (u *UserAgentToken) GetStartsAt() *string
func (*UserAgentToken) GetToken ¶
func (u *UserAgentToken) GetToken() *string
type VatRegulation ¶
type VatRegulation string
VatRegulation - Mollie applies Dutch VAT for merchants based in The Netherlands, British VAT for merchants based in The United Kingdom, and shifted VAT for merchants in the European Union.
The field can be omitted for merchants residing in other countries.
const ( VatRegulationDutch VatRegulation = "dutch" VatRegulationBritish VatRegulation = "british" VatRegulationShifted VatRegulation = "shifted" )
func (VatRegulation) ToPointer ¶
func (e VatRegulation) ToPointer() *VatRegulation
func (*VatRegulation) UnmarshalJSON ¶
func (e *VatRegulation) UnmarshalJSON(data []byte) error
Source Files
¶
- cancelpayment.go
- cancelrefund.go
- cancelsubscription.go
- createcapture.go
- createclientlink.go
- createconnectbalancetransfer.go
- createcustomer.go
- createcustomerpayment.go
- createmandate.go
- createpayment.go
- createpaymentlink.go
- createprofile.go
- createrefund.go
- createsalesinvoice.go
- createsubscription.go
- createwebhook.go
- deletecustomer.go
- deletepaymentlink.go
- deleteprofile.go
- deletesalesinvoice.go
- deletewebhook.go
- getbalance.go
- getbalancereport.go
- getcapture.go
- getchargeback.go
- getclient.go
- getconnectbalancetransfer.go
- getcurrentorganization.go
- getcurrentprofile.go
- getcustomer.go
- getinvoice.go
- getmandate.go
- getmethod.go
- getnextsettlement.go
- getonboardingstatus.go
- getopensettlement.go
- getorganization.go
- getpartnerstatus.go
- getpayment.go
- getpaymentlink.go
- getpaymentlinkpayments.go
- getpermission.go
- getprimarybalance.go
- getprofile.go
- getrefund.go
- getsalesinvoice.go
- getsettlement.go
- getsubscription.go
- getterminal.go
- getwebhook.go
- getwebhookevent.go
- listallchargebacks.go
- listallmethods.go
- listallrefunds.go
- listallsubscriptions.go
- listbalances.go
- listbalancetransactions.go
- listcapabilities.go
- listcaptures.go
- listchargebacks.go
- listclients.go
- listconnectbalancetransfers.go
- listcustomerpayments.go
- listcustomers.go
- listinvoices.go
- listmandates.go
- listmethods.go
- listpaymentlinks.go
- listpayments.go
- listpermissions.go
- listprofiles.go
- listrefunds.go
- listsalesinvoices.go
- listsettlementcaptures.go
- listsettlementchargebacks.go
- listsettlementpayments.go
- listsettlementrefunds.go
- listsettlements.go
- listsubscriptionpayments.go
- listsubscriptions.go
- listterminals.go
- listwebhooks.go
- options.go
- paymentcreateroute.go
- paymentlistroutes.go
- releaseauthorization.go
- requestapplepaypaymentsession.go
- revokemandate.go
- submitonboardingdata.go
- testwebhook.go
- updatecustomer.go
- updatepayment.go
- updatepaymentlink.go
- updateprofile.go
- updatesalesinvoice.go
- updatesubscription.go
- updatewebhook.go