Braintree.Transaction.GetVaultBillingAddress C# (CSharp) Method

GetVaultBillingAddress() public method

Returns the current billing Address associated with this transaction if one exists
When retrieving a transaction from the gateway, the billing address associated with the transaction is returned in the response. If the billing address has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated billing address.
public GetVaultBillingAddress ( ) : Address
return Address
        public virtual Address GetVaultBillingAddress()
        {
            if (BillingAddress.Id == null) return null;

            return new AddressGateway(Gateway).Find(Customer.Id, BillingAddress.Id);
        }