Categorygithub.com/Gemini-Commerce/go-client-paymentprocessor
modulepackage
0.0.0-20241115153444-92cc7ea8f826
Repository: https://github.com/gemini-commerce/go-client-paymentprocessor.git
Documentation: pkg.go.dev

# README

Go API client for paymentprocessor

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

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

  • API version: v1
  • Package version: 1.0.0
  • Generator version: 7.9.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import paymentprocessor "github.com/Gemini-Commerce/go-client-paymentprocessor"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value paymentprocessor.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), paymentprocessor.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value paymentprocessor.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), paymentprocessor.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using paymentprocessor.ContextOperationServerIndices and paymentprocessor.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), paymentprocessor.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), paymentprocessor.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://payment-processor.api.gogemini.io

ClassMethodHTTP requestDescription
PaymentprocessorAPIAuthorizePaymentPost /paymentprocessor.Paymentprocessor/AuthorizePaymentAuthorize Payment
PaymentprocessorAPICreatePaymentMethodPost /paymentprocessor.Paymentprocessor/CreatePaymentMethodCreate Payment Method
PaymentprocessorAPIFinalizePaymentPost /paymentprocessor.Paymentprocessor/FinalizePaymentFinalize Payment
PaymentprocessorAPIGetAvailablePaymentMethodPost /paymentprocessor.Paymentprocessor/GetAvailablePaymentMethodGet Available Payment Method
PaymentprocessorAPIGetPaymentMethodPost /paymentprocessor.Paymentprocessor/GetPaymentMethodGet Payment Method
PaymentprocessorAPIGetPaymentMethodConfigurationPost /paymentprocessor.Paymentprocessor/GetPaymentMethodConfigurationGet Payment Method Configuration
PaymentprocessorAPIInitPaymentPost /paymentprocessor.Paymentprocessor/InitPaymentInit Payment
PaymentprocessorAPIListAvailablePaymentMethodsPost /paymentprocessor.Paymentprocessor/ListAvailablePaymentMethodsList Available Payment Methods
PaymentprocessorAPIListPaymentMethodsPost /paymentprocessor.Paymentprocessor/ListPaymentMethodsList Payment Methods
PaymentprocessorAPIPerformPaymentPost /paymentprocessor.Paymentprocessor/PerformPaymentPerform Payment
PaymentprocessorAPIPerformRefundPost /paymentprocessor.Paymentprocessor/PerformRefundPerform Refund
PaymentprocessorAPIUpdatePaymentPost /paymentprocessor.Paymentprocessor/UpdatePaymentUpdate Payment
PaymentprocessorAPIUpdatePaymentMethodPost /paymentprocessor.Paymentprocessor/UpdatePaymentMethodUpdate Payment Method
PaymentprocessorAPIVoidPaymentPost /paymentprocessor.Paymentprocessor/VoidPaymentVoid Payment

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

Authorization

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		paymentprocessor.ContextAPIKeys,
		map[string]paymentprocessor.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

standardAuthorization

  • Type: OAuth
  • Flow: implicit
  • Authorization URL:
  • Scopes: N/A

Example

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

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, paymentprocessor.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

[email protected]

# Packages

No description provided by the author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
IsNil checks if an input is nil.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewAvailabilityContextCustomer instantiates a new AvailabilityContextCustomer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAvailabilityContextCustomerWithDefaults instantiates a new AvailabilityContextCustomer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewConditionActionFromValue returns a pointer to a valid ConditionAction for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewConfiguration returns a new Configuration object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPaymentContextOrderInfo instantiates a new PaymentContextOrderInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentContextOrderInfoWithDefaults instantiates a new PaymentContextOrderInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentMethodRestrictionConditionConditionFromValue returns a pointer to a valid PaymentMethodRestrictionConditionCondition for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewPaymentprocessorAuthorizePaymentRequest instantiates a new PaymentprocessorAuthorizePaymentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorAuthorizePaymentRequestWithDefaults instantiates a new PaymentprocessorAuthorizePaymentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorAuthorizePaymentResponse instantiates a new PaymentprocessorAuthorizePaymentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorAuthorizePaymentResponseWithDefaults instantiates a new PaymentprocessorAuthorizePaymentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorAvailabilityContext instantiates a new PaymentprocessorAvailabilityContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorAvailabilityContextPostalAddress instantiates a new PaymentprocessorAvailabilityContextPostalAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorAvailabilityContextPostalAddressWithDefaults instantiates a new PaymentprocessorAvailabilityContextPostalAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorAvailabilityContextWithDefaults instantiates a new PaymentprocessorAvailabilityContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorCreatePaymentMethodRequest instantiates a new PaymentprocessorCreatePaymentMethodRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorCreatePaymentMethodRequestWithDefaults instantiates a new PaymentprocessorCreatePaymentMethodRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorCurrencyFromValue returns a pointer to a valid PaymentprocessorCurrency for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewPaymentprocessorFinalizePaymentRequest instantiates a new PaymentprocessorFinalizePaymentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorFinalizePaymentRequestWithDefaults instantiates a new PaymentprocessorFinalizePaymentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorFinalizePaymentResponse instantiates a new PaymentprocessorFinalizePaymentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorFinalizePaymentResponseWithDefaults instantiates a new PaymentprocessorFinalizePaymentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorGetAvailablePaymentMethodRequest instantiates a new PaymentprocessorGetAvailablePaymentMethodRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorGetAvailablePaymentMethodRequestWithDefaults instantiates a new PaymentprocessorGetAvailablePaymentMethodRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorGetPaymentMethodConfigurationRequest instantiates a new PaymentprocessorGetPaymentMethodConfigurationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorGetPaymentMethodConfigurationRequestWithDefaults instantiates a new PaymentprocessorGetPaymentMethodConfigurationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorGetPaymentMethodConfigurationResponse instantiates a new PaymentprocessorGetPaymentMethodConfigurationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorGetPaymentMethodConfigurationResponseWithDefaults instantiates a new PaymentprocessorGetPaymentMethodConfigurationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorGetPaymentMethodRequest instantiates a new PaymentprocessorGetPaymentMethodRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorGetPaymentMethodRequestWithDefaults instantiates a new PaymentprocessorGetPaymentMethodRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorInitPaymentRequest instantiates a new PaymentprocessorInitPaymentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorInitPaymentRequestWithDefaults instantiates a new PaymentprocessorInitPaymentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorInitPaymentResponse instantiates a new PaymentprocessorInitPaymentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorInitPaymentResponseWithDefaults instantiates a new PaymentprocessorInitPaymentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorItem instantiates a new PaymentprocessorItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorItemWithDefaults instantiates a new PaymentprocessorItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorListAvailablePaymentMethodsRequest instantiates a new PaymentprocessorListAvailablePaymentMethodsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorListAvailablePaymentMethodsRequestWithDefaults instantiates a new PaymentprocessorListAvailablePaymentMethodsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorListAvailablePaymentMethodsResponse instantiates a new PaymentprocessorListAvailablePaymentMethodsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorListAvailablePaymentMethodsResponseWithDefaults instantiates a new PaymentprocessorListAvailablePaymentMethodsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorListPaymentMethodsRequest instantiates a new PaymentprocessorListPaymentMethodsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorListPaymentMethodsRequestWithDefaults instantiates a new PaymentprocessorListPaymentMethodsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorListPaymentMethodsResponse instantiates a new PaymentprocessorListPaymentMethodsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorListPaymentMethodsResponseWithDefaults instantiates a new PaymentprocessorListPaymentMethodsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorLocalizedText instantiates a new PaymentprocessorLocalizedText object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorLocalizedTextWithDefaults instantiates a new PaymentprocessorLocalizedText object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorMoney instantiates a new PaymentprocessorMoney object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorMoneyWithDefaults instantiates a new PaymentprocessorMoney object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorPayment instantiates a new PaymentprocessorPayment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorPaymentContext instantiates a new PaymentprocessorPaymentContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorPaymentContextWithDefaults instantiates a new PaymentprocessorPaymentContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorPaymentMethod instantiates a new PaymentprocessorPaymentMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorPaymentMethodRestriction instantiates a new PaymentprocessorPaymentMethodRestriction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorPaymentMethodRestrictionCondition instantiates a new PaymentprocessorPaymentMethodRestrictionCondition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorPaymentMethodRestrictionConditionWithDefaults instantiates a new PaymentprocessorPaymentMethodRestrictionCondition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorPaymentMethodRestrictionWithDefaults instantiates a new PaymentprocessorPaymentMethodRestriction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorPaymentMethodWithDefaults instantiates a new PaymentprocessorPaymentMethod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorPaymentWithDefaults instantiates a new PaymentprocessorPayment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorPerformPaymentRequest instantiates a new PaymentprocessorPerformPaymentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorPerformPaymentRequestWithDefaults instantiates a new PaymentprocessorPerformPaymentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorPerformPaymentResponse instantiates a new PaymentprocessorPerformPaymentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorPerformPaymentResponseWithDefaults instantiates a new PaymentprocessorPerformPaymentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorPerformRefundRequest instantiates a new PaymentprocessorPerformRefundRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorPerformRefundRequestWithDefaults instantiates a new PaymentprocessorPerformRefundRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorPostalAddress instantiates a new PaymentprocessorPostalAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorPostalAddressWithDefaults instantiates a new PaymentprocessorPostalAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorTransaction instantiates a new PaymentprocessorTransaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorTransactionTypeFromValue returns a pointer to a valid PaymentprocessorTransactionType for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewPaymentprocessorTransactionWithDefaults instantiates a new PaymentprocessorTransaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorUpdatePaymentMethodRequest instantiates a new PaymentprocessorUpdatePaymentMethodRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorUpdatePaymentMethodRequestWithDefaults instantiates a new PaymentprocessorUpdatePaymentMethodRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorUpdatePaymentRequest instantiates a new PaymentprocessorUpdatePaymentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorUpdatePaymentRequestWithDefaults instantiates a new PaymentprocessorUpdatePaymentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorVoidPaymentRequest instantiates a new PaymentprocessorVoidPaymentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorVoidPaymentRequestWithDefaults instantiates a new PaymentprocessorVoidPaymentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentprocessorVoidPaymentResponse instantiates a new PaymentprocessorVoidPaymentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentprocessorVoidPaymentResponseWithDefaults instantiates a new PaymentprocessorVoidPaymentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProtobufAny instantiates a new ProtobufAny object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProtobufAnyWithDefaults instantiates a new ProtobufAny object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProtobufNullValueFromValue returns a pointer to a valid ProtobufNullValue for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewRpcStatus instantiates a new RpcStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRpcStatusWithDefaults instantiates a new RpcStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.

# Constants

List of ConditionAction.
List of PaymentMethodRestrictionConditionCondition.
List of PaymentMethodRestrictionConditionCondition.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorCurrency.
List of paymentprocessorTransactionType.
List of paymentprocessorTransactionType.
List of paymentprocessorTransactionType.
List of paymentprocessorTransactionType.
List of paymentprocessorTransactionType.
List of paymentprocessorTransactionType.
List of paymentprocessorTransactionType.
List of paymentprocessorTransactionType.
List of paymentprocessorTransactionType.
List of protobufNullValue.

# Variables

All allowed values of ConditionAction enum.
All allowed values of PaymentMethodRestrictionConditionCondition enum.
All allowed values of PaymentprocessorCurrency enum.
All allowed values of PaymentprocessorTransactionType enum.
All allowed values of ProtobufNullValue enum.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
APIClient manages communication with the Payment Processor Service API vv1 In most cases there should be only one, shared, APIClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIResponse stores the API response returned by the server.
No description provided by the author
No description provided by the author
No description provided by the author
AvailabilityContextCustomer struct for AvailabilityContextCustomer.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PaymentContextOrderInfo struct for PaymentContextOrderInfo.
PaymentprocessorAuthorizePaymentRequest struct for PaymentprocessorAuthorizePaymentRequest.
PaymentprocessorAuthorizePaymentResponse struct for PaymentprocessorAuthorizePaymentResponse.
PaymentprocessorAvailabilityContext struct for PaymentprocessorAvailabilityContext.
PaymentprocessorAvailabilityContextPostalAddress struct for PaymentprocessorAvailabilityContextPostalAddress.
PaymentprocessorCreatePaymentMethodRequest struct for PaymentprocessorCreatePaymentMethodRequest.
PaymentprocessorFinalizePaymentRequest struct for PaymentprocessorFinalizePaymentRequest.
PaymentprocessorFinalizePaymentResponse struct for PaymentprocessorFinalizePaymentResponse.
PaymentprocessorGetAvailablePaymentMethodRequest struct for PaymentprocessorGetAvailablePaymentMethodRequest.
PaymentprocessorGetPaymentMethodConfigurationRequest struct for PaymentprocessorGetPaymentMethodConfigurationRequest.
PaymentprocessorGetPaymentMethodConfigurationResponse struct for PaymentprocessorGetPaymentMethodConfigurationResponse.
PaymentprocessorGetPaymentMethodRequest struct for PaymentprocessorGetPaymentMethodRequest.
PaymentprocessorInitPaymentRequest struct for PaymentprocessorInitPaymentRequest.
PaymentprocessorInitPaymentResponse struct for PaymentprocessorInitPaymentResponse.
PaymentprocessorItem struct for PaymentprocessorItem.
PaymentprocessorListAvailablePaymentMethodsRequest struct for PaymentprocessorListAvailablePaymentMethodsRequest.
PaymentprocessorListAvailablePaymentMethodsResponse struct for PaymentprocessorListAvailablePaymentMethodsResponse.
PaymentprocessorListPaymentMethodsRequest struct for PaymentprocessorListPaymentMethodsRequest.
PaymentprocessorListPaymentMethodsResponse struct for PaymentprocessorListPaymentMethodsResponse.
PaymentprocessorLocalizedText struct for PaymentprocessorLocalizedText.
PaymentprocessorMoney struct for PaymentprocessorMoney.
PaymentprocessorPayment struct for PaymentprocessorPayment.
PaymentprocessorPaymentContext struct for PaymentprocessorPaymentContext.
PaymentprocessorPaymentMethod struct for PaymentprocessorPaymentMethod.
PaymentprocessorPaymentMethodRestriction struct for PaymentprocessorPaymentMethodRestriction.
PaymentprocessorPaymentMethodRestrictionCondition struct for PaymentprocessorPaymentMethodRestrictionCondition.
PaymentprocessorPerformPaymentRequest struct for PaymentprocessorPerformPaymentRequest.
PaymentprocessorPerformPaymentResponse struct for PaymentprocessorPerformPaymentResponse.
PaymentprocessorPerformRefundRequest struct for PaymentprocessorPerformRefundRequest.
PaymentprocessorPostalAddress Represents a postal address, e.g.
PaymentprocessorTransaction struct for PaymentprocessorTransaction.
PaymentprocessorUpdatePaymentMethodRequest struct for PaymentprocessorUpdatePaymentMethodRequest.
PaymentprocessorUpdatePaymentRequest struct for PaymentprocessorUpdatePaymentRequest.
PaymentprocessorVoidPaymentRequest struct for PaymentprocessorVoidPaymentRequest.
PaymentprocessorVoidPaymentResponse struct for PaymentprocessorVoidPaymentResponse.
ProtobufAny struct for ProtobufAny.
RpcStatus struct for RpcStatus.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.

# Interfaces

No description provided by the author

# Type aliases

ConditionAction the model 'ConditionAction'.
PaymentMethodRestrictionConditionCondition the model 'PaymentMethodRestrictionConditionCondition'.
PaymentprocessorAPIService PaymentprocessorAPI service.
PaymentprocessorCurrency Stands for Albania, not all ;-).
PaymentprocessorTransactionType the model 'PaymentprocessorTransactionType'.
ProtobufNullValue `NullValue` is a singleton enumeration to represent the null value for the `Value` type union.
ServerConfigurations stores multiple ServerConfiguration items.