Class: Worldline::Connect::SDK::V1::Domain::RefundPaymentProduct840CustomerAccount
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::RefundPaymentProduct840CustomerAccount
- Defined in:
- lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb
Instance Attribute Summary collapse
-
#customer_account_status ⇒ String
The current value of customer_account_status.
-
#customer_address_status ⇒ String
The current value of customer_address_status.
-
#payer_id ⇒ String
The current value of payer_id.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#customer_account_status ⇒ String
Returns the current value of customer_account_status.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb', line 15 def customer_account_status @customer_account_status end |
#customer_address_status ⇒ String
Returns the current value of customer_address_status.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb', line 15 def customer_address_status @customer_address_status end |
#payer_id ⇒ String
Returns the current value of payer_id.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb', line 15 def payer_id @payer_id end |
Instance Method Details
#from_hash(hash) ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb', line 32 def from_hash(hash) super if hash.has_key? 'customerAccountStatus' @customer_account_status = hash['customerAccountStatus'] end if hash.has_key? 'customerAddressStatus' @customer_address_status = hash['customerAddressStatus'] end if hash.has_key? 'payerId' @payer_id = hash['payerId'] end end |
#to_h ⇒ Hash
24 25 26 27 28 29 30 |
# File 'lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb', line 24 def to_h hash = super hash['customerAccountStatus'] = @customer_account_status unless @customer_account_status.nil? hash['customerAddressStatus'] = @customer_address_status unless @customer_address_status.nil? hash['payerId'] = @payer_id unless @payer_id.nil? hash end |