SimulatorMerchant

public struct SimulatorMerchant : Equatable

Representation of a simulated merchant

Properties

  • id

    ID of the merchant for use in simulated transaction requests.

    Declaration

    Swift

    public var id: String
  • Name of merchant - used as tranaction descriptions.

    Declaration

    Swift

    public var name: String
  • mcc

    Merchant category code of merchant.

    Declaration

    Swift

    public var mcc: String
  • City of merchant.

    Declaration

    Swift

    public var city: String
  • State of merchant.

    Declaration

    Swift

    public var state: String?
  • Postal code of merchant.

    Declaration

    Swift

    public var postalCode: String
  • Country of merchant.

    Declaration

    Swift

    public var country: String
  • Currency ISO code charged by merchant.

    Declaration

    Swift

    public var currency: String
  • Depicts that a transaction request made to this merchant will be authorized at the virtual cards service level, and then immediately declined once it reaches the ‘provider level.

    Declaration

    Swift

    public var declineAfterAuthorization: Bool
  • Depicts that a transaction request made to this merchant will be automatically declined before it reaches the authorization level at the Virtual Card Service.

    Declaration

    Swift

    public var declineBeforeAuthorization: Bool
  • Date/timestamp that this resource was created.

    Declaration

    Swift

    public var createdAt: Date
  • Date/timestamp that this resource was last updated.

    Declaration

    Swift

    public var updatedAt: Date

Lifecycle