ISO currency code, in lowercase. Must be a supported currency. An unset currency indicates that the plan applies to all currencies. * @property null|int $disabled_at Time at which the ReservePlan was disabled. * @property null|(object{release_after: int, scheduled_release: int}&\Stripe\StripeObject) $fixed_release * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property int $percent The percent of each Charge to reserve. * @property null|(object{days_after_charge: int, expires_on: null|int}&\Stripe\StripeObject) $rolling_release * @property string $status The current status of the ReservePlan. The ReservePlan only affects charges if it is active. * @property string $type The type of the ReservePlan. */ class Plan extends \Stripe\ApiResource { const OBJECT_NAME = 'reserve.plan'; const CREATED_BY_APPLICATION = 'application'; const CREATED_BY_STRIPE = 'stripe'; const STATUS_ACTIVE = 'active'; const STATUS_DISABLED = 'disabled'; const STATUS_EXPIRED = 'expired'; const TYPE_FIXED_RELEASE = 'fixed_release'; const TYPE_ROLLING_RELEASE = 'rolling_release'; }