Plaid::SandboxTransferRefundSimulateRequest
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
Defines the request schema for /sandbox/transfer/refund/simulate
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Your Plaid API client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.
Custom attribute writer method checking allowed values (enum). @param [Object] client_id Object to be assigned
The asynchronous event to be simulated. May be: refund.posted, refund.settled, refund.failed, or refund.returned. An error will be returned if the event type is incompatible with the current refund status. Compatible status --> event type transitions include: refund.pending --> refund.failed refund.pending --> refund.posted refund.posted --> refund.returned refund.posted --> refund.settled refund.posted events can only be simulated if the refunded transfer has been transitioned to settled. This mimics the ordering of events in Production.
Custom attribute writer method checking allowed values (enum). @param [Object] event_type Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] failure_reason Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] refund_id Object to be assigned
Your Plaid API secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.
Custom attribute writer method checking allowed values (enum). @param [Object] secret Object to be assigned
Plaid’s unique identifier for a test clock. If provided, the event to be simulated is created at the virtual_time on the provided test_clock.
Custom attribute writer method checking allowed values (enum). @param [Object] test_clock_id Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid