Class: Afterpay::Components::Courier
- Defined in:
- lib/afterpay/components/courier.rb
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the courier.
-
#priority ⇒ String
The shipping priority.
-
#shipped_at ⇒ String
The time at which the order was shipped (ISO 8601 UTC/Zulu time).
-
#tracking ⇒ String
The tracking number provided by the courier.
Method Summary
Methods included from Initializable
Methods included from Representable
Instance Attribute Details
#name ⇒ String
The name of the courier.
14 15 16 |
# File 'lib/afterpay/components/courier.rb', line 14 def name @name end |
#priority ⇒ String
The shipping priority. If provided, must be either ‘STANDARD’ or ‘EXPRESS’.
24 25 26 |
# File 'lib/afterpay/components/courier.rb', line 24 def priority @priority end |
#shipped_at ⇒ String
The time at which the order was shipped (ISO 8601 UTC/Zulu time).
9 10 11 |
# File 'lib/afterpay/components/courier.rb', line 9 def shipped_at @shipped_at end |
#tracking ⇒ String
The tracking number provided by the courier.
19 20 21 |
# File 'lib/afterpay/components/courier.rb', line 19 def tracking @tracking end |