| 1 | package Net::Async::Webservice::UPS::Response::ShipmentBase; | ||
| 2 | 5 | $Net::Async::Webservice::UPS::Response::ShipmentBase::VERSION = '1.1.4'; | |
| 3 | { | ||
| 4 | 5 | $Net::Async::Webservice::UPS::Response::ShipmentBase::DIST = 'Net-Async-Webservice-UPS'; | |
| 5 | } | ||
| 6 | 5 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 5 | ▶ | use Types::Standard qw(Str); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 5 | ▶ | use Net::Async::Webservice::UPS::Types qw(:types); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 5 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 5 | extends 'Net::Async::Webservice::UPS::Response'; | |
| 12 | |||
| 13 | # ABSTRACT: base class for UPS shipment responses | ||
| 14 | |||
| 15 | |||
| 16 | 5 | has unit => ( | |
| 17 | is => 'ro', | ||
| 18 | isa => WeightMeasurementUnit, | ||
| 19 | required => 1, | ||
| 20 | ); | ||
| 21 | |||
| 22 | |||
| 23 | 5 | has billing_weight => ( | |
| 24 | is => 'ro', | ||
| 25 | isa => Measure, | ||
| 26 | required => 1, | ||
| 27 | ); | ||
| 28 | |||
| 29 | |||
| 30 | 5 | has currency => ( | |
| 31 | is => 'ro', | ||
| 32 | isa => Str, | ||
| 33 | required => 1, | ||
| 34 | ); | ||
| 35 | |||
| 36 | |||
| 37 | 5 | has service_option_charges => ( | |
| 38 | is => 'ro', | ||
| 39 | isa => Measure, | ||
| 40 | required => 1, | ||
| 41 | ); | ||
| 42 | |||
| 43 | |||
| 44 | 5 | has transportation_charges => ( | |
| 45 | is => 'ro', | ||
| 46 | isa => Measure, | ||
| 47 | required => 1, | ||
| 48 | ); | ||
| 49 | |||
| 50 | |||
| 51 | 5 | has total_charges => ( | |
| 52 | is => 'ro', | ||
| 53 | isa => Measure, | ||
| 54 | required => 1, | ||
| 55 | ); | ||
| 56 | |||
| 57 | |||
| 58 | 5 | has shipment_identification_number => ( | |
| 59 | is => 'ro', | ||
| 60 | isa => Str, | ||
| 61 | required => 1, | ||
| 62 | ); | ||
| 63 | |||
| 64 | 5 | 1; | |
| 65 | |||
| 66 | __END__ | ||