| Business-UPS-Tracking documentation | view source | Contained in the Business-UPS-Tracking distribution. |
Business::UPS::Tracking::Role::Builder - Helper role
This role provides methods that construct various objects (eg. Business::UPS::Tracking::Element::Address).
my $address = $self->build_address($xpath_expression);
Turns an address xml node into a Business::UPS::Tracking::Element::Address object.
my $address = $self->build_code($xpath_expression);
Turns an address xml node into a Business::UPS::Tracking::Element::Address object.
my $weight = $self->build_weight($xpath_expression);
Turns an weight xml node into a Business::UPS::Tracking::Element::Weight object.
my $weight = $self->build_referencenumber($xpath_expression);
Turns an weight xml node into a Business::UPS::Tracking::Element::ReferenceNumber object.
| Business-UPS-Tracking documentation | view source | Contained in the Business-UPS-Tracking distribution. |