Class: DeliveryFivePostClient::Models::API::V2::PickupPoint::Rate

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/delivery_five_post_client/models/api/v2/pickup_point.rb

Overview

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(rate_value:, rate_value_with_vat:, vat:, rate_extra_value: nil, rate_extra_value_with_vat: nil) ⇒ Object

Тарифная информация / Rate information

Parameters:

  • rate_value (Float) —

    Стоимость без НДС / Price without VAT

  • rate_value_with_vat (Float) —

    Стоимость с НДС / Price with VAT

  • vat (Float, DeliveryFivePostClient::Models::API::V1::Partners::Orders::VatRate) —

    Ставка НДС (%) / VAT rate (%)

  • rate_extra_value (Float) (defaults to: nil) —

    Дополнительная стоимость без НДС / Additional price without VAT

  • rate_extra_value_with_vat (Float) (defaults to: nil) —

    Дополнительная стоимость с НДС / Additional price with VAT



# File 'lib/delivery_five_post_client/models/api/v2/pickup_point.rb', line 251

Instance Attribute Details

#rate_extra_value ⇒ Float?

Дополнительная стоимость без НДС / Additional price without VAT

Returns:

  • (Float, nil)


243
# File 'lib/delivery_five_post_client/models/api/v2/pickup_point.rb', line 243

optional :rate_extra_value, Float, api_name: :rateExtraValue

#rate_extra_value_with_vat ⇒ Float?

Дополнительная стоимость с НДС / Additional price with VAT

Returns:

  • (Float, nil)


249
# File 'lib/delivery_five_post_client/models/api/v2/pickup_point.rb', line 249

optional :rate_extra_value_with_vat, Float, api_name: :rateExtraValueWithVat

#rate_value ⇒ Float

Стоимость без НДС / Price without VAT

Returns:

  • (Float)


225
# File 'lib/delivery_five_post_client/models/api/v2/pickup_point.rb', line 225

required :rate_value, Float, api_name: :rateValue

#rate_value_with_vat ⇒ Float

Стоимость с НДС / Price with VAT

Returns:

  • (Float)


231
# File 'lib/delivery_five_post_client/models/api/v2/pickup_point.rb', line 231

required :rate_value_with_vat, Float, api_name: :rateValueWithVat

#vat ⇒ Float, DeliveryFivePostClient::Models::API::V1::Partners::Orders::VatRate

Ставка НДС (%) / VAT rate (%)



237
# File 'lib/delivery_five_post_client/models/api/v2/pickup_point.rb', line 237

required :vat, enum: -> { DeliveryFivePostClient::API::V1::Partners::Orders::VatRate }