Class: Mercadopago::Order::Request::PayerRequest
- Inherits:
-
Data
- Object
- Data
- Mercadopago::Order::Request::PayerRequest
- Includes:
- HashConversion
- Defined in:
- lib/mercadopago/resources/order/request.rb
Overview
E. payer ==
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#customer_id ⇒ Object
readonly
Returns the value of attribute customer_id.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#entity_type ⇒ Object
readonly
Returns the value of attribute entity_type.
-
#first_name ⇒ Object
readonly
Returns the value of attribute first_name.
-
#identification ⇒ Object
readonly
Returns the value of attribute identification.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
-
#phone ⇒ Object
readonly
Returns the value of attribute phone.
Instance Method Summary collapse
-
#initialize(email: nil, first_name: nil, last_name: nil, customer_id: nil, entity_type: nil, identification: nil, phone: nil, address: nil) ⇒ PayerRequest
constructor
A new instance of PayerRequest.
Methods included from HashConversion
Constructor Details
#initialize(email: nil, first_name: nil, last_name: nil, customer_id: nil, entity_type: nil, identification: nil, phone: nil, address: nil) ⇒ PayerRequest
Returns a new instance of PayerRequest.
240 241 242 243 244 245 |
# File 'lib/mercadopago/resources/order/request.rb', line 240 def initialize( email: nil, first_name: nil, last_name: nil, customer_id: nil, entity_type: nil, identification: nil, phone: nil, address: nil ) super end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address
228 229 230 |
# File 'lib/mercadopago/resources/order/request.rb', line 228 def address @address end |
#customer_id ⇒ Object (readonly)
Returns the value of attribute customer_id
228 229 230 |
# File 'lib/mercadopago/resources/order/request.rb', line 228 def customer_id @customer_id end |
#email ⇒ Object (readonly)
Returns the value of attribute email
228 229 230 |
# File 'lib/mercadopago/resources/order/request.rb', line 228 def email @email end |
#entity_type ⇒ Object (readonly)
Returns the value of attribute entity_type
228 229 230 |
# File 'lib/mercadopago/resources/order/request.rb', line 228 def entity_type @entity_type end |
#first_name ⇒ Object (readonly)
Returns the value of attribute first_name
228 229 230 |
# File 'lib/mercadopago/resources/order/request.rb', line 228 def first_name @first_name end |
#identification ⇒ Object (readonly)
Returns the value of attribute identification
228 229 230 |
# File 'lib/mercadopago/resources/order/request.rb', line 228 def identification @identification end |
#last_name ⇒ Object (readonly)
Returns the value of attribute last_name
228 229 230 |
# File 'lib/mercadopago/resources/order/request.rb', line 228 def last_name @last_name end |
#phone ⇒ Object (readonly)
Returns the value of attribute phone
228 229 230 |
# File 'lib/mercadopago/resources/order/request.rb', line 228 def phone @phone end |