The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::API::Stripe::Shipping - A Stripe Shipping Object

SYNOPSIS

VERSION

    0.1

DESCRIPTION

Where and how things will be shipped.

This is inherited by: Net::API::Stripe::Charge::Shipping, Net::API::Stripe::Customer::Shipping, Net::API::Stripe::Issuing::Card::Shipping, Net::API::Stripe::Order::Shipping, Net::API::Stripe::, Net::API::Stripe::

CONSTRUCTOR

new( %ARG )

Creates a new Net::API::Stripe objects. It may also take an hash like arguments, that also are method of the same name.

verbose

Toggles verbose mode on/off

debug

Toggles debug mode on/off

METHODS

address hash

Shipping address.

This is a Net::API::Stripe::Address object, if any.

carrier string

The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.

eta timestamp

A unix timestamp representing a best estimate of when the card will be delivered.

name string

Recipient name.

phone string

Recipient phone (including extension).

service string

Shipment service, such as standard or express. Possible enum values

standard

Cards arrive in 2-6 business days.

express

Cards arrive in 2 business days.

priority

Cards arrive in 1 business day.

status string

The delivery status of the card. One of pending, shipped, delivered, returned, failure, or canceled.

tracking_number string

A tracking number for a card shipment. This is a URI object.

tracking_url string

A link to the shipping carrier’s site where you can view detailed information about a card shipment.

type string

One of bulk or individual. Bulk shipments will be grouped and mailed together, while individual ones will not.

API SAMPLE

        {
          "id": "ic_1FVxofCeyNCl6fY2XvoWK90A",
          "object": "issuing.card",
          "authorization_controls": {
                "allowed_categories": null,
                "blocked_categories": null,
                "currency": "usd",
                "max_amount": 10000,
                "max_approvals": 1,
                "spending_limits": [],
                "spending_limits_currency": null
          },
          "brand": "Visa",
          "cardholder": {
                "id": "ich_1DNcRHCeyNCl6fY2Epuwa9n9",
                "object": "issuing.cardholder",
                "authorization_controls": {
                  "allowed_categories": [],
                  "blocked_categories": [],
                  "spending_limits": [],
                  "spending_limits_currency": null
                },
                "billing": {
                  "address": {
                        "city": "Beverly Hills",
                        "country": "US",
                        "line1": "123 Fake St",
                        "line2": "Apt 3",
                        "postal_code": "90210",
                        "state": "CA"
                  },
                  "name": "Jenny Rosen"
                },
                "company": null,
                "created": 1540111055,
                "email": "jenny@example.com",
                "individual": null,
                "is_default": false,
                "livemode": false,
                "metadata": {},
                "name": "Jenny Rosen",
                "phone_number": "+18008675309",
                "requirements": {
                  "disabled_reason": null,
                  "past_due": []
                },
                "status": "active",
                "type": "individual"
          },
          "created": 1571652525,
          "currency": "usd",
          "exp_month": 8,
          "exp_year": 2020,
          "last4": "4242",
          "livemode": false,
          "metadata": {},
          "name": "Jenny Rosen",
          "pin": null,
          "replacement_for": null,
          "replacement_reason": null,
          "shipping": null,
          "status": "active",
          "type": "physical"
        }

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/issuing/cards/object

COPYRIGHT & LICENSE

Copyright (c) 2018-2019 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 84:

You forgot a '=back' before '=head1'