Class: Braintree::PaymentMethodCustomerDataUpdatedMetadata
- Inherits:
 - 
      Object
      
        
- Object
 - Braintree::PaymentMethodCustomerDataUpdatedMetadata
 
 
- Includes:
 - BaseModule
 
- Defined in:
 - lib/braintree/payment_method_customer_data_updated_metadata.rb
 
Instance Attribute Summary collapse
- 
  
    
      #datetime_updated  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute datetime_updated.
 - 
  
    
      #enriched_customer_data  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute enriched_customer_data.
 - 
  
    
      #payment_method  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute payment_method.
 - 
  
    
      #token  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute token.
 
Class Method Summary collapse
Instance Method Summary collapse
- 
  
    
      #initialize(gateway, attributes)  ⇒ PaymentMethodCustomerDataUpdatedMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PaymentMethodCustomerDataUpdatedMetadata.
 
Methods included from BaseModule
Methods included from BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
#initialize(gateway, attributes) ⇒ PaymentMethodCustomerDataUpdatedMetadata
Returns a new instance of PaymentMethodCustomerDataUpdatedMetadata.
      10 11 12 13 14  | 
    
      # 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  | 
  
Instance Attribute Details
#datetime_updated ⇒ Object (readonly)
Returns the value of attribute datetime_updated.
      7 8 9  | 
    
      # File 'lib/braintree/payment_method_customer_data_updated_metadata.rb', line 7 def datetime_updated @datetime_updated end  | 
  
#enriched_customer_data ⇒ Object (readonly)
Returns the value of attribute enriched_customer_data.
      8 9 10  | 
    
      # File 'lib/braintree/payment_method_customer_data_updated_metadata.rb', line 8 def enriched_customer_data @enriched_customer_data end  | 
  
#payment_method ⇒ Object (readonly)
Returns the value of attribute payment_method.
      6 7 8  | 
    
      # File 'lib/braintree/payment_method_customer_data_updated_metadata.rb', line 6 def payment_method @payment_method end  | 
  
#token ⇒ Object (readonly)
Returns the value of attribute token.
      5 6 7  | 
    
      # File 'lib/braintree/payment_method_customer_data_updated_metadata.rb', line 5 def token @token end  | 
  
Class Method Details
._new(*args) ⇒ Object
      20 21 22  | 
    
      # File 'lib/braintree/payment_method_customer_data_updated_metadata.rb', line 20 def self._new(*args) self.new(*args) end  |