Braintree.Transaction.GetVaultShippingAddress C# (CSharp) Method

GetVaultShippingAddress() public method

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

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