Class: Increase::Models::PhysicalCard::Shipment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/physical_card.rb

Defined Under Namespace

Classes: Address, Tracking

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#addressIncrease::Models::PhysicalCard::Shipment::Address

The location to where the card's packing label is addressed.



67
# File 'lib/increase/models/physical_card.rb', line 67

required :address, -> { Increase::Models::PhysicalCard::Shipment::Address }

#method_Symbol

The shipping method.

Returns:

  • (Symbol)


72
# File 'lib/increase/models/physical_card.rb', line 72

required :method_, Increase::Enum.new(:usps, :fedex_priority_overnight, :fedex_2_day)

#statusSymbol

The status of this shipment.

Returns:

  • (Symbol)


77
78
# File 'lib/increase/models/physical_card.rb', line 77

required :status,
Increase::Enum.new(:pending, :canceled, :submitted, :acknowledged, :rejected, :shipped, :returned)

#trackingIncrease::Models::PhysicalCard::Shipment::Tracking

Tracking details for the shipment.



83
# File 'lib/increase/models/physical_card.rb', line 83

required :tracking, -> { Increase::Models::PhysicalCard::Shipment::Tracking }