Class: Peddler::APIs::FulfillmentInboundV0::Address

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/fulfillment_inbound_v0.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)


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

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


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

def address_line2
  @address_line2
end

#cityString (readonly)

Returns the value of attribute city.

Returns:

  • (String)


39
40
41
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 39

def city
  @city
end

#country_codeString (readonly)

Returns the value of attribute country_code.

Returns:

  • (String)


40
41
42
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 40

def country_code
  @country_code
end

#district_or_countyString? (readonly)

Returns the value of attribute district_or_county.

Returns:

  • (String, nil)


41
42
43
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 41

def district_or_county
  @district_or_county
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


42
43
44
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 42

def name
  @name
end

#postal_codeString (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String)


43
44
45
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 43

def postal_code
  @postal_code
end

#state_or_province_codeString (readonly)

Returns the value of attribute state_or_province_code.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

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

Overloads:



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

.parsePeddler::APIs::FulfillmentInboundV0::Address

Parameters:

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

Returns:



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 ]

Returns:

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

Returns:

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