Net::API::Stripe::Order::StatusTransitions - A Stripe Order Status Transitions Object
my $st = $order->status_transitions({ canceled => undef, fulfiled => '2020-04-12', paid => '2020-04-30', returned => undef, });
v0.100.0
The timestamps at which the order status was updated.
This is instantiated by method status_transitions in module Net::API::Stripe::Order
Creates a new Net::API::Stripe::Order::StatusTransitions object. It may also take an hash like arguments, that also are method of the same name.
When set, this returns a DateTime object.
DateTime
{ "id": "or_fake123456789", "object": "order", "amount": 1500, "amount_returned": null, "application": null, "application_fee": null, "charge": null, "created": 1571480453, "currency": "jpy", "customer": null, "email": null, "items": [ { "object": "order_item", "amount": 1500, "currency": "jpy", "description": "T-shirt", "parent": "sk_fake123456789", "quantity": null, "type": "sku" } ], "livemode": false, "metadata": {}, "returns": { "object": "list", "data": [], "has_more": false, "url": "/v1/order_returns?order=or_fake123456789" }, "selected_shipping_method": null, "shipping": { "address": { "city": "Anytown", "country": "US", "line1": "1234 Main street", "line2": null, "postal_code": "123456", "state": null }, "carrier": null, "name": "Jenny Rosen", "phone": null, "tracking_number": null }, "shipping_methods": null, "status": "created", "status_transitions": { "canceled": null, "fulfiled": null, "paid": null, "returned": null }, "updated": 1571480453 }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/orders/object
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.