Class: Peddler::APIs::MerchantFulfillmentV0::Address
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MerchantFulfillmentV0::Address
- Defined in:
- sig/peddler/apis/merchant_fulfillment_v0.rbs
Instance Attribute Summary collapse
-
#address_line1 ⇒ String
readonly
Returns the value of attribute address_line1.
-
#address_line2 ⇒ String?
readonly
Returns the value of attribute address_line2.
-
#address_line3 ⇒ String?
readonly
Returns the value of attribute address_line3.
-
#city ⇒ String
readonly
Returns the value of attribute city.
-
#country_code ⇒ String
readonly
Returns the value of attribute country_code.
-
#district_or_county ⇒ String?
readonly
Returns the value of attribute district_or_county.
-
#email ⇒ String
readonly
Returns the value of attribute email.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#phone ⇒ String
readonly
Returns the value of attribute phone.
-
#postal_code ⇒ String
readonly
Returns the value of attribute postal_code.
-
#state_or_province_code ⇒ String?
readonly
Returns the value of attribute state_or_province_code.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::Address
Instance Method Summary collapse
-
#members ⇒ [ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ]
-
#to_h ⇒ { address_line1: String, city: String, country_code: String, email: String, name: String, phone: String, postal_code: String, address_line2: String?, address_line3: String?, district_or_county: String?, state_or_province_code: String? }
Instance Attribute Details
#address_line1 ⇒ String (readonly)
Returns the value of attribute address_line1.
81 82 83 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 81 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
82 83 84 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 82 def address_line2 @address_line2 end |
#address_line3 ⇒ String? (readonly)
Returns the value of attribute address_line3.
83 84 85 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 83 def address_line3 @address_line3 end |
#city ⇒ String (readonly)
Returns the value of attribute city.
84 85 86 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 84 def city @city end |
#country_code ⇒ String (readonly)
Returns the value of attribute country_code.
85 86 87 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 85 def country_code @country_code end |
#district_or_county ⇒ String? (readonly)
Returns the value of attribute district_or_county.
86 87 88 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 86 def district_or_county @district_or_county end |
#email ⇒ String (readonly)
Returns the value of attribute email.
87 88 89 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 87 def email @email end |
#name ⇒ String (readonly)
Returns the value of attribute name.
88 89 90 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 88 def name @name end |
#phone ⇒ String (readonly)
Returns the value of attribute phone.
89 90 91 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 89 def phone @phone end |
#postal_code ⇒ String (readonly)
Returns the value of attribute postal_code.
90 91 92 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 90 def postal_code @postal_code end |
#state_or_province_code ⇒ String? (readonly)
Returns the value of attribute state_or_province_code.
91 92 93 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 91 def state_or_province_code @state_or_province_code end |
Class Method Details
.[](address_line1:, city:, country_code:, email:, name:, phone:, postal_code:, address_line2:, address_line3:, district_or_county:, state_or_province_code:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address
74 75 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 74
def self.[]: (address_line1: String, city: String, country_code: String, email: String, name: String, phone: String, postal_code: String, ?address_line2: String?, ?address_line3: String?, ?district_or_county: String?, ?state_or_province_code: String?) -> Peddler::APIs::MerchantFulfillmentV0::Address
| (String, String, String, String, String, String, String, String?, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::Address
|
.members ⇒ [ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ]
77 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 77
def self.members: () -> [ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ]
|
.new(address_line1:, city:, country_code:, email:, name:, phone:, postal_code:, address_line2:, address_line3:, district_or_county:, state_or_province_code:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address
72 73 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 72
def self.new: (address_line1: String, city: String, country_code: String, email: String, name: String, phone: String, postal_code: String, ?address_line2: String?, ?address_line3: String?, ?district_or_county: String?, ?state_or_province_code: String?) -> Peddler::APIs::MerchantFulfillmentV0::Address
| (String, String, String, String, String, String, String, String?, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::Address
|
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::Address
79 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 79
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::Address
|
Instance Method Details
#members ⇒ [ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ]
93 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 93
def members: () -> [ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ]
|
#to_h ⇒ { address_line1: String, city: String, country_code: String, email: String, name: String, phone: String, postal_code: String, address_line2: String?, address_line3: String?, district_or_county: String?, state_or_province_code: String? }
94 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 94
def to_h: () -> { address_line1: String, city: String, country_code: String, email: String, name: String, phone: String, postal_code: String, address_line2: String?, address_line3: String?, district_or_county: String?, state_or_province_code: String? }
|