Class: Braintree::Dispute::PayPalMessage

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/dispute/paypal_message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BaseModule

included

Methods included from BaseModule::Methods

#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class

Constructor Details

#initialize(attributes) ⇒ PayPalMessage

Returns a new instance of PayPalMessage.



10
11
12
# File 'lib/braintree/dispute/paypal_message.rb', line 10

def initialize(attributes)
  set_instance_variables_from_hash attributes unless attributes.nil?
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



6
7
8
# File 'lib/braintree/dispute/paypal_message.rb', line 6

def message
  @message
end

#senderObject (readonly)

Returns the value of attribute sender.



6
7
8
# File 'lib/braintree/dispute/paypal_message.rb', line 6

def sender
  @sender
end

#sent_atObject (readonly)

Returns the value of attribute sent_at.



6
7
8
# File 'lib/braintree/dispute/paypal_message.rb', line 6

def sent_at
  @sent_at
end