| 1 | #!/usr/bin/perl | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use WWW::Shopify; | ||
| 7 | |||
| 8 | package WWW::Shopify::Model::Order::ShippingAddress; | ||
| 9 | use parent 'WWW::Shopify::Model::Address'; | ||
| 10 | |||
| 11 | sub identifier { qw() } | ||
| 12 | use Clone qw(clone); | ||
| 13 | |||
| 14 | my $fields = undef; | ||
| 15 | sub fields { | ||
| 16 | my $self = shift; | ||
| 17 | return $fields if $fields; | ||
| 18 | $fields = clone($self->SUPER::fields); | ||
| 19 | # We don't have these for some reason. | ||
| 20 | delete $fields->{id}; | ||
| 21 | delete $fields->{default}; | ||
| 22 | return $fields; | ||
| 23 | } | ||
| 24 | sub parent { return 'WWW::Shopify::Model::Order'; } | ||
| 25 | sub creation_filled { qw(); } | ||
| 26 | |||
| 27 | |||
| 28 | 1; |