Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Address
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::Address
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.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.
-
#address_type ⇒ String?
readonly
Returns the value of attribute address_type.
-
#city ⇒ String?
readonly
Returns the value of attribute city.
-
#copy_emails ⇒ Array[String]?
readonly
Returns the value of attribute copy_emails.
-
#country_code ⇒ String?
readonly
Returns the value of attribute country_code.
-
#district ⇒ String?
readonly
Returns the value of attribute district.
-
#email ⇒ String?
readonly
Returns the value of attribute email.
-
#municipality ⇒ String?
readonly
Returns the value of attribute municipality.
-
#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 ⇒ String?
readonly
Returns the value of attribute state.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :municipality, :name, :phone_number, :state ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Address
Instance Method Summary collapse
-
#members ⇒ [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :municipality, :name, :phone_number, :state ]
-
#to_h ⇒ { postal_code: String, address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, copy_emails: Array[String]?, country_code: String?, district: String?, email: String?, municipality: String?, name: String?, phone_number: String?, state: String? }
Instance Attribute Details
#address_line1 ⇒ String? (readonly)
Returns the value of attribute address_line1.
14 15 16 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 14 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
15 16 17 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 15 def address_line2 @address_line2 end |
#address_line3 ⇒ String? (readonly)
Returns the value of attribute address_line3.
16 17 18 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 16 def address_line3 @address_line3 end |
#address_type ⇒ String? (readonly)
Returns the value of attribute address_type.
17 18 19 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 17 def address_type @address_type end |
#city ⇒ String? (readonly)
Returns the value of attribute city.
18 19 20 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 18 def city @city end |
#copy_emails ⇒ Array[String]? (readonly)
Returns the value of attribute copy_emails.
19 20 21 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 19 def copy_emails @copy_emails end |
#country_code ⇒ String? (readonly)
Returns the value of attribute country_code.
20 21 22 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 20 def country_code @country_code end |
#district ⇒ String? (readonly)
Returns the value of attribute district.
21 22 23 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 21 def district @district end |
#email ⇒ String? (readonly)
Returns the value of attribute email.
22 23 24 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 22 def email @email end |
#municipality ⇒ String? (readonly)
Returns the value of attribute municipality.
23 24 25 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 23 def municipality @municipality end |
#name ⇒ String? (readonly)
Returns the value of attribute name.
24 25 26 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 24 def name @name end |
#phone_number ⇒ String? (readonly)
Returns the value of attribute phone_number.
25 26 27 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 25 def phone_number @phone_number end |
#postal_code ⇒ String (readonly)
Returns the value of attribute postal_code.
26 27 28 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 26 def postal_code @postal_code end |
#state ⇒ String? (readonly)
Returns the value of attribute state.
27 28 29 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 27 def state @state end |
Class Method Details
.[](postal_code:, address_line1:, address_line2:, address_line3:, address_type:, city:, copy_emails:, country_code:, district:, email:, municipality:, name:, phone_number:, state:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Address
7 8 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 7
def self.[]: (postal_code: String, ?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?copy_emails: Array[String]?, ?country_code: String?, ?district: String?, ?email: String?, ?municipality: String?, ?name: String?, ?phone_number: String?, ?state: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
| (String, String?, String?, String?, String?, String?, Array[String]?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
|
.members ⇒ [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :municipality, :name, :phone_number, :state ]
10 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 10
def self.members: () -> [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :municipality, :name, :phone_number, :state ]
|
.new(postal_code:, address_line1:, address_line2:, address_line3:, address_type:, city:, copy_emails:, country_code:, district:, email:, municipality:, name:, phone_number:, state:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Address
5 6 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 5
def self.new: (postal_code: String, ?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?copy_emails: Array[String]?, ?country_code: String?, ?district: String?, ?email: String?, ?municipality: String?, ?name: String?, ?phone_number: String?, ?state: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
| (String, String?, String?, String?, String?, String?, Array[String]?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Address
12 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
|
Instance Method Details
#members ⇒ [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :municipality, :name, :phone_number, :state ]
29 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 29
def members: () -> [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :municipality, :name, :phone_number, :state ]
|
#to_h ⇒ { postal_code: String, address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, copy_emails: Array[String]?, country_code: String?, district: String?, email: String?, municipality: String?, name: String?, phone_number: String?, state: String? }
30 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 30
def to_h: () -> { postal_code: String, address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, copy_emails: Array[String]?, country_code: String?, district: String?, email: String?, municipality: String?, name: String?, phone_number: String?, state: String? }
|