VillageCustomerOptions

public class VillageCustomerOptions : VillageOptions

Options unique to using the Customer API operations.

  • If given, the wallet ID will be added to the headers.

    Since the wallet ID identifies the customer it can be overridden with another value by the API gateway which uses the authentication token to identify the customer.

    Declaration

    Swift

    public let walletId: String?
  • :nodoc *

    Declaration

    Swift

    public init(
    	apiKey: String,
    	baseUrl: String,
    	wallet: Wallet? = nil,
    	walletId: String? = nil
    )