Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.62 KB

PlanRequest.md

File metadata and controls

37 lines (28 loc) · 1.62 KB

PlanRequest

a plan

Properties

Name Type Description Notes
amount int The amount in cents that will be charged on the interval specified.
currency str ISO 4217 for currencies, for the Mexican peso it is MXN/USD [optional]
expiry_count int Number of repetitions of the frequency NUMBER OF CHARGES TO BE MADE, considering the interval and frequency, this evolves over time, but is subject to the expiration count. [optional]
frequency int Frequency of the charge, which together with the interval, can be every 3 weeks, every 4 months, every 2 years, every 5 fortnights
id str internal reference id [optional]
interval str The interval of time between each charge.
name str The name of the plan.
trial_period_days int The number of days the customer will have a free trial. [optional]

Example

from conekta.models.plan_request import PlanRequest

# TODO update the JSON string below
json = "{}"
# create an instance of PlanRequest from a JSON string
plan_request_instance = PlanRequest.from_json(json)
# print the JSON string representation of the object
print(PlanRequest.to_json())

# convert the object into a dict
plan_request_dict = plan_request_instance.to_dict()
# create an instance of PlanRequest from a dict
plan_request_from_dict = PlanRequest.from_dict(plan_request_dict)

[Back to Model list] [Back to API list] [Back to README]