diff --git a/Sources/CardPayments/Models/Vault.swift b/Sources/CardPayments/Models/Vault.swift index d6d138aba..91e239152 100644 --- a/Sources/CardPayments/Models/Vault.swift +++ b/Sources/CardPayments/Models/Vault.swift @@ -1,12 +1,14 @@ import Foundation /// This class is used to configure a CardRequest for vaulting -/// CustomerID is optional. When set, this property will be used to associate a payment method with vault of customer with this ID -/// If customerID is not specified, one will be generated by the PayPal API public struct Vault { + /// Property used to associate a payment method with vault of customer with this ID public let customerID: String? + /// Creates an instance of a vault object + /// - Parameters: + /// - customerID: The identifier for customer. If not specified, PayPal will create one public init(customerID: String? = nil) { self.customerID = customerID }