| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/Payment/Installment.pm | ||
| 3 | ## Version v0.100.0 | ||
| 4 | ## Copyright(c) 2019 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <@sitael.tokyo.deguest.jp> | ||
| 6 | ## Created 2019/11/02 | ||
| 7 | ## Modified 2020/05/15 | ||
| 8 | ## | ||
| 9 | ##---------------------------------------------------------------------------- | ||
| 10 | package Net::API::Stripe::Payment::Installment; | ||
| 11 | BEGIN | ||
| 12 | { | ||
| 13 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 1 | ▶ | use parent qw( Net::API::Stripe::Generic ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 1 | ▶ | our( $VERSION ) = 'v0.100.0'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | }; | ||
| 17 | |||
| 18 | 0 | ▶ | sub plan { return( shift->_set_get_object( 'plan', 'Net::API::Stripe::Billing::Plan;', @_ ) ); } |
|
Subroutine
plan: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 19 | |||
| 20 | 1 | 1; | |
| 21 | |||
| 22 | __END__ | ||
| 23 | |||
| 24 | =encoding utf8 | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Net::API::Stripe::Payment::Installment - A Stripe Instalment Payment Object | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $inst = $stripe->card->installments({ | ||
| 33 | plan => $plan_object, | ||
| 34 | }); | ||
| 35 | |||
| 36 | =head1 VERSION | ||
| 37 | |||
| 38 | v0.100.0 | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | Installment details for this payment (Mexico only). | ||
| 43 | |||
| 44 | For more information, see the installments integration guide (L<https://stripe.com/docs/payments/installments>). | ||
| 45 | |||
| 46 | This is instantiated by method B<installments> in module L<Net::API::Stripe::Connect::ExternalAccount::Card> | ||
| 47 | |||
| 48 | =head1 CONSTRUCTOR | ||
| 49 | |||
| 50 | =over 4 | ||
| 51 | |||
| 52 | =item B<new>( %ARG ) | ||
| 53 | |||
| 54 | Creates a new L<Net::API::Stripe::Payment::Installment> object. | ||
| 55 | It may also take an hash like arguments, that also are method of the same name. | ||
| 56 | |||
| 57 | =back | ||
| 58 | |||
| 59 | =head1 METHODS | ||
| 60 | |||
| 61 | =over 4 | ||
| 62 | |||
| 63 | =item B<plan> hash | ||
| 64 | |||
| 65 | This is a C<Net::API::Stripe::Billing::Plan;> object who only 3 following properties are used: | ||
| 66 | |||
| 67 | =over 8 | ||
| 68 | |||
| 69 | =item B<count> integer | ||
| 70 | |||
| 71 | For fixed_count installment plans, this is the number of installment payments your customer will make to their credit card. | ||
| 72 | |||
| 73 | =item B<interval> string | ||
| 74 | |||
| 75 | For fixed_count installment plans, this is the interval between installment payments your customer will make to their credit card. | ||
| 76 | |||
| 77 | =item B<type> string | ||
| 78 | |||
| 79 | Type of installment plan, one of fixed_count. | ||
| 80 | |||
| 81 | =back | ||
| 82 | |||
| 83 | =back | ||
| 84 | |||
| 85 | =head1 HISTORY | ||
| 86 | |||
| 87 | =head2 v0.1 | ||
| 88 | |||
| 89 | Initial version | ||
| 90 | |||
| 91 | =head1 AUTHOR | ||
| 92 | |||
| 93 | Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> | ||
| 94 | |||
| 95 | =head1 SEE ALSO | ||
| 96 | |||
| 97 | Stripe API documentation: | ||
| 98 | |||
| 99 | L<https://stripe.com/docs/payments/installments> | ||
| 100 | |||
| 101 | =head1 COPYRIGHT & LICENSE | ||
| 102 | |||
| 103 | Copyright (c) 2019-2020 DEGUEST Pte. Ltd. | ||
| 104 | |||
| 105 | You can use, copy, modify and redistribute this package and associated | ||
| 106 | files under the same terms as Perl itself. | ||
| 107 | |||
| 108 | =cut | ||