docs/CreateCustomerPaymentMethodsRequest.md in conekta-6.0.3 vs docs/CreateCustomerPaymentMethodsRequest.md in conekta-6.0.4

- old
+ new

@@ -12,13 +12,13 @@ require 'conekta' Conekta::CreateCustomerPaymentMethodsRequest.openapi_one_of # => # [ -# :'PaymentMethodCardRequest', # :'PaymentMethodCashRequest', -# :'PaymentMethodSpeiRequest' +# :'PaymentMethodSpeiRequest', +# :'PaymentMethodTokenRequest' # ] ``` ### build @@ -28,11 +28,11 @@ ```ruby require 'conekta' Conekta::CreateCustomerPaymentMethodsRequest.build(data) -# => #<PaymentMethodCardRequest:0x00007fdd4aab02a0> +# => #<PaymentMethodCashRequest:0x00007fdd4aab02a0> Conekta::CreateCustomerPaymentMethodsRequest.build(data_that_doesnt_match) # => nil ``` @@ -42,10 +42,10 @@ | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type -- `PaymentMethodCardRequest` - `PaymentMethodCashRequest` - `PaymentMethodSpeiRequest` +- `PaymentMethodTokenRequest` - `nil` (if no type matches)