@@ -63,6 +63,8 @@ class PaymentFlowResponse
6363
6464 attr_accessor :canceled_at
6565
66+ attr_accessor :expired_at
67+
6668 # メタデータ
6769 attr_accessor :metadata
6870
@@ -117,6 +119,7 @@ def self.attribute_map
117119 :last_payment_error => :last_payment_error ,
118120 :cancellation_reason => :cancellation_reason ,
119121 :canceled_at => :canceled_at ,
122+ :expired_at => :expired_at ,
120123 :metadata => :metadata ,
121124 :created_at => :created_at ,
122125 :updated_at => :updated_at
@@ -156,6 +159,7 @@ def self.openapi_types
156159 :last_payment_error => :'Hash<String, Object>' ,
157160 :cancellation_reason => :'PaymentFlowCancellationReason' ,
158161 :canceled_at => :'Time' ,
162+ :expired_at => :'Time' ,
159163 :metadata => :'Hash<String, MetadataValue>' ,
160164 :created_at => :'Time' ,
161165 :updated_at => :'Time'
@@ -176,6 +180,7 @@ def self.openapi_nullable
176180 :last_payment_error ,
177181 :cancellation_reason ,
178182 :canceled_at ,
183+ :expired_at ,
179184 ] )
180185 end
181186
@@ -323,6 +328,10 @@ def initialize(attributes = {})
323328 self . canceled_at = nil
324329 end
325330
331+ if attributes . key? ( :expired_at )
332+ self . expired_at = attributes [ :expired_at ]
333+ end
334+
326335 if attributes . key? ( :metadata )
327336 if ( value = attributes [ :metadata ] ) . is_a? ( Hash )
328337 self . metadata = value
@@ -489,6 +498,7 @@ def ==(o)
489498 last_payment_error == o . last_payment_error &&
490499 cancellation_reason == o . cancellation_reason &&
491500 canceled_at == o . canceled_at &&
501+ expired_at == o . expired_at &&
492502 metadata == o . metadata &&
493503 created_at == o . created_at &&
494504 updated_at == o . updated_at
@@ -503,7 +513,7 @@ def eql?(o)
503513 # Calculates hash code according to all attributes.
504514 # @return [Integer] Hash code
505515 def hash
506- [ object , id , livemode , amount , currency , amount_capturable , amount_received , client_secret , customer_id , description , payment_method_id , payment_method_options , payment_method_types , status , next_action , return_url , capture_method , last_payment_error , cancellation_reason , canceled_at , metadata , created_at , updated_at ] . hash
516+ [ object , id , livemode , amount , currency , amount_capturable , amount_received , client_secret , customer_id , description , payment_method_id , payment_method_options , payment_method_types , status , next_action , return_url , capture_method , last_payment_error , cancellation_reason , canceled_at , expired_at , metadata , created_at , updated_at ] . hash
507517 end
508518
509519 # Builds the object from hash
0 commit comments