class

Plaid::PaymentStatusUpdateWebhook

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Fired when the status of a payment has changed.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, webhook_type : String | Nil = nil, webhook_code : String | Nil = nil, payment_id : String | Nil = nil, new_payment_status : Plaid::PaymentInitiationPaymentStatus | Nil = nil, old_payment_status : Plaid::PaymentInitiationPaymentStatus | Nil = nil, original_reference : String | Nil = nil, original_start_date : Time | Nil = nil, adjusted_start_date : Time | Nil = nil, timestamp : Time | Nil = nil, environment : Plaid::WebhookEnvironmentValues | Nil = nil, transaction_id : String | Nil = nil, adjusted_reference : String | Nil = nil, error : PlaidError | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

adjusted_reference

The value of the reference sent to the bank after adjustment to pass bank validation rules.

Source
adjusted_reference=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] adjusted_reference Object to be assigned

Source
adjusted_reference_present=(adjusted_reference_present : Bool)
Source
adjusted_reference_present?
Source
adjusted_start_date

The start date sent to the bank after adjusting for holidays or weekends. Will be provided in ISO 8601 format (YYYY-MM-DD). If the start date did not require adjustment, or if the payment is not a standing order, this field will be null.

Source
adjusted_start_date=(new_value : Time | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] adjusted_start_date Object to be assigned

Source
environment
Source
environment=(new_value : Plaid::WebhookEnvironmentValues | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] environment Object to be assigned

Source
error
Source
error=(new_value : PlaidError | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] error Object to be assigned

Source
error_present=(error_present : Bool)
Source
error_present?
Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
new_payment_status
Source
new_payment_status=(new_value : Plaid::PaymentInitiationPaymentStatus | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] new_payment_status Object to be assigned

Source
old_payment_status
Source
old_payment_status=(new_value : Plaid::PaymentInitiationPaymentStatus | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] old_payment_status Object to be assigned

Source
original_reference

The original value of the reference when creating the payment.

Source
original_reference=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] original_reference Object to be assigned

Source
original_start_date

The original value of the start_date provided during the creation of a standing order. If the payment is not a standing order, this field will be null.

Source
original_start_date=(new_value : Time | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] original_start_date Object to be assigned

Source
payment_id

The payment_id for the payment being updated

Source
payment_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] payment_id Object to be assigned

Source
timestamp

The timestamp of the update, in ISO 8601 format, e.g. \"2017-09-14T14:42:19.350Z\"

Source
timestamp=(new_value : Time | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] timestamp Object to be assigned

Source
transaction_id

The transaction ID that this payment is associated with, if any. This is present only when a payment was initiated using virtual accounts.

Source
transaction_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] transaction_id Object to be assigned

Source
transaction_id_present=(transaction_id_present : Bool)
Source
transaction_id_present?
Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
webhook_code

PAYMENT_STATUS_UPDATE

Source
webhook_code=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] webhook_code Object to be assigned

Source
webhook_type

PAYMENT_INITIATION

Source
webhook_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] webhook_type Object to be assigned

Source