The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Braintree::_::Customer

PURPOSE

This class represents a customer.

This class will only be created as part of a response or error response.

ATTRIBUTES

addresses()

This returns the customer's addresses. This will be an arrayref of "" in WebService::Braintree::_::Address.

amex_express_checkout_cards()

This returns the customer's Amex Express Checkout cards. This will be an arrayref of "" in WebService::Braintree::_::AmexExpressCheckoutCard.

android_pay_cards()

This returns the customer's AndroidPay cards. This will be an arrayref of "" in WebService::Braintree::_::AndroidPayCard.

apple_pay_cards()

This returns the customer's ApplePay cards. This will be an arrayref of "" in WebService::Braintree::_::ApplePayCard.

coinbase_accounts()

This returns the customer's Coinbase accounts. This will be an arrayref of "" in WebService::Braintree::_::CoinbaseAccount.

company()

This is the company for this customer.

created_at()

This returns when this customer was created.

credit_cards()

This returns the customer's credit cards. This will be an arrayref of "" in WebService::Braintree::_::CreditCard.

custom_fields()

This is the custom fields for this customer.

This will default to {}

email()

This is the email for this customer.

europe_banks_accounts()

This returns the customer's Europe bank accounts. This will be an arrayref of "" in WebService::Braintree::_::EuropeBankAccount.

fax()

This is the fax for this customer.

first_name()

This is the first name for this customer.

id()

This is the ID for this customer.

last_name()

This is the last name for this customer.

masterpass_cards()

This returns the customer's Masterpass cards. This will be an arrayref of "" in WebService::Braintree::_::MasterpassCard.

merchant_id()

This is the merchant ID for this customer.

paypal_accounts()

This returns the customer's PayPal accounts. This will be an arrayref of "" in WebService::Braintree::_::PayPalAccount.

phone()

This is the phone for this customer.

updated_at()

This returns when this customer was last updated.

us_bank_accounts()

This returns the customer's US bank accounts. This will be an arrayref of "" in WebService::Braintree::_::UsBankAccount.

venmo_accounts()

This returns the customer's Venmo accounts. This will be an arrayref of "" in WebService::Braintree::_::VenmoAccount.

visa_checkout_cards()

This returns the customer's VisaCheckout cards. This will be an arrayref of "" in WebService::Braintree::_::VisaCheckoutCard.

website()

This is the website for this customer.

METHODS

payment_types()

This returns a list of all the payment types supported by this class.

payment_methods()

This returns an arrayref of all available payment methods across all types. The return value will be in the order specified in "payment_types()"