Sha256: 7770580b93ee25d9bf9fa07f3dacc424483b0fbafc5c50fa1b3d4a28fb260f0a

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

# Conekta::PlanRequest

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **amount** | **Integer** | The amount in cents that will be charged on the interval specified. |  |
| **currency** | **String** | ISO 4217 for currencies, for the Mexican peso it is MXN/USD | [optional] |
| **expiry_count** | **Integer** | 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** | **Integer** | Frequency of the charge, which together with the interval, can be every 3 weeks, every 4 months, every 2 years, every 5 fortnights |  |
| **id** | **String** | internal reference id | [optional] |
| **interval** | **String** | The interval of time between each charge. |  |
| **name** | **String** | The name of the plan. |  |
| **trial_period_days** | **Integer** | The number of days the customer will have a free trial. | [optional] |

## Example

```ruby
require 'conekta'

instance = Conekta::PlanRequest.new(
  amount: 10000,
  currency: MXN,
  expiry_count: 12,
  frequency: 1,
  id: plan_24234,
  interval: null,
  name: Extra Plan3,
  trial_period_days: 0
)
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
conekta-6.0.4 docs/PlanRequest.md
conekta-6.0.3 docs/PlanRequest.md
conekta-6.0.2 docs/PlanRequest.md
conekta-6.0.1 docs/PlanRequest.md
conekta-6.0.0 docs/PlanRequest.md