Class: Peddler::APIs::SellersV1::Address
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::SellersV1::Address
- Defined in:
- sig/peddler/apis/sellers_v1.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.
-
#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, :country_code, :address_line2, :city, :postal_code, :state_or_province_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::SellersV1::Address
Instance Method Summary collapse
-
#members ⇒ [ :address_line1, :country_code, :address_line2, :city, :postal_code, :state_or_province_code ]
-
#to_h ⇒ { address_line1: String, country_code: String, address_line2: String?, city: String?, postal_code: String?, state_or_province_code: String? }
Instance Attribute Details
#address_line1 ⇒ String (readonly)
Returns the value of attribute address_line1.
34 35 36 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 34 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
35 36 37 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 35 def address_line2 @address_line2 end |
#city ⇒ String? (readonly)
Returns the value of attribute city.
36 37 38 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 36 def city @city end |
#country_code ⇒ String (readonly)
Returns the value of attribute country_code.
37 38 39 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 37 def country_code @country_code end |
#postal_code ⇒ String? (readonly)
Returns the value of attribute postal_code.
38 39 40 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 38 def postal_code @postal_code end |
#state_or_province_code ⇒ String? (readonly)
Returns the value of attribute state_or_province_code.
39 40 41 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 39 def state_or_province_code @state_or_province_code end |
Class Method Details
.[](address_line1:, country_code:, address_line2:, city:, postal_code:, state_or_province_code:) ⇒ Peddler::APIs::SellersV1::Address .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::SellersV1::Address
27 28 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 27
def self.[]: (address_line1: String, country_code: String, ?address_line2: String?, ?city: String?, ?postal_code: String?, ?state_or_province_code: String?) -> Peddler::APIs::SellersV1::Address
| (String, String, String?, String?, String?, String?) -> Peddler::APIs::SellersV1::Address
|
.members ⇒ [ :address_line1, :country_code, :address_line2, :city, :postal_code, :state_or_province_code ]
30 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 30
def self.members: () -> [ :address_line1, :country_code, :address_line2, :city, :postal_code, :state_or_province_code ]
|
.new(address_line1:, country_code:, address_line2:, city:, postal_code:, state_or_province_code:) ⇒ Peddler::APIs::SellersV1::Address .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::SellersV1::Address
25 26 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 25
def self.new: (address_line1: String, country_code: String, ?address_line2: String?, ?city: String?, ?postal_code: String?, ?state_or_province_code: String?) -> Peddler::APIs::SellersV1::Address
| (String, String, String?, String?, String?, String?) -> Peddler::APIs::SellersV1::Address
|
.parse ⇒ Peddler::APIs::SellersV1::Address
32 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 32
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SellersV1::Address
|
Instance Method Details
#members ⇒ [ :address_line1, :country_code, :address_line2, :city, :postal_code, :state_or_province_code ]
41 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 41
def members: () -> [ :address_line1, :country_code, :address_line2, :city, :postal_code, :state_or_province_code ]
|
#to_h ⇒ { address_line1: String, country_code: String, address_line2: String?, city: String?, postal_code: String?, state_or_province_code: String? }
42 |
# File 'sig/peddler/apis/sellers_v1.rbs', line 42
def to_h: () -> { address_line1: String, country_code: String, address_line2: String?, city: String?, postal_code: String?, state_or_province_code: String? }
|