Class: CheckoutSdk::Accounts::EntityRequirementUpdateRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/accounts/entity_requirement_update_request.rb

Overview

Request body for PUT /accounts/entities/id/requirements/requirementId.

The expected shape of ‘value` is defined by the JSON Schema returned in the requirement details response. Common shapes include a file reference (e.g. { “file_id”: “file_…” }), a primitive value, or a structured object.

Instance Attribute Summary collapse

Instance Attribute Details

#valueObject

The response to the requirement. Polymorphic per swagger (‘oneOf [object, array, string, number, boolean]`), so the only valid Ruby annotation is `Object`. The concrete shape is dictated at runtime by the requirement’s ‘_schema` returned from `GET /accounts/entities/id/requirements/requirementId`.

Returns:

  • (Object)


18
19
20
# File 'lib/checkout_sdk/accounts/entity_requirement_update_request.rb', line 18

class EntityRequirementUpdateRequest
  attr_accessor :value
end