| 1 | use strict; | ||
| 2 | use warnings; | ||
| 3 | |||
| 4 | use WWW::Shopify; | ||
| 5 | |||
| 6 | package WWW::Shopify::Model::ShopifyPayment::Payout::Summary; | ||
| 7 | use parent "WWW::Shopify::Model::NestedItem"; | ||
| 8 | |||
| 9 | my $fields; sub fields { return $fields; } | ||
| 10 | BEGIN { $fields = { | ||
| 11 | "adjustments_fee_amount" => new WWW::Shopify::Field::Money(), | ||
| 12 | "adjustments_gross_amount" => new WWW::Shopify::Field::Money(), | ||
| 13 | "charges_fee_amount" => new WWW::Shopify::Field::Money(), | ||
| 14 | "charges_gross_amount" => new WWW::Shopify::Field::Money(), | ||
| 15 | "refunds_fee_amount" => new WWW::Shopify::Field::Money(), | ||
| 16 | "refunds_gross_amount" => new WWW::Shopify::Field::Money(), | ||
| 17 | "reserved_funds_fee_amount" => new WWW::Shopify::Field::Money(), | ||
| 18 | "reserved_funds_gross_amount" => new WWW::Shopify::Field::Money(), | ||
| 19 | "retried_payouts_fee_amount" => new WWW::Shopify::Field::Money(), | ||
| 20 | "retried_payouts_gross_amount" => new WWW::Shopify::Field::Money() | ||
| 21 | }; } | ||
| 22 | |||
| 23 | sub plural { return 'summaries'; } | ||
| 24 | sub creatable { undef; } | ||
| 25 | sub updatable { undef; } | ||
| 26 | sub read_scope { "read_shopify_payments_payouts"; } | ||
| 27 | sub write_scope { undef; } | ||
| 28 | |||
| 29 | eval(__PACKAGE__->generate_accessors); die $@ if $@; | ||
| 30 | |||
| 31 | 1 |