Braintree v0.7.0 Braintree.CreditCard

CreditCard structs are not created directly, but are built within responsees from other endpoints, such as Braintree.Customer.

Summary

Functions

Convert a response into one or more typed structs

Types

t :: %Braintree.CreditCard{bin: String.t, card_type: String.t, cardholder_name: String.t, commercial: String.t, country_of_issuance: String.t, created_at: String.t, customer_id: String.t, customer_location: String.t, debit: String.t, default: String.t, durbin_regulated: String.t, expiration_month: String.t, expiration_year: String.t, expired: String.t, healthcare: String.t, image_url: String.t, issuing_bank: String.t, last_4: String.t, payroll: String.t, prepaid: String.t, subscriptions: [], token: String.t, unique_number_identifier: String.t, updated_at: String.t, venmo_sdk: boolean, verifications: []}

Functions

construct(params)

Specs

construct(Map.t | [Map.t]) :: t | [t]

Convert a response into one or more typed structs.