NAME
Net::API::Stripe::Balance::Transaction::FeeDetails - A Stripe Fee Details Objects
SYNOPSIS
my $fee_details = Net::API::Stripe::Balance::Transaction::FeeDetails->new({
amount => 2000,
currency => 'eur',
description => 'Some transaction',
type => 'application_fee',
});
VERSION
v0.100.0
DESCRIPTION
This is called from within Net::API::Stripe::Transaction from method fee_details
CONSTRUCTOR
- new( %ARG )
-
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.
METHODS
- amount integer
-
Amount of the fee, in cents.
- application string
- currency currency
-
Three-letter ISO currency code, in lowercase. Must be a supported currency.
- description string
-
An arbitrary string attached to the object. Often useful for displaying to users.
- type string
-
Type of the fee, one of: application_fee, stripe_fee or tax.
API SAMPLE
{
"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"
}
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
COPYRIGHT & LICENSE
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.