Class: Peddler::APIs::FulfillmentInboundV0::Address
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInboundV0::Address
- Defined in:
- sig/peddler/apis/fulfillment_inbound_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.
-
#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.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#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, :postal_code, :state_or_province_code, :address_line2, :district_or_county ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInboundV0::Address
Instance Method Summary collapse
-
#members ⇒ [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_province_code, :address_line2, :district_or_county ]
-
#to_h ⇒ { address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_province_code: String, address_line2: String?, district_or_county: String? }
Instance Attribute Details
#address_line1 ⇒ String (readonly)
Returns the value of attribute address_line1.
37 38 39 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 37 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
38 39 40 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 38 def address_line2 @address_line2 end |
#city ⇒ String (readonly)
Returns the value of attribute city.
39 40 41 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 39 def city @city end |
#country_code ⇒ String (readonly)
Returns the value of attribute country_code.
40 41 42 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 40 def country_code @country_code end |
#district_or_county ⇒ String? (readonly)
Returns the value of attribute district_or_county.
41 42 43 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 41 def district_or_county @district_or_county end |
#name ⇒ String (readonly)
Returns the value of attribute name.
42 43 44 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 42 def name @name end |
#postal_code ⇒ String (readonly)
Returns the value of attribute postal_code.
43 44 45 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 43 def postal_code @postal_code end |
#state_or_province_code ⇒ String (readonly)
Returns the value of attribute state_or_province_code.
44 45 46 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 44 def state_or_province_code @state_or_province_code end |
Class Method Details
.[](address_line1:, city:, country_code:, name:, postal_code:, state_or_province_code:, address_line2:, district_or_county:) ⇒ Peddler::APIs::FulfillmentInboundV0::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::APIs::FulfillmentInboundV0::Address
30 31 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 30
def self.[]: (address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_province_code: String, ?address_line2: String?, ?district_or_county: String?) -> Peddler::APIs::FulfillmentInboundV0::Address
| (String, String, String, String, String, String, String?, String?) -> Peddler::APIs::FulfillmentInboundV0::Address
|
.members ⇒ [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_province_code, :address_line2, :district_or_county ]
33 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 33
def self.members: () -> [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_province_code, :address_line2, :district_or_county ]
|
.new(address_line1:, city:, country_code:, name:, postal_code:, state_or_province_code:, address_line2:, district_or_county:) ⇒ Peddler::APIs::FulfillmentInboundV0::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::APIs::FulfillmentInboundV0::Address
28 29 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 28
def self.new: (address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_province_code: String, ?address_line2: String?, ?district_or_county: String?) -> Peddler::APIs::FulfillmentInboundV0::Address
| (String, String, String, String, String, String, String?, String?) -> Peddler::APIs::FulfillmentInboundV0::Address
|
.parse ⇒ Peddler::APIs::FulfillmentInboundV0::Address
35 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 35
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInboundV0::Address
|
Instance Method Details
#members ⇒ [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_province_code, :address_line2, :district_or_county ]
46 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 46
def members: () -> [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_province_code, :address_line2, :district_or_county ]
|
#to_h ⇒ { address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_province_code: String, address_line2: String?, district_or_county: String? }
47 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 47
def to_h: () -> { address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_province_code: String, address_line2: String?, district_or_county: String? }
|