NAME
WWW::PayPal::Plan - PayPal Billing Plan entity
VERSION
version 0.002
SYNOPSIS
print $plan->id;
print $plan->name;
print $plan->status; # CREATED / ACTIVE / INACTIVE
$plan->deactivate;
$plan->activate;
DESCRIPTION
Wrapper around a PayPal Billing Plan JSON object.
data
Raw decoded JSON for the plan.
id
Plan ID (e.g. P-XXX...). Pass this to "create" in WWW::PayPal::API::Subscriptions.
product_id
name
description
status
CREATED, ACTIVE or INACTIVE.
billing_cycles
ArrayRef of billing cycle definitions (frequency + pricing).
create_time
update_time
activate
deactivate
$plan->activate;
$plan->deactivate;
Toggles the plan's status and re-fetches.
refresh
$plan->refresh;
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-paypal/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.