payment_dedicated

package
v0.1.0-alpha.11 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for payment dedicated API

func (*Client) CreatePaymentOrderByDedicated deprecated

Deprecated: 2022-08-10 - Use CreatePaymentOrderByDedicatedShort instead.

CreatePaymentOrderByDedicated create payment order by dedicated server

[Not Supported Yet In Starter]

This API is used to create payment order from non justice service. e.g. from dedicated server, the result contains the payment station url.

Path Parameter:

    Parameter                                                         | Type   | Required | Description
   -------------------------------------------------------------------|--------|----------|-----------------------------------------------------------------------------------------------------------------
   namespace                                                          | String | Yes      | Namespace that payment order resides in, should be publisher namespace if it's a Steam like platform that share
   payment config cross namespaces, otherwise it's the game namespace

    Request Body Parameters:

    Parameter        | Type    | Required | Description
   ------------------|---------|----------|--------------------------------------------------------------------------------------------------
   extOrderNo        | String  | Yes      | External order number, it should be unique in invoker order system
   sku               | String  | No       | Item identity
   targetNamespace   | String  | Yes      | The game namespace
   targetUserId      | String  | Yes      | User id for the order owner in game namespace
   extUserId         | String  | No       | External user id, can be user character id
   price             | int     | Yes      | price which should be greater than 0
   title             | String  | Yes      | Item title
   description       | String  | Yes      | Item description
   currencyCode      | String  | No       | Currency code, default is USD
   currencyNamespace | String  | No       | Currency namespace, default is publisher namespace
   region            | String  | No       | Country of the user, will get from user info if not present
   language          | String  | No       | Language of the user
   sandbox           | Boolean | No       | set to true will create sandbox order that not real paid for xsolla/alipay and will not validate
   price for wxpay.
   returnUrl         | String  | No       | customized return url for redirect once payment finished, leave unset to use configuration in
   namespace
   notifyUrl         | String  | No       | customized notify url for payment web hook, leave unset to use configuration in namespace
   customParameters  | String  | No       | Custom parameters

Request Body Example:

   {

              "extOrderNo": "123456789",
              "sku": "sku",
              "targetNamespace": "game1",
              "targetUserId": "94451623768940d58416ca33ca767ec3",
              "extUserId": "678",
              "title": "Frostmourne",
              "description": "Here was power. Here was despair",
              "price": 100,
              "region": "CN",
              "language": "zh-CN",
              "currencyCode": "USD",
              "currencyNamespace": "accelbyte"

   }

`

#### Payment Notification:

After user complete the payment, it will send notification to configured web hook, http status code should return 200 or 204 once you resolve notification successfully, otherwise payment system will retry notification in interval

Payment notification parameter:

    Parameter | Type   | Required | Description
   -----------|--------|----------|------------------------------------------------
   payload    | String | Yes      | Payment notification payload in json string
   sign       | String | Yes      | sha1 hex signature for payload and private key

Payment notification parameter Example:

   {

          "payload": "{
              "type": "payment",
              "nonceStr": "34c1dcf3eb58455eb161465bbfc0b590",
              "paymentOrderNo": "18081239088",
              "namespace": "accelbyte",
              "targetNamespace": "game1",
              "targetUserId": "94451623768940d58416ca33ca767ec3",
              "extOrderNo": "123456789",
              "sku": "sku",
              "extUserId": "678",
              "price": 100,
              "paymentProvider": "XSOLLA",
              "vat": 0,
              "salesTax": 0,
              "paymentProviderFee": 0,
              "paymentMethodFee": 0,
              "currency": {
                      "currencyCode": "USD",
                      "currencySymbol": "$",
                      "currencyType": "REAL",
                      "namespace": "accelbyte",
                      "decimals": 2
                  },
              "status": "CHARGED",
              "createdTime": "2018-07-28T00:39:16.274Z",
              "chargedTime": "2018-07-28T00:39:16.274Z"
          }",

          "sign":"e31fb92516cc9faaf50ad70343e1293acec6f3d5"

   }

`

Payment notification payload parameter list:

    Parameter         | Type     | Required | Description
   -------------------|----------|----------|--------------------------------------------------------------------------------------
   type               | String   | Yes      | Notification type: 'payment'
   paymentOrderNo     | String   | Yes      | Payment system generated order number
   extOrderNo         | String   | No       | External order number that passed by invoker
   namespace          | String   | Yes      | Namespace that related payment order resides in
   targetNamespace    | String   | Yes      | The game namespace
   targetUserId       | String   | Yes      | The user id in game namespace
   sku                | String   | No       | Item identify, it will return if pass it when create payment
   extUserId          | String   | No       | External user id, can be character id, it will return if pass it when create payment
   price              | int      | Yes      | Price of item
   paymentProvider    | String   | Yes      | Payment provider, allowed values: xsolla/alipay/wxpay/wallet
   vat                | int      | Yes      | Payment order VAT
   salesTax           | int      | Yes      | Payment order sales tax
   paymentProviderFee | int      | Yes      | Payment provider fee
   paymentMethodFee   | int      | Yes      | Payment method fee
   currency           | Map      | Yes      | Payment order currency info
   status             | String   | Yes      | Payment order status
   statusReason       | String   | No       | Payment order status reason
   createdTime        | Datetime | No       | The time of the order created
   chargedTime        | Datetime | No       | The time of the order charged
   customParameters   | Map      | No       | custom parameters, will return if pass it when create payment
   nonceStr           | String   | Yes      | Random string, max length is 32, can be timestamp or uuid

