Net::API::Stripe::Balance::Transaction::FeeDetails - A Stripe Fee Details Objects
my $fee_details = Net::API::Stripe::Balance::Transaction::FeeDetails->new({ amount => 2000, currency => 'eur', description => 'Some transaction', type => 'application_fee', });
v0.100.0
This is called from within Net::API::Stripe::Transaction from method fee_details
Creates a new Net::API::Stripe::Balance::Transaction::FeeDetails object. It may also take an hash like arguments, that also are method of the same name.
Amount of the fee, in cents.
Three-letter ISO currency code, in lowercase. Must be a supported currency.
An arbitrary string attached to the object. Often useful for displaying to users.
Type of the fee, one of: application_fee, stripe_fee or tax.
{ "id": "txn_fake124567890", "object": "balance_transaction", "amount": 8000, "available_on": 1571443200, "created": 1571128827, "currency": "jpy", "description": "Invoice 123456-0039", "exchange_rate": null, "fee": 288, "fee_details": [ { "amount": 288, "application": null, "currency": "jpy", "description": "Stripe processing fees", "type": "stripe_fee" } ], "net": 7712, "source": "ch_fake124567890", "status": "pending", "type": "charge" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api
Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.