Class: Gateway::CreateInstantBuyDataRequest
- Inherits:
-
Object
- Object
- Gateway::CreateInstantBuyDataRequest
- Defined in:
- lib/gateway/InstantBuyData/create_instant_buy_data_request.rb
Instance Attribute Summary collapse
-
#BillingAddress ⇒ Object
Returns the value of attribute BillingAddress.
-
#BuyerKey ⇒ Object
Returns the value of attribute BuyerKey.
-
#CreditCardBrand ⇒ Object
Returns the value of attribute CreditCardBrand.
-
#CreditCardNumber ⇒ Object
Returns the value of attribute CreditCardNumber.
-
#ExpMonth ⇒ Object
Returns the value of attribute ExpMonth.
-
#ExpYear ⇒ Object
Returns the value of attribute ExpYear.
-
#HolderName ⇒ Object
Returns the value of attribute HolderName.
-
#IsOneDollarAuthEnabled ⇒ Object
Returns the value of attribute IsOneDollarAuthEnabled.
-
#SecurityCode ⇒ Object
Returns the value of attribute SecurityCode.
Instance Method Summary collapse
-
#initialize ⇒ CreateInstantBuyDataRequest
constructor
A new instance of CreateInstantBuyDataRequest.
- #to_json ⇒ Object
Constructor Details
#initialize ⇒ CreateInstantBuyDataRequest
Returns a new instance of CreateInstantBuyDataRequest.
21 22 23 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 21 def initialize @BillingAddress = BillingAddress.new end |
Instance Attribute Details
#BillingAddress ⇒ Object
Returns the value of attribute BillingAddress.
17 18 19 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 17 def BillingAddress @BillingAddress end |
#BuyerKey ⇒ Object
Returns the value of attribute BuyerKey.
19 20 21 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 19 def BuyerKey @BuyerKey end |
#CreditCardBrand ⇒ Object
Returns the value of attribute CreditCardBrand.
15 16 17 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 15 def CreditCardBrand @CreditCardBrand end |
#CreditCardNumber ⇒ Object
Returns the value of attribute CreditCardNumber.
5 6 7 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 5 def CreditCardNumber @CreditCardNumber end |
#ExpMonth ⇒ Object
Returns the value of attribute ExpMonth.
11 12 13 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 11 def ExpMonth @ExpMonth end |
#ExpYear ⇒ Object
Returns the value of attribute ExpYear.
13 14 15 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 13 def ExpYear @ExpYear end |
#HolderName ⇒ Object
Returns the value of attribute HolderName.
7 8 9 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 7 def HolderName @HolderName end |
#IsOneDollarAuthEnabled ⇒ Object
Returns the value of attribute IsOneDollarAuthEnabled.
3 4 5 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 3 def IsOneDollarAuthEnabled @IsOneDollarAuthEnabled end |
#SecurityCode ⇒ Object
Returns the value of attribute SecurityCode.
9 10 11 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 9 def SecurityCode @SecurityCode end |
Instance Method Details
#to_json ⇒ Object
25 26 27 28 29 |
# File 'lib/gateway/InstantBuyData/create_instant_buy_data_request.rb', line 25 def to_json hash = {} instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end |