Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::TaxIdentifier

Inherits:
Object
  • Object
show all
Defined in:
lib/shipengine/domain/rates/get_with_shipment_details.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taxable_entity_type:, identifier_type:, issuing_authority:, value:) ⇒ TaxIdentifier

Returns a new instance of TaxIdentifier.



84
85
86
87
88
89
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 84

def initialize(taxable_entity_type:, identifier_type:, issuing_authority:, value:)
  @taxable_entity_type = taxable_entity_type
  @identifier_type = identifier_type
  @issuing_authority = issuing_authority
  @value = value
end

Instance Attribute Details

#identifier_typeObject (readonly)

Returns the value of attribute identifier_type.



82
83
84
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 82

def identifier_type
  @identifier_type
end

#issuing_authorityObject (readonly)

Returns the value of attribute issuing_authority.



82
83
84
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 82

def issuing_authority
  @issuing_authority
end

#taxable_entity_typeObject (readonly)

Returns the value of attribute taxable_entity_type.



82
83
84
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 82

def taxable_entity_type
  @taxable_entity_type
end

#valueObject (readonly)

Returns the value of attribute value.



82
83
84
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 82

def value
  @value
end