Class: Peddler::APIs::SellersV1::Address

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/sellers_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#address_line1String (readonly)

Returns the value of attribute address_line1.

Returns:

  • (String)


34
35
36
# File 'sig/peddler/apis/sellers_v1.rbs', line 34

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


35
36
37
# File 'sig/peddler/apis/sellers_v1.rbs', line 35

def address_line2
  @address_line2
end

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


36
37
38
# File 'sig/peddler/apis/sellers_v1.rbs', line 36

def city
  @city
end

#country_codeString (readonly)

Returns the value of attribute country_code.

Returns:

  • (String)


37
38
39
# File 'sig/peddler/apis/sellers_v1.rbs', line 37

def country_code
  @country_code
end

#postal_codeString? (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String, nil)


38
39
40
# File 'sig/peddler/apis/sellers_v1.rbs', line 38

def postal_code
  @postal_code
end

#state_or_province_codeString? (readonly)

Returns the value of attribute state_or_province_code.

Returns:

  • (String, nil)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::SellersV1::Address

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:

  • ({ 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? }