class PagSeguro::CreditCardTransactionRequest

Attributes

billing_address[R]

Get billing address info.

credit_card_token[RW]

Set credit card token. Required for credit card payment method.

holder[R]

Get credit card holder info.

installment[R]

Get installment info.

Public Instance Methods

billing_address=(address) click to toggle source

Set the billing address. Required for credit card payment method.

# File lib/pagseguro/credit_card_transaction_request.rb, line 35
def billing_address=(address)
  @billing_address = ensure_type(Address, address)
end
holder=(holder) click to toggle source

Set the credit card holder. Required for credit card payment method.

# File lib/pagseguro/credit_card_transaction_request.rb, line 29
def holder=(holder)
  @holder = ensure_type(Holder, holder)
end
installment=(installment) click to toggle source

Set the installment. Required for credit card payment method.

# File lib/pagseguro/credit_card_transaction_request.rb, line 23
def installment=(installment)
  @installment = ensure_type(TransactionInstallment, installment)
end
payment_method() click to toggle source

Get the payment_method.

# File lib/pagseguro/credit_card_transaction_request.rb, line 17
def payment_method
  "creditCard"
end