CashLoadingBarcodeRequest
public struct CashLoadingBarcodeRequest : Codable, Sendable
Generate barcode request model.
-
The owner.
Declaration
Swift
public let owner: CashLoadingBarcodeOwner -
This value is used for idempotency purposes.
Declaration
Swift
public let externalId: String? -
Allows for any number of custom metadata keys and values to be stored with a given transaction.
Declaration
Swift
public let metadata: [String : CustomValue]? -
Location from where the barcode generation is being.
Declaration
Swift
public let customerLocation: CashLoadingBarcodeCustomerLocation? -
Auxiliary constructor
Declaration
Swift
public init( owner: CashLoadingBarcodeOwner, externalId: String?, metadata: [String: CustomValue]?, customerLocation: CashLoadingBarcodeCustomerLocation? )Parameters
ownerThe owner.
externalIdThis value is used for idempotency purposes.
metadataAllows for any number of custom metadata keys and values to be stored with a given transaction.
customerLocationLocation from where the barcode generation is being.
View on GitHub