Braintree.Transaction.GetVaultCustomer C# (CSharp) Méthode

GetVaultCustomer() public méthode

Returns the current Customer associated with this transaction if one exists
When retrieving a transaction from the gateway, the customer associated with the transaction is returned in the response. If the customer record has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated customer information.
public GetVaultCustomer ( ) : Customer
Résultat Customer
        public virtual Customer GetVaultCustomer()
        {
            if (Customer.Id == null) return null;

            return new CustomerGateway(Gateway).Find(Customer.Id);
        }