Module: GenesisRuby::Api::Mixins::Requests::NonFinancial::Kyc::KycShippingInfoAttributes
- Included in:
- Requests::NonFinancial::Kyc::Transaction::Create
- Defined in:
- lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb
Overview
Mixin KycShippingInfoAttributes for KYC Non-Financial API services
Instance Attribute Summary collapse
-
#shipping_address1 ⇒ Object
Returns the value of attribute shipping_address1.
-
#shipping_address2 ⇒ Object
Returns the value of attribute shipping_address2.
-
#shipping_city ⇒ Object
Returns the value of attribute shipping_city.
-
#shipping_country ⇒ Object
Returns the value of attribute shipping_country.
-
#shipping_customer_email ⇒ Object
Returns the value of attribute shipping_customer_email.
-
#shipping_first_name ⇒ Object
Returns the value of attribute shipping_first_name.
-
#shipping_last_name ⇒ Object
Returns the value of attribute shipping_last_name.
-
#shipping_phone1 ⇒ Object
Returns the value of attribute shipping_phone1.
-
#shipping_province ⇒ Object
Returns the value of attribute shipping_province.
-
#shipping_zip_code ⇒ Object
Returns the value of attribute shipping_zip_code.
Instance Method Summary collapse
-
#shipping_gender=(value) ⇒ Object
Sets the shipping_gender attribute.
Instance Attribute Details
#shipping_address1 ⇒ Object
Returns the value of attribute shipping_address1.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 12 def shipping_address1 @shipping_address1 end |
#shipping_address2 ⇒ Object
Returns the value of attribute shipping_address2.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 12 def shipping_address2 @shipping_address2 end |
#shipping_city ⇒ Object
Returns the value of attribute shipping_city.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 12 def shipping_city @shipping_city end |
#shipping_country ⇒ Object
Returns the value of attribute shipping_country.
14 15 16 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 14 def shipping_country @shipping_country end |
#shipping_customer_email ⇒ Object
Returns the value of attribute shipping_customer_email.
14 15 16 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 14 def shipping_customer_email @shipping_customer_email end |
#shipping_first_name ⇒ Object
Returns the value of attribute shipping_first_name.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 12 def shipping_first_name @shipping_first_name end |
#shipping_last_name ⇒ Object
Returns the value of attribute shipping_last_name.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 12 def shipping_last_name @shipping_last_name end |
#shipping_phone1 ⇒ Object
Returns the value of attribute shipping_phone1.
14 15 16 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 14 def shipping_phone1 @shipping_phone1 end |
#shipping_province ⇒ Object
Returns the value of attribute shipping_province.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 12 def shipping_province @shipping_province end |
#shipping_zip_code ⇒ Object
Returns the value of attribute shipping_zip_code.
12 13 14 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 12 def shipping_zip_code @shipping_zip_code end |
Instance Method Details
#shipping_gender=(value) ⇒ Object
Sets the shipping_gender attribute
40 41 42 43 44 45 46 47 48 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/kyc_shipping_info_attributes.rb', line 40 def shipping_gender=(value) ( attribute: __method__, allowed: Api::Constants::NonFinancial::Kyc::Genders.all, value: value, error_message: 'Invalid gender for Create Transaction shipping gender', allow_empty: true ) end |