Module: GenesisRuby::Api::Mixins::Requests::Financial::OnlineBankingPayments::PixAttributes
- Included in:
- Requests::Financial::CashPayments::Pix, Requests::Financial::OnlineBankingPayments::OnlineBanking::PayOut
- Defined in:
- lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/pix_attributes.rb
Overview
PIX shared attributes
Instance Attribute Summary collapse
-
#company_activity ⇒ Object
Returns the value of attribute company_activity.
-
#company_type ⇒ Object
Returns the value of attribute company_type.
-
#mothers_name ⇒ Object
Returns the value of attribute mothers_name.
Instance Method Summary collapse
-
#incorporation_date ⇒ Object
Incorporation Date Accessor.
-
#incorporation_date=(value) ⇒ Object
Incorporation Date Accessor.
Instance Attribute Details
#company_activity ⇒ Object
Returns the value of attribute company_activity.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/pix_attributes.rb', line 12 def company_activity @company_activity end |
#company_type ⇒ Object
Returns the value of attribute company_type.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/pix_attributes.rb', line 12 def company_type @company_type end |
#mothers_name ⇒ Object
Returns the value of attribute mothers_name.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/pix_attributes.rb', line 12 def mothers_name @mothers_name end |
Instance Method Details
#incorporation_date ⇒ Object
Incorporation Date Accessor
15 16 17 |
# File 'lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/pix_attributes.rb', line 15 def incorporation_date @incorporation_date&.strftime GenesisRuby::Api::Constants::DateTimeFormats::YYYY_MM_DD_ISO_8601 end |
#incorporation_date=(value) ⇒ Object
Incorporation Date Accessor
20 21 22 |
# File 'lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/pix_attributes.rb', line 20 def incorporation_date=(value) parse_date attribute: __method__, value: value, allow_empty: true end |