Class: Worldline::Connect::SDK::V1::Domain::CreateHostedMandateManagementResponse
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::CreateHostedMandateManagementResponse
- Defined in:
- lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_response.rb
Instance Attribute Summary collapse
-
#hosted_mandate_management_id ⇒ String
The current value of hosted_mandate_management_id.
-
#partial_redirect_url ⇒ String
The current value of partial_redirect_url.
-
#returnmac ⇒ String
The current value of returnmac.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#hosted_mandate_management_id ⇒ String
Returns the current value of hosted_mandate_management_id.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_response.rb', line 15 def hosted_mandate_management_id @hosted_mandate_management_id end |
#partial_redirect_url ⇒ String
Returns the current value of partial_redirect_url.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_response.rb', line 15 def partial_redirect_url @partial_redirect_url end |
#returnmac ⇒ String
Returns the current value of returnmac.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_response.rb', line 15 def returnmac @returnmac 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/create_hosted_mandate_management_response.rb', line 32 def from_hash(hash) super if hash.has_key? 'RETURNMAC' @returnmac = hash['RETURNMAC'] end if hash.has_key? 'hostedMandateManagementId' @hosted_mandate_management_id = hash['hostedMandateManagementId'] end if hash.has_key? 'partialRedirectUrl' @partial_redirect_url = hash['partialRedirectUrl'] end end |
#to_h ⇒ Hash
24 25 26 27 28 29 30 |
# File 'lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_response.rb', line 24 def to_h hash = super hash['RETURNMAC'] = @returnmac unless @returnmac.nil? hash['hostedMandateManagementId'] = @hosted_mandate_management_id unless @hosted_mandate_management_id.nil? hash['partialRedirectUrl'] = @partial_redirect_url unless @partial_redirect_url.nil? hash end |