Currency info parameter list:

    Parameter     | Type   | Required | Description
   ---------------|--------|----------|-----------------------------
   currencyCode   | String | Yes      | Currency Code
   currencySymbol | String | Yes      | Currency Symbol
   currencyType   | String | Yes      | Currency type(REAL/VIRTUAL)
   namespace      | String | Yes      | Currency namespace
   decimals       | int    | Yes      | Currency decimals

#### Encryption Rule:

Concat payload json string and private key and then do sha1Hex.

#### Other detail info:

  • Token type : client token
  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=1 (CREATE)
  • Optional permission(user with this permission will create sandbox order) : resource="SANDBOX", action=1 (CREATE)
  • It will be forbidden while the target user is banned: PAYMENT_INITIATE or ORDER_AND_PAYMENT
  • cross namespace allowed
  • Returns : created payment order info

func (*Client) CreatePaymentOrderByDedicatedShort

func (a *Client) CreatePaymentOrderByDedicatedShort(params *CreatePaymentOrderByDedicatedParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePaymentOrderByDedicatedCreated, error)

CreatePaymentOrderByDedicatedShort create payment order by dedicated server

[Not Supported Yet In Starter]

This API is used to create payment order from non justice service. e.g. from dedicated server, the result contains the payment station url.

Path Parameter:

    Parameter                                                         | Type   | Required | Description
   -------------------------------------------------------------------|--------|----------|-----------------------------------------------------------------------------------------------------------------
   namespace                                                          | String | Yes      | Namespace that payment order resides in, should be publisher namespace if it's a Steam like platform that share
   payment config cross namespaces, otherwise it's the game namespace

    Request Body Parameters:

    Parameter        | Type    | Required | Description
   ------------------|---------|----------|--------------------------------------------------------------------------------------------------
   extOrderNo        | String  | Yes      | External order number, it should be unique in invoker order system
   sku               | String  | No       | Item identity
   targetNamespace   | String  | Yes      | The game namespace
   targetUserId      | String  | Yes      | User id for the order owner in game namespace
   extUserId         | String  | No       | External user id, can be user character id
   price             | int     | Yes      | price which should be greater than 0
   title             | String  | Yes      | Item title
   description       | String  | Yes      | Item description
   currencyCode      | String  | No       | Currency code, default is USD
   currencyNamespace | String  | No       | Currency namespace, default is publisher namespace
   region            | String  | No       | Country of the user, will get from user info if not present
   language          | String  | No       | Language of the user
   sandbox           | Boolean | No       | set to true will create sandbox order that not real paid for xsolla/alipay and will not validate
   price for wxpay.
   returnUrl         | String  | No       | customized return url for redirect once payment finished, leave unset to use configuration in
   namespace
   notifyUrl         | String  | No       | customized notify url for payment web hook, leave unset to use configuration in namespace
   customParameters  | String  | No       | Custom parameters

Request Body Example:

   {

              "extOrderNo": "123456789",
              "sku": "sku",
              "targetNamespace": "game1",
              "targetUserId": "94451623768940d58416ca33ca767ec3",
              "extUserId": "678",
              "title": "Frostmourne",
              "description": "Here was power. Here was despair",
              "price": 100,
              "region": "CN",
              "language": "zh-CN",
              "currencyCode": "USD",
              "currencyNamespace": "accelbyte"

   }

`

#### Payment Notification:

After user complete the payment, it will send notification to configured web hook, http status code should return 200 or 204 once you resolve notification successfully, otherwise payment system will retry notification in interval

Payment notification parameter:

    Parameter | Type   | Required | Description
   -----------|--------|----------|------------------------------------------------
   payload    | String | Yes      | Payment notification payload in json string
   sign       | String | Yes      | sha1 hex signature for payload and private key

Payment notification parameter Example:

   {

          "payload": "{
              "type": "payment",
              "nonceStr": "34c1dcf3eb58455eb161465bbfc0b590",
              "paymentOrderNo": "18081239088",
              "namespace": "accelbyte",
              "targetNamespace": "game1",
              "targetUserId": "94451623768940d58416ca33ca767ec3",
              "extOrderNo": "123456789",
              "sku": "sku",
              "extUserId": "678",
              "price": 100,
              "paymentProvider": "XSOLLA",
              "vat": 0,
              "salesTax": 0,
              "paymentProviderFee": 0,
              "paymentMethodFee": 0,
              "currency": {
                      "currencyCode": "USD",
                      "currencySymbol": "$",
                      "currencyType": "REAL",
                      "namespace": "accelbyte",
                      "decimals": 2
                  },
              "status": "CHARGED",
              "createdTime": "2018-07-28T00:39:16.274Z",
              "chargedTime": "2018-07-28T00:39:16.274Z"
          }",

          "sign":"e31fb92516cc9faaf50ad70343e1293acec6f3d5"

   }

`

