Class: Mercadopago::Order::Request::StoredCredentialRequest

Inherits:
Data
  • Object
show all
Includes:
HashConversion
Defined in:
lib/mercadopago/resources/order/request.rb

Overview

D2. stored_credential ==

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from HashConversion

#to_hash

Constructor Details

#initialize(payment_initiator: nil, reason: nil, store_payment_method: nil, first_payment: nil, previous_transaction_reference: nil) ⇒ StoredCredentialRequest

Returns a new instance of StoredCredentialRequest.



187
188
189
190
191
192
# File 'lib/mercadopago/resources/order/request.rb', line 187

def initialize(
  payment_initiator: nil, reason: nil, store_payment_method: nil,
  first_payment: nil, previous_transaction_reference: nil
)
  super
end

Instance Attribute Details

#first_paymentObject (readonly)

Returns the value of attribute first_payment

Returns:

  • (Object)

    the current value of first_payment



178
179
180
# File 'lib/mercadopago/resources/order/request.rb', line 178

def first_payment
  @first_payment
end

#payment_initiatorObject (readonly)

Returns the value of attribute payment_initiator

Returns:

  • (Object)

    the current value of payment_initiator



178
179
180
# File 'lib/mercadopago/resources/order/request.rb', line 178

def payment_initiator
  @payment_initiator
end

#previous_transaction_referenceObject (readonly)

Returns the value of attribute previous_transaction_reference

Returns:

  • (Object)

    the current value of previous_transaction_reference



178
179
180
# File 'lib/mercadopago/resources/order/request.rb', line 178

def previous_transaction_reference
  @previous_transaction_reference
end

#reasonObject (readonly)

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



178
179
180
# File 'lib/mercadopago/resources/order/request.rb', line 178

def reason
  @reason
end

#store_payment_methodObject (readonly)

Returns the value of attribute store_payment_method

Returns:

  • (Object)

    the current value of store_payment_method



178
179
180
# File 'lib/mercadopago/resources/order/request.rb', line 178

def store_payment_method
  @store_payment_method
end