Method

public struct Method : Decodable, Encodable
extension CheckoutTokenIssueExecute.Method: ApiMethod

Undocumented

  • Merchant client key, issued in merchant’s personal account, in the format “ Basic [data]”.

    Declaration

    Swift

    public let merchantClientAuthorization: String
  • Token issued by the Money authorization center in the format “Bearer [token]”.

    Declaration

    Swift

    public let moneyCenterAuthorization: String?
  • ID the process of obtaining a merchant checkout token payment.

    Declaration

    Swift

    public let processId: String
  • Creates instance of CheckoutTokenIssueExecute.Method.

    Declaration

    Swift

    public init(
        merchantClientAuthorization: String,
        moneyCenterAuthorization: String?,
        processId: String
    )

    Parameters

    merchantClientAuthorization

    Merchant client key, issued in merchant’s personal account, in the format “ Basic [data]”.

    moneyCenterAuthorization

    Token issued by the Money authorization center

    processId

    ID the process of obtaining a merchant checkout token payment.

Decodable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws

Encodable

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

ApiMethod

  • Declaration

    Swift

    public typealias Response = CheckoutTokenIssueExecute
  • Declaration

    Swift

    public var hostProviderKey: String { get }
  • Declaration

    Swift

    public var httpMethod: HTTPMethod { get }
  • Declaration

    Swift

    public var parametersEncoding: ParametersEncoding { get }
  • Declaration

    Swift

    public func urlInfo(from hostProvider: HostProvider) throws -> URLInfo
  • Declaration

    Swift

    public var headers: Headers { get }