Sha256: fbb6d4f6f24255102ba1b2fb1c3f515b8ce2e9c1268b2509aea466f6623ecc34

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

# Conekta::CheckoutRequest

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **allowed_payment_methods** | **Array<String>** | Are the payment methods available for this link |  |
| **expires_at** | **Integer** | Unix timestamp of checkout expiration | [optional] |
| **failure_url** | **String** | Redirection url back to the site in case of failed payment, applies only to HostedPayment. | [optional] |
| **monthly_installments_enabled** | **Boolean** |  | [optional] |
| **monthly_installments_options** | **Array<Integer>** |  | [optional] |
| **name** | **String** | Reason for payment | [optional] |
| **on_demand_enabled** | **Boolean** |  | [optional] |
| **redirection_time** | **Integer** | number of seconds to wait before redirecting to the success_url | [optional] |
| **success_url** | **String** | Redirection url back to the site in case of successful payment, applies only to HostedPayment | [optional] |
| **type** | **String** | This field represents the type of checkout | [optional] |

## Example

```ruby
require 'conekta'

instance = Conekta::CheckoutRequest.new(
  allowed_payment_methods: ["cash","card","bank_transfer"],
  expires_at: null,
  failure_url: null,
  monthly_installments_enabled: false,
  monthly_installments_options: [3,6,12],
  name: null,
  on_demand_enabled: true,
  redirection_time: 10,
  success_url: null,
  type: Integration
)
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conekta-6.0.4 docs/CheckoutRequest.md
conekta-6.0.3 docs/CheckoutRequest.md