Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::AdvancedOptions::CollectOnDelivery
- Inherits:
-
Object
- Object
- ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::AdvancedOptions::CollectOnDelivery
- Defined in:
- lib/shipengine/domain/rates/get_with_shipment_details.rb
Instance Attribute Summary collapse
-
#payment_amount ⇒ Object
readonly
Returns the value of attribute payment_amount.
-
#payment_type ⇒ Object
readonly
Returns the value of attribute payment_type.
Instance Method Summary collapse
-
#initialize(payment_type:, payment_amount:) ⇒ CollectOnDelivery
constructor
A new instance of CollectOnDelivery.
Constructor Details
#initialize(payment_type:, payment_amount:) ⇒ CollectOnDelivery
Returns a new instance of CollectOnDelivery.
217 218 219 220 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 217 def initialize(payment_type:, payment_amount:) @payment_type = payment_type @payment_amount = payment_amount end |
Instance Attribute Details
#payment_amount ⇒ Object (readonly)
Returns the value of attribute payment_amount.
215 216 217 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 215 def payment_amount @payment_amount end |
#payment_type ⇒ Object (readonly)
Returns the value of attribute payment_type.
215 216 217 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 215 def payment_type @payment_type end |