Payment notification payload parameter list:

    Parameter         | Type     | Required | Description
   -------------------|----------|----------|--------------------------------------------------------------------------------------
   type               | String   | Yes      | Notification type: 'payment'
   paymentOrderNo     | String   | Yes      | Payment system generated order number
   extOrderNo         | String   | No       | External order number that passed by invoker
   namespace          | String   | Yes      | Namespace that related payment order resides in
   targetNamespace    | String   | Yes      | The game namespace
   targetUserId       | String   | Yes      | The user id in game namespace
   sku                | String   | No       | Item identify, it will return if pass it when create payment
   extUserId          | String   | No       | External user id, can be character id, it will return if pass it when create payment
   price              | int      | Yes      | Price of item
   paymentProvider    | String   | Yes      | Payment provider, allowed values: xsolla/alipay/wxpay/wallet
   vat                | int      | Yes      | Payment order VAT
   salesTax           | int      | Yes      | Payment order sales tax
   paymentProviderFee | int      | Yes      | Payment provider fee
   paymentMethodFee   | int      | Yes      | Payment method fee
   currency           | Map      | Yes      | Payment order currency info
   status             | String   | Yes      | Payment order status
   statusReason       | String   | No       | Payment order status reason
   createdTime        | Datetime | No       | The time of the order created
   chargedTime        | Datetime | No       | The time of the order charged
   customParameters   | Map      | No       | custom parameters, will return if pass it when create payment
   nonceStr           | String   | Yes      | Random string, max length is 32, can be timestamp or uuid

Currency info parameter list:

    Parameter     | Type   | Required | Description
   ---------------|--------|----------|-----------------------------
   currencyCode   | String | Yes      | Currency Code
   currencySymbol | String | Yes      | Currency Symbol
   currencyType   | String | Yes      | Currency type(REAL/VIRTUAL)
   namespace      | String | Yes      | Currency namespace
   decimals       | int    | Yes      | Currency decimals

#### Encryption Rule:

Concat payload json string and private key and then do sha1Hex.

#### Other detail info:

  • Token type : client token
  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=1 (CREATE)
  • Optional permission(user with this permission will create sandbox order) : resource="SANDBOX", action=1 (CREATE)
  • It will be forbidden while the target user is banned: PAYMENT_INITIATE or ORDER_AND_PAYMENT
  • cross namespace allowed
  • Returns : created payment order info

func (*Client) RefundPaymentOrderByDedicated deprecated

Deprecated: 2022-08-10 - Use RefundPaymentOrderByDedicatedShort instead.

RefundPaymentOrderByDedicated refund payment order by dedicated server

[Not Supported Yet In Starter]

This API is used to refund payment order by paymentOrderNo from non justice service. e.g. dedicated server.

  • if the status field of response json is "REFUNDED", usually wallet paid, it indicates payment order already refunded
  • if the status field of response json is "REFUNDING", usually real money paid, platform will send notification to registered notify url once refund successfully

Path Parameter:

    Parameter     | Type   | Required | Description
   ---------------|--------|----------|-----------------------------------------
   namespace      | String | Yes      | Namespace that payment order resides in
   paymentOrderNo | String | Yes      | Payment order number

Request Body Parameters:

    Parameter  | Type   | Required | Description
   ------------|--------|----------|--------------------
   description | String | Yes      | Refund description

Request Body Example:

   {

              "description": "Repeated item."

   }

`

#### Refund Notification:

It will send notification to configured web hook after refund successfully, http status code should return 200 or 204 once you resolve notification successfully, otherwise payment system will retry notification in interval

Refund notification parameter:

    Parameter | Type   | Required | Description
   -----------|--------|----------|------------------------------------------------
   payload    | String | Yes      | Refund notification payload in json string
   sign       | String | Yes      | sha1 hex signature for payload and private key

Refund notification Example:

   {

          "payload": "{
              "type": "payment",
              "nonceStr": "34c1dcf3eb58455eb161465bbfc0b590",
              "paymentOrderNo": "18081239088",
              "namespace": "accelbyte",
              "targetNamespace": "game1",
              "targetUserId": "94451623768940d58416ca33ca767ec3",
              "extOrderNo": "123456789",
              "sku": "sku",
              "extUserId": "678",
              "price": 100,
              "paymentProvider": "XSOLLA",
              "vat": 0,
              "salesTax": 0,
              "paymentProviderFee": 0,
              "paymentMethodFee": 0,
              "currency": {
                      "currencyCode": "USD",
                      "currencySymbol": "$",
                      "currencyType": "REAL",
                      "namespace": "accelbyte",
                      "decimals": 2
                  },
              "status": "REFUNDED",
              "createdTime": "2018-07-28T00:39:16.274Z",
              "chargedTime": "2018-07-28T00:39:16.274Z",
              "refundedTime": "2018-07-28T00:39:16.274Z"
          }",

          "sign":"e31fb92516cc9faaf50ad70343e1293acec6f3d5"

   }

`

Refund notification payload parameter list:

    Parameter         | Type     | Required | Description
   -------------------|----------|----------|--------------------------------------------------------------------------------------
   type               | String   | Yes      | Notification type: 'payment'
   paymentOrderNo     | String   | Yes      | Payment system generated order number
   extOrderNo         | String   | No       | External order number that passed by invoker
   namespace          | String   | Yes      | Namespace that related payment order resides in
   targetNamespace    | String   | Yes      | The game namespace
   targetUserId       | String   | Yes      | The user id in game namespace
   sku                | String   | No       | Item identify, it will return if pass it when create payment
   extUserId          | String   | No       | External user id, can be character id, it will return if pass it when create payment
   price              | int      | Yes      | Price of item
   paymentProvider    | String   | Yes      | Payment provider: xsolla/alipay/wxpay/wallet
   vat                | int      | Yes      | Payment order VAT
   salesTax           | int      | Yes      | Payment order sales tax
   paymentProviderFee | int      | Yes      | Payment provider fee
   paymentMethodFee   | int      | Yes      | Payment method fee
   currency           | Map      | Yes      | Payment order currency info
   status             | String   | Yes      | Payment order status
   statusReason       | String   | No       | Payment order refund status reason
   createdTime        | Datetime | No       | The time of the order created
   chargedTime        | Datetime | No       | The time of the order charged
   refundedTime       | Datetime | No       | The time of the order refunded
   customParameters   | Map      | No       | custom parameters, will return if pass it when create payment
   nonceStr           | String   | Yes      | Random string, max length is 32,

Currency info parameter list:

 Parameter     | Type   | Required | Description
---------------|--------|----------|-----------------------------
currencyCode   | String | Yes      | Currency Code
currencySymbol | String | Yes      | Currency Symbol
currencyType   | String | Yes      | Currency type(REAL/VIRTUAL)
namespace      | String | Yes      | Currency namespace
decimals       | int    | Yes      | Currency decimals

#### Encryption Rule:

Concat payload json string and private key and then do sha1Hex.

#### Other detail info:

  • Token type : client token
  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=4 (UPDATE)
  • cross namespace allowed

func (*Client) RefundPaymentOrderByDedicatedShort

func (a *Client) RefundPaymentOrderByDedicatedShort(params *RefundPaymentOrderByDedicatedParams, authInfo runtime.ClientAuthInfoWriter) (*RefundPaymentOrderByDedicatedOK, error)

RefundPaymentOrderByDedicatedShort refund payment order by dedicated server

[Not Supported Yet In Starter]

This API is used to refund payment order by paymentOrderNo from non justice service. e.g. dedicated server.

  • if the status field of response json is "REFUNDED", usually wallet paid, it indicates payment order already refunded
  • if the status field of response json is "REFUNDING", usually real money paid, platform will send notification to registered notify url once refund successfully

Path Parameter:

    Parameter     | Type   | Required | Description
   ---------------|--------|----------|-----------------------------------------
   namespace      | String | Yes      | Namespace that payment order resides in
   paymentOrderNo | String | Yes      | Payment order number

Request Body Parameters:

    Parameter  | Type   | Required | Description
   ------------|--------|----------|--------------------
   description | String | Yes      | Refund description

Request Body Example:

   {

              "description": "Repeated item."

   }

`

#### Refund Notification:

It will send notification to configured web hook after refund successfully, http status code should return 200 or 204 once you resolve notification successfully, otherwise payment system will retry notification in interval

Refund notification parameter:

    Parameter | Type   | Required | Description
   -----------|--------|----------|------------------------------------------------
   payload    | String | Yes      | Refund notification payload in json string
   sign       | String | Yes      | sha1 hex signature for payload and private key

Refund notification Example:

   {

          "payload": "{
              "type": "payment",
              "nonceStr": "34c1dcf3eb58455eb161465bbfc0b590",
              "paymentOrderNo": "18081239088",
              "namespace": "accelbyte",
              "targetNamespace": "game1",
              "targetUserId": "94451623768940d58416ca33ca767ec3",
              "extOrderNo": "123456789",
              "sku": "sku",
              "extUserId": "678",
              "price": 100,
              "paymentProvider": "XSOLLA",
              "vat": 0,
              "salesTax": 0,
              "paymentProviderFee": 0,
              "paymentMethodFee": 0,
              "currency": {
                      "currencyCode": "USD",
                      "currencySymbol": "$",
                      "currencyType": "REAL",
                      "namespace": "accelbyte",
                      "decimals": 2
                  },
              "status": "REFUNDED",
              "createdTime": "2018-07-28T00:39:16.274Z",
              "chargedTime": "2018-07-28T00:39:16.274Z",
              "refundedTime": "2018-07-28T00:39:16.274Z"
          }",

          "sign":"e31fb92516cc9faaf50ad70343e1293acec6f3d5"

   }

`

Refund notification payload parameter list:

    Parameter         | Type     | Required | Description
   -------------------|----------|----------|--------------------------------------------------------------------------------------
   type               | String   | Yes      | Notification type: 'payment'
   paymentOrderNo     | String   | Yes      | Payment system generated order number
   extOrderNo         | String   | No       | External order number that passed by invoker
   namespace          | String   | Yes      | Namespace that related payment order resides in
   targetNamespace    | String   | Yes      | The game namespace
   targetUserId       | String   | Yes      | The user id in game namespace
   sku                | String   | No       | Item identify, it will return if pass it when create payment
   extUserId          | String   | No       | External user id, can be character id, it will return if pass it when create payment
   price              | int      | Yes      | Price of item
   paymentProvider    | String   | Yes      | Payment provider: xsolla/alipay/wxpay/wallet
   vat                | int      | Yes      | Payment order VAT
   salesTax           | int      | Yes      | Payment order sales tax
   paymentProviderFee | int      | Yes      | Payment provider fee
   paymentMethodFee   | int      | Yes      | Payment method fee
   currency           | Map      | Yes      | Payment order currency info
   status             | String   | Yes      | Payment order status
   statusReason       | String   | No       | Payment order refund status reason
   createdTime        | Datetime | No       | The time of the order created
   chargedTime        | Datetime | No       | The time of the order charged
   refundedTime       | Datetime | No       | The time of the order refunded
   customParameters   | Map      | No       | custom parameters, will return if pass it when create payment
   nonceStr           | String   | Yes      | Random string, max length is 32,

Currency info parameter list:

 Parameter     | Type   | Required | Description
---------------|--------|----------|-----------------------------
currencyCode   | String | Yes      | Currency Code
currencySymbol | String | Yes      | Currency Symbol
currencyType   | String | Yes      | Currency type(REAL/VIRTUAL)
namespace      | String | Yes      | Currency namespace
decimals       | int    | Yes      | Currency decimals

#### Encryption Rule:

Concat payload json string and private key and then do sha1Hex.

#### Other detail info:

  • Token type : client token
  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:PAYMENT", action=4 (UPDATE)
  • cross namespace allowed

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SyncPaymentOrders deprecated

func (a *Client) SyncPaymentOrders(params *SyncPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*SyncPaymentOrdersOK, error)

Deprecated: 2022-08-10 - Use SyncPaymentOrdersShort instead.

SyncPaymentOrders sync payment orders

[Not Supported Yet In Starter] Sync payment orders. If response contains nextEvaluatedKey, please use it as query param in the next call to fetch the next batch, a batch has 1000 elements or less.

Other detail info:

  • Required permission : resource="ADMIN:PAYMENT", action=2 (READ)
  • Returns : sync payment orders

func (*Client) SyncPaymentOrdersShort

func (a *Client) SyncPaymentOrdersShort(params *SyncPaymentOrdersParams, authInfo runtime.ClientAuthInfoWriter) (*SyncPaymentOrdersOK, error)

SyncPaymentOrdersShort sync payment orders

[Not Supported Yet In Starter] Sync payment orders. If response contains nextEvaluatedKey, please use it as query param in the next call to fetch the next batch, a batch has 1000 elements or less.

Other detail info:

  • Required permission : resource="ADMIN:PAYMENT", action=2 (READ)
  • Returns : sync payment orders

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new payment dedicated API client.

type CreatePaymentOrderByDedicatedBadRequest

type CreatePaymentOrderByDedicatedBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CreatePaymentOrderByDedicatedBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33121</td><td>Recurring payment failed with code: [{errorCode}] and message: [{errorMessage}] by provider: [{provider}]</td></tr><tr><td>33122</td><td>Subscription not match when create payment order</td></tr></table>

func NewCreatePaymentOrderByDedicatedBadRequest

func NewCreatePaymentOrderByDedicatedBadRequest() *CreatePaymentOrderByDedicatedBadRequest

NewCreatePaymentOrderByDedicatedBadRequest creates a CreatePaymentOrderByDedicatedBadRequest with default headers values

func (*CreatePaymentOrderByDedicatedBadRequest) Error

func (*CreatePaymentOrderByDedicatedBadRequest) GetPayload

func (*CreatePaymentOrderByDedicatedBadRequest) ToJSONString

type CreatePaymentOrderByDedicatedConflict

type CreatePaymentOrderByDedicatedConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreatePaymentOrderByDedicatedConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr><tr><td>33173</td><td>ExtOrderNo [{extOrderNo}] already exists in namespace [{namespace}]</td></tr></table>

func NewCreatePaymentOrderByDedicatedConflict

func NewCreatePaymentOrderByDedicatedConflict() *CreatePaymentOrderByDedicatedConflict

NewCreatePaymentOrderByDedicatedConflict creates a CreatePaymentOrderByDedicatedConflict with default headers values

func (*CreatePaymentOrderByDedicatedConflict) Error

func (*CreatePaymentOrderByDedicatedConflict) GetPayload

func (*CreatePaymentOrderByDedicatedConflict) ToJSONString

type CreatePaymentOrderByDedicatedCreated

type CreatePaymentOrderByDedicatedCreated struct {
	Payload *platformclientmodels.PaymentOrderCreateResult
}

CreatePaymentOrderByDedicatedCreated handles this case with default header values.

successful operation

func NewCreatePaymentOrderByDedicatedCreated

func NewCreatePaymentOrderByDedicatedCreated() *CreatePaymentOrderByDedicatedCreated

NewCreatePaymentOrderByDedicatedCreated creates a CreatePaymentOrderByDedicatedCreated with default headers values

func (*CreatePaymentOrderByDedicatedCreated) Error

func (*CreatePaymentOrderByDedicatedCreated) GetPayload

func (*CreatePaymentOrderByDedicatedCreated) ToJSONString

func (o *CreatePaymentOrderByDedicatedCreated) ToJSONString() string

type CreatePaymentOrderByDedicatedForbidden

type CreatePaymentOrderByDedicatedForbidden struct {
	Payload *platformclientmodels.ErrorEntity
}

CreatePaymentOrderByDedicatedForbidden handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20016</td><td>action is banned</td></tr></table>

func NewCreatePaymentOrderByDedicatedForbidden

func NewCreatePaymentOrderByDedicatedForbidden() *CreatePaymentOrderByDedicatedForbidden

NewCreatePaymentOrderByDedicatedForbidden creates a CreatePaymentOrderByDedicatedForbidden with default headers values

func (*CreatePaymentOrderByDedicatedForbidden) Error

func (*CreatePaymentOrderByDedicatedForbidden) GetPayload

func (*CreatePaymentOrderByDedicatedForbidden) ToJSONString

type CreatePaymentOrderByDedicatedNotFound

type CreatePaymentOrderByDedicatedNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

CreatePaymentOrderByDedicatedNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr><tr><td>33141</td><td>Payment Order [{paymentOrderNo}] does not exist</td></tr><tr><td>33145</td><td>Recurring token not found</td></tr><tr><td>20008</td><td>user [{userId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewCreatePaymentOrderByDedicatedNotFound

func NewCreatePaymentOrderByDedicatedNotFound() *CreatePaymentOrderByDedicatedNotFound

NewCreatePaymentOrderByDedicatedNotFound creates a CreatePaymentOrderByDedicatedNotFound with default headers values

func (*CreatePaymentOrderByDedicatedNotFound) Error

func (*CreatePaymentOrderByDedicatedNotFound) GetPayload

func (*CreatePaymentOrderByDedicatedNotFound) ToJSONString

type CreatePaymentOrderByDedicatedParams

type CreatePaymentOrderByDedicatedParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.ExternalPaymentOrderCreate
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

CreatePaymentOrderByDedicatedParams contains all the parameters to send to the API endpoint for the create payment order by dedicated operation typically these are written to a http.Request

func NewCreatePaymentOrderByDedicatedParams

func NewCreatePaymentOrderByDedicatedParams() *CreatePaymentOrderByDedicatedParams

NewCreatePaymentOrderByDedicatedParams creates a new CreatePaymentOrderByDedicatedParams object with the default values initialized.

func NewCreatePaymentOrderByDedicatedParamsWithContext

func NewCreatePaymentOrderByDedicatedParamsWithContext(ctx context.Context) *CreatePaymentOrderByDedicatedParams

NewCreatePaymentOrderByDedicatedParamsWithContext creates a new CreatePaymentOrderByDedicatedParams object with the default values initialized, and the ability to set a context for a request

func NewCreatePaymentOrderByDedicatedParamsWithHTTPClient

func NewCreatePaymentOrderByDedicatedParamsWithHTTPClient(client *http.Client) *CreatePaymentOrderByDedicatedParams

NewCreatePaymentOrderByDedicatedParamsWithHTTPClient creates a new CreatePaymentOrderByDedicatedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreatePaymentOrderByDedicatedParamsWithTimeout

func NewCreatePaymentOrderByDedicatedParamsWithTimeout(timeout time.Duration) *CreatePaymentOrderByDedicatedParams

NewCreatePaymentOrderByDedicatedParamsWithTimeout creates a new CreatePaymentOrderByDedicatedParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreatePaymentOrderByDedicatedParams) SetAuthInfoWriter

func (o *CreatePaymentOrderByDedicatedParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) SetBody

SetBody adds the body to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) SetContext

SetContext adds the context to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) SetFlightId

func (o *CreatePaymentOrderByDedicatedParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreatePaymentOrderByDedicatedParams) SetHTTPClient

func (o *CreatePaymentOrderByDedicatedParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) SetHTTPClientTransport

func (o *CreatePaymentOrderByDedicatedParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) SetNamespace

func (o *CreatePaymentOrderByDedicatedParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) SetTimeout

func (o *CreatePaymentOrderByDedicatedParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) WithBody

WithBody adds the body to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) WithContext

WithContext adds the context to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) WithNamespace

WithNamespace adds the namespace to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) WithTimeout

WithTimeout adds the timeout to the create payment order by dedicated params

func (*CreatePaymentOrderByDedicatedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePaymentOrderByDedicatedReader

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

CreatePaymentOrderByDedicatedReader is a Reader for the CreatePaymentOrderByDedicated structure.

func (*CreatePaymentOrderByDedicatedReader) ReadResponse

func (o *CreatePaymentOrderByDedicatedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreatePaymentOrderByDedicatedUnprocessableEntity

type CreatePaymentOrderByDedicatedUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreatePaymentOrderByDedicatedUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreatePaymentOrderByDedicatedUnprocessableEntity

func NewCreatePaymentOrderByDedicatedUnprocessableEntity() *CreatePaymentOrderByDedicatedUnprocessableEntity

NewCreatePaymentOrderByDedicatedUnprocessableEntity creates a CreatePaymentOrderByDedicatedUnprocessableEntity with default headers values

func (*CreatePaymentOrderByDedicatedUnprocessableEntity) Error

func (*CreatePaymentOrderByDedicatedUnprocessableEntity) GetPayload

func (*CreatePaymentOrderByDedicatedUnprocessableEntity) ToJSONString

type RefundPaymentOrderByDedicatedConflict

type RefundPaymentOrderByDedicatedConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

RefundPaymentOrderByDedicatedConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33172</td><td>Payment order [{paymentOrderNo}] is not refundable</td></tr></table>

func NewRefundPaymentOrderByDedicatedConflict

func NewRefundPaymentOrderByDedicatedConflict() *RefundPaymentOrderByDedicatedConflict

NewRefundPaymentOrderByDedicatedConflict creates a RefundPaymentOrderByDedicatedConflict with default headers values

func (*RefundPaymentOrderByDedicatedConflict) Error

func (*RefundPaymentOrderByDedicatedConflict) GetPayload

func (*RefundPaymentOrderByDedicatedConflict) ToJSONString

type RefundPaymentOrderByDedicatedNoContent

type RefundPaymentOrderByDedicatedNoContent struct {
}

RefundPaymentOrderByDedicatedNoContent handles this case with default header values.

Refund successfully

func NewRefundPaymentOrderByDedicatedNoContent

func NewRefundPaymentOrderByDedicatedNoContent() *RefundPaymentOrderByDedicatedNoContent

NewRefundPaymentOrderByDedicatedNoContent creates a RefundPaymentOrderByDedicatedNoContent with default headers values

func (*RefundPaymentOrderByDedicatedNoContent) Error

type RefundPaymentOrderByDedicatedNotFound

type RefundPaymentOrderByDedicatedNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RefundPaymentOrderByDedicatedNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33141</td><td>Payment Order [{paymentOrderNo}] does not exist</td></tr></table>

func NewRefundPaymentOrderByDedicatedNotFound

func NewRefundPaymentOrderByDedicatedNotFound() *RefundPaymentOrderByDedicatedNotFound

NewRefundPaymentOrderByDedicatedNotFound creates a RefundPaymentOrderByDedicatedNotFound with default headers values

func (*RefundPaymentOrderByDedicatedNotFound) Error

func (*RefundPaymentOrderByDedicatedNotFound) GetPayload

func (*RefundPaymentOrderByDedicatedNotFound) ToJSONString

type RefundPaymentOrderByDedicatedOK

type RefundPaymentOrderByDedicatedOK struct {
	Payload *platformclientmodels.PaymentOrderRefundResult
}

RefundPaymentOrderByDedicatedOK handles this case with default header values.

successful operation

func NewRefundPaymentOrderByDedicatedOK

func NewRefundPaymentOrderByDedicatedOK() *RefundPaymentOrderByDedicatedOK

NewRefundPaymentOrderByDedicatedOK creates a RefundPaymentOrderByDedicatedOK with default headers values

func (*RefundPaymentOrderByDedicatedOK) Error

func (*RefundPaymentOrderByDedicatedOK) GetPayload

func (*RefundPaymentOrderByDedicatedOK) ToJSONString

func (o *RefundPaymentOrderByDedicatedOK) ToJSONString() string

type RefundPaymentOrderByDedicatedParams

type RefundPaymentOrderByDedicatedParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.PaymentOrderRefund
	/*Namespace*/
	Namespace string
	/*PaymentOrderNo*/
	PaymentOrderNo string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

RefundPaymentOrderByDedicatedParams contains all the parameters to send to the API endpoint for the refund payment order by dedicated operation typically these are written to a http.Request

func NewRefundPaymentOrderByDedicatedParams

func NewRefundPaymentOrderByDedicatedParams() *RefundPaymentOrderByDedicatedParams

NewRefundPaymentOrderByDedicatedParams creates a new RefundPaymentOrderByDedicatedParams object with the default values initialized.

func NewRefundPaymentOrderByDedicatedParamsWithContext

func NewRefundPaymentOrderByDedicatedParamsWithContext(ctx context.Context) *RefundPaymentOrderByDedicatedParams

NewRefundPaymentOrderByDedicatedParamsWithContext creates a new RefundPaymentOrderByDedicatedParams object with the default values initialized, and the ability to set a context for a request

func NewRefundPaymentOrderByDedicatedParamsWithHTTPClient

func NewRefundPaymentOrderByDedicatedParamsWithHTTPClient(client *http.Client) *RefundPaymentOrderByDedicatedParams

NewRefundPaymentOrderByDedicatedParamsWithHTTPClient creates a new RefundPaymentOrderByDedicatedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRefundPaymentOrderByDedicatedParamsWithTimeout

func NewRefundPaymentOrderByDedicatedParamsWithTimeout(timeout time.Duration) *RefundPaymentOrderByDedicatedParams

NewRefundPaymentOrderByDedicatedParamsWithTimeout creates a new RefundPaymentOrderByDedicatedParams object with the default values initialized, and the ability to set a timeout on a request

func (*RefundPaymentOrderByDedicatedParams) SetAuthInfoWriter

func (o *RefundPaymentOrderByDedicatedParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) SetBody

SetBody adds the body to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) SetContext

SetContext adds the context to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) SetFlightId

func (o *RefundPaymentOrderByDedicatedParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RefundPaymentOrderByDedicatedParams) SetHTTPClient

func (o *RefundPaymentOrderByDedicatedParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) SetHTTPClientTransport

func (o *RefundPaymentOrderByDedicatedParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) SetNamespace

func (o *RefundPaymentOrderByDedicatedParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) SetPaymentOrderNo

func (o *RefundPaymentOrderByDedicatedParams) SetPaymentOrderNo(paymentOrderNo string)

SetPaymentOrderNo adds the paymentOrderNo to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) SetTimeout

func (o *RefundPaymentOrderByDedicatedParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) WithBody

WithBody adds the body to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) WithContext

WithContext adds the context to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) WithNamespace

WithNamespace adds the namespace to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) WithPaymentOrderNo

WithPaymentOrderNo adds the paymentOrderNo to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) WithTimeout

WithTimeout adds the timeout to the refund payment order by dedicated params

func (*RefundPaymentOrderByDedicatedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RefundPaymentOrderByDedicatedReader

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

RefundPaymentOrderByDedicatedReader is a Reader for the RefundPaymentOrderByDedicated structure.

func (*RefundPaymentOrderByDedicatedReader) ReadResponse

func (o *RefundPaymentOrderByDedicatedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RefundPaymentOrderByDedicatedUnprocessableEntity

type RefundPaymentOrderByDedicatedUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

RefundPaymentOrderByDedicatedUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewRefundPaymentOrderByDedicatedUnprocessableEntity

func NewRefundPaymentOrderByDedicatedUnprocessableEntity() *RefundPaymentOrderByDedicatedUnprocessableEntity

NewRefundPaymentOrderByDedicatedUnprocessableEntity creates a RefundPaymentOrderByDedicatedUnprocessableEntity with default headers values

func (*RefundPaymentOrderByDedicatedUnprocessableEntity) Error

func (*RefundPaymentOrderByDedicatedUnprocessableEntity) GetPayload

func (*RefundPaymentOrderByDedicatedUnprocessableEntity) ToJSONString

type SyncPaymentOrdersOK

type SyncPaymentOrdersOK struct {
	Payload *platformclientmodels.PaymentOrderSyncResult
}

SyncPaymentOrdersOK handles this case with default header values.

successful operation

func NewSyncPaymentOrdersOK

func NewSyncPaymentOrdersOK() *SyncPaymentOrdersOK

NewSyncPaymentOrdersOK creates a SyncPaymentOrdersOK with default headers values

func (*SyncPaymentOrdersOK) Error

func (o *SyncPaymentOrdersOK) Error() string

func (*SyncPaymentOrdersOK) GetPayload

func (*SyncPaymentOrdersOK) ToJSONString

func (o *SyncPaymentOrdersOK) ToJSONString() string

type SyncPaymentOrdersParams

type SyncPaymentOrdersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*NextEvaluatedKey*/
	NextEvaluatedKey *string
	/*End
	  exclude ISODateTimeFormat no millis like yyyy-MM-dd'T'HH:mm:ssZZ

	*/
	End string
	/*Start
	  include ISODateTimeFormat no millis like yyyy-MM-dd'T'HH:mm:ssZZ

	*/
	Start string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

SyncPaymentOrdersParams contains all the parameters to send to the API endpoint for the sync payment orders operation typically these are written to a http.Request

func NewSyncPaymentOrdersParams

func NewSyncPaymentOrdersParams() *SyncPaymentOrdersParams

NewSyncPaymentOrdersParams creates a new SyncPaymentOrdersParams object with the default values initialized.

func NewSyncPaymentOrdersParamsWithContext

func NewSyncPaymentOrdersParamsWithContext(ctx context.Context) *SyncPaymentOrdersParams

NewSyncPaymentOrdersParamsWithContext creates a new SyncPaymentOrdersParams object with the default values initialized, and the ability to set a context for a request

func NewSyncPaymentOrdersParamsWithHTTPClient

func NewSyncPaymentOrdersParamsWithHTTPClient(client *http.Client) *SyncPaymentOrdersParams

NewSyncPaymentOrdersParamsWithHTTPClient creates a new SyncPaymentOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSyncPaymentOrdersParamsWithTimeout

func NewSyncPaymentOrdersParamsWithTimeout(timeout time.Duration) *SyncPaymentOrdersParams

NewSyncPaymentOrdersParamsWithTimeout creates a new SyncPaymentOrdersParams object with the default values initialized, and the ability to set a timeout on a request

func (*SyncPaymentOrdersParams) SetAuthInfoWriter

func (o *SyncPaymentOrdersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the sync payment orders params

func (*SyncPaymentOrdersParams) SetContext

func (o *SyncPaymentOrdersParams) SetContext(ctx context.Context)

SetContext adds the context to the sync payment orders params

func (*SyncPaymentOrdersParams) SetEnd

func (o *SyncPaymentOrdersParams) SetEnd(end string)

SetEnd adds the end to the sync payment orders params

func (*SyncPaymentOrdersParams) SetFlightId

func (o *SyncPaymentOrdersParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*SyncPaymentOrdersParams) SetHTTPClient

func (o *SyncPaymentOrdersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the sync payment orders params

func (*SyncPaymentOrdersParams) SetHTTPClientTransport

func (o *SyncPaymentOrdersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the sync payment orders params

func (*SyncPaymentOrdersParams) SetNextEvaluatedKey

func (o *SyncPaymentOrdersParams) SetNextEvaluatedKey(nextEvaluatedKey *string)

SetNextEvaluatedKey adds the nextEvaluatedKey to the sync payment orders params

func (*SyncPaymentOrdersParams) SetStart

func (o *SyncPaymentOrdersParams) SetStart(start string)

SetStart adds the start to the sync payment orders params

func (*SyncPaymentOrdersParams) SetTimeout

func (o *SyncPaymentOrdersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the sync payment orders params

func (*SyncPaymentOrdersParams) WithContext

WithContext adds the context to the sync payment orders params

func (*SyncPaymentOrdersParams) WithEnd

WithEnd adds the end to the sync payment orders params

func (*SyncPaymentOrdersParams) WithHTTPClient

func (o *SyncPaymentOrdersParams) WithHTTPClient(client *http.Client) *SyncPaymentOrdersParams

WithHTTPClient adds the HTTPClient to the sync payment orders params

func (*SyncPaymentOrdersParams) WithNextEvaluatedKey

func (o *SyncPaymentOrdersParams) WithNextEvaluatedKey(nextEvaluatedKey *string) *SyncPaymentOrdersParams

WithNextEvaluatedKey adds the nextEvaluatedKey to the sync payment orders params

func (*SyncPaymentOrdersParams) WithStart

WithStart adds the start to the sync payment orders params

func (*SyncPaymentOrdersParams) WithTimeout

WithTimeout adds the timeout to the sync payment orders params

func (*SyncPaymentOrdersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SyncPaymentOrdersReader

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

SyncPaymentOrdersReader is a Reader for the SyncPaymentOrders structure.

func (*SyncPaymentOrdersReader) ReadResponse

func (o *SyncPaymentOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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