class Braintree::PaymentMethodCustomerDataUpdatedMetadata

Attributes

datetime_updated[R]
enriched_customer_data[R]
payment_method[R]
token[R]

Public Class Methods

_new(*args) click to toggle source
# File lib/braintree/payment_method_customer_data_updated_metadata.rb, line 20
def self._new(*args)
  self.new(*args)
end

Protected Class Methods

new(gateway, attributes) click to toggle source
# File lib/braintree/payment_method_customer_data_updated_metadata.rb, line 10
def initialize(gateway, attributes)
  set_instance_variables_from_hash(attributes)
  @payment_method = PaymentMethodParser.parse_payment_method(gateway, attributes[:payment_method])
  @enriched_customer_data = EnrichedCustomerData._new(enriched_customer_data) if enriched_customer_data
end