Class: Peddler::APIs::FulfillmentInbound20240320::AddressInput
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::AddressInput
- Defined in:
- sig/peddler/apis/fulfillment_inbound_2024_03_20.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.
-
#city ⇒ String
readonly
Returns the value of attribute city.
-
#company_name ⇒ String?
readonly
Returns the value of attribute company_name.
-
#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_number ⇒ String
readonly
Returns the value of attribute phone_number.
-
#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, :name, :phone_number, :postal_code, :address_line2, :company_name, :district_or_county, :email, :state_or_province_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::AddressInput
Instance Method Summary collapse
-
#members ⇒ [ :address_line1, :city, :country_code, :name, :phone_number, :postal_code, :address_line2, :company_name, :district_or_county, :email, :state_or_province_code ]
-
#to_h ⇒ { address_line1: String, city: String, country_code: String, name: String, phone_number: String, postal_code: String, address_line2: String?, company_name: String?, district_or_county: String?, email: String?, state_or_province_code: String? }
Instance Attribute Details
#address_line1 ⇒ String (readonly)
Returns the value of attribute address_line1.
40 41 42 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 40 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
41 42 43 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 41 def address_line2 @address_line2 end |
#city ⇒ String (readonly)
Returns the value of attribute city.
42 43 44 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 42 def city @city end |
#company_name ⇒ String? (readonly)
Returns the value of attribute company_name.
43 44 45 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 43 def company_name @company_name end |
#country_code ⇒ String (readonly)
Returns the value of attribute country_code.
44 45 46 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 44 def country_code @country_code end |
#district_or_county ⇒ String? (readonly)
Returns the value of attribute district_or_county.
45 46 47 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 45 def district_or_county @district_or_county end |
#email ⇒ String? (readonly)
Returns the value of attribute email.
46 47 48 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 46 def email @email end |
#name ⇒ String (readonly)
Returns the value of attribute name.
47 48 49 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 47 def name @name end |
#phone_number ⇒ String (readonly)
Returns the value of attribute phone_number.
48 49 50 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 48 def phone_number @phone_number end |
#postal_code ⇒ String (readonly)
Returns the value of attribute postal_code.
49 50 51 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 49 def postal_code @postal_code end |
#state_or_province_code ⇒ String? (readonly)
Returns the value of attribute state_or_province_code.
50 51 52 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 50 def state_or_province_code @state_or_province_code end |
Class Method Details
.[](address_line1:, city:, country_code:, name:, phone_number:, postal_code:, address_line2:, company_name:, district_or_county:, email:, state_or_province_code:) ⇒ Peddler::APIs::FulfillmentInbound20240320::AddressInput .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::FulfillmentInbound20240320::AddressInput
33 34 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 33
def self.[]: (address_line1: String, city: String, country_code: String, name: String, phone_number: String, postal_code: String, ?address_line2: String?, ?company_name: String?, ?district_or_county: String?, ?email: String?, ?state_or_province_code: String?) -> Peddler::APIs::FulfillmentInbound20240320::AddressInput
| (String, String, String, String, String, String, String?, String?, String?, String?, String?) -> Peddler::APIs::FulfillmentInbound20240320::AddressInput
|
.members ⇒ [ :address_line1, :city, :country_code, :name, :phone_number, :postal_code, :address_line2, :company_name, :district_or_county, :email, :state_or_province_code ]
36 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 36
def self.members: () -> [ :address_line1, :city, :country_code, :name, :phone_number, :postal_code, :address_line2, :company_name, :district_or_county, :email, :state_or_province_code ]
|
.new(address_line1:, city:, country_code:, name:, phone_number:, postal_code:, address_line2:, company_name:, district_or_county:, email:, state_or_province_code:) ⇒ Peddler::APIs::FulfillmentInbound20240320::AddressInput .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::FulfillmentInbound20240320::AddressInput
31 32 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 31
def self.new: (address_line1: String, city: String, country_code: String, name: String, phone_number: String, postal_code: String, ?address_line2: String?, ?company_name: String?, ?district_or_county: String?, ?email: String?, ?state_or_province_code: String?) -> Peddler::APIs::FulfillmentInbound20240320::AddressInput
| (String, String, String, String, String, String, String?, String?, String?, String?, String?) -> Peddler::APIs::FulfillmentInbound20240320::AddressInput
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::AddressInput
38 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 38
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::AddressInput
|
Instance Method Details
#members ⇒ [ :address_line1, :city, :country_code, :name, :phone_number, :postal_code, :address_line2, :company_name, :district_or_county, :email, :state_or_province_code ]
52 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 52
def members: () -> [ :address_line1, :city, :country_code, :name, :phone_number, :postal_code, :address_line2, :company_name, :district_or_county, :email, :state_or_province_code ]
|
#to_h ⇒ { address_line1: String, city: String, country_code: String, name: String, phone_number: String, postal_code: String, address_line2: String?, company_name: String?, district_or_county: String?, email: String?, state_or_province_code: String? }
53 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 53
def to_h: () -> { address_line1: String, city: String, country_code: String, name: String, phone_number: String, postal_code: String, address_line2: String?, company_name: String?, district_or_county: String?, email: String?, state_or_province_code: String? }
|