NAME

Net::API::Stripe::Payment::GeneratedFrom - A Stripe Payment Method Origin Object

SYNOPSIS

my $form = $stripe->card->generated_from({
    ## Net::API::Stripe::Charge
    charge => 'ch_fake1234567890',
    ## Net::API::Stripe::Payment::Method::Details
    payment_method_details => $payment_method_details_object,
    ## Net::API::Stripe::SetupAttempt
    setup_attempt => $setup_attempt_object,
});

VERSION

v0.101.0

DESCRIPTION

Details of the original PaymentMethod that created this object.

This is used in Net::API::Stripe::Connect::ExternalAccount::Card itself used in Net::API::Stripe::Payment::Method

CONSTRUCTOR

new( %ARG )

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

METHODS

charge string expandable

The charge that created this object.

This is a Net::API::Stripe::Charge object.

payment_method_details hash

Transaction-specific details of the payment method used in the payment.

This is a Net::API::Stripe::Payment::Method::Details object.

setup_attempt string expandable

The ID of the SetupAttempt that generated this PaymentMethod, if any.

This is a Net::API::Stripe::SetupAttempt object.

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api

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.