Class: PagoPA::SOAP::Message::Payer
- Inherits:
-
Object
- Object
- PagoPA::SOAP::Message::Payer
- Defined in:
- lib/pago_pa/soap/message/payer.rb
Constant Summary collapse
- REQUIRED_ATTRIBUTES =
%i[ anagrafica_pagatore identificativo_univoco_pagatore ].freeze
- REQUIRED_IUP =
%i[ tipo_identificativo_univoco codice_identificativo_univoco ].freeze
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#iup ⇒ Object
readonly
Returns the value of attribute iup.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Payer
constructor
A new instance of Payer.
- #to_params ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ Payer
Returns a new instance of Payer.
18 19 20 21 22 |
# File 'lib/pago_pa/soap/message/payer.rb', line 18 def initialize(attributes = {}) @attributes = attributes @iup = attributes[:identificativo_univoco_pagatore] validate_attrs! end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
15 16 17 |
# File 'lib/pago_pa/soap/message/payer.rb', line 15 def attributes @attributes end |
#iup ⇒ Object (readonly)
Returns the value of attribute iup.
16 17 18 |
# File 'lib/pago_pa/soap/message/payer.rb', line 16 def iup @iup end |
Instance Method Details
#to_params ⇒ Object
24 25 |
# File 'lib/pago_pa/soap/message/payer.rb', line 24 def to_params end |