Class: Gateway::CreditCardTransactionOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#CaptureDelayInMinutesObject

Returns the value of attribute CaptureDelayInMinutes.



11
12
13
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 11

def CaptureDelayInMinutes
  @CaptureDelayInMinutes
end

#CurrencyIsoObject

Returns the value of attribute CurrencyIso.



7
8
9
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 7

def CurrencyIso
  @CurrencyIso
end

#ExtendedLimitCodeObject

Returns the value of attribute ExtendedLimitCode.



21
22
23
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 21

def ExtendedLimitCode
  @ExtendedLimitCode
end

#ExtendedLimitEnabledObject

Returns the value of attribute ExtendedLimitEnabled.



19
20
21
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 19

def ExtendedLimitEnabled
  @ExtendedLimitEnabled
end

#IataAmountInCentsObject

Returns the value of attribute IataAmountInCents.



9
10
11
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 9

def IataAmountInCents
  @IataAmountInCents
end

#InterestRateObject

Returns the value of attribute InterestRate.



17
18
19
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 17

def InterestRate
  @InterestRate
end

#MerchantCategoryCodeObject

Returns the value of attribute MerchantCategoryCode.



13
14
15
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 13

def MerchantCategoryCode
  @MerchantCategoryCode
end

#PaymentMethodCodeObject

Returns the value of attribute PaymentMethodCode.



5
6
7
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 5

def PaymentMethodCode
  @PaymentMethodCode
end

#SoftDescriptorTextObject

Returns the value of attribute SoftDescriptorText.



15
16
17
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 15

def SoftDescriptorText
  @SoftDescriptorText
end

Instance Method Details

#to_jsonObject



23
24
25
26
27
# File 'lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb', line 23

def to_json
  hash = {}
  instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
  hash
end