diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index cbff4ad6..fd5091ff 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1724 \ No newline at end of file +v1725 \ No newline at end of file diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index b4392b29..86960da8 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -74250,7 +74250,7 @@ module Stripe sig { returns(Integer) } attr_accessor :initiated_at # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata # The outcome of the reported payment. sig { returns(T.nilable(String)) } @@ -74266,7 +74266,7 @@ module Stripe } attr_accessor :shipping_details sig { - params(description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T::Hash[String, String]), outcome: T.nilable(String), payment_method_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::PaymentMethodDetails), shipping_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::ShippingDetails)).void + params(description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), outcome: T.nilable(String), payment_method_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::PaymentMethodDetails), shipping_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::ShippingDetails)).void } def initialize( description: nil, @@ -74288,10 +74288,10 @@ module Stripe sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(canceled_at: Integer, expand: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String])).void + params(canceled_at: Integer, expand: T.nilable(T::Array[String]), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(canceled_at: nil, expand: nil, metadata: nil); end end @@ -74303,10 +74303,10 @@ module Stripe sig { returns(Integer) } attr_accessor :failed_at # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(expand: T.nilable(T::Array[String]), failed_at: Integer, metadata: T.nilable(T::Hash[String, String])).void + params(expand: T.nilable(T::Array[String]), failed_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(expand: nil, failed_at: nil, metadata: nil); end end @@ -74318,10 +74318,10 @@ module Stripe sig { returns(Integer) } attr_accessor :guaranteed_at # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(expand: T.nilable(T::Array[String]), guaranteed_at: Integer, metadata: T.nilable(T::Hash[String, String])).void + params(expand: T.nilable(T::Array[String]), guaranteed_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(expand: nil, guaranteed_at: nil, metadata: nil); end end @@ -74524,7 +74524,7 @@ module Stripe sig { returns(Integer) } attr_accessor :initiated_at # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata # The outcome of the reported payment. sig { returns(T.nilable(String)) } @@ -74539,7 +74539,7 @@ module Stripe sig { returns(T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::ShippingDetails)) } attr_accessor :shipping_details sig { - params(amount_requested: ::Stripe::PaymentRecord::ReportPaymentParams::AmountRequested, customer_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::CustomerDetails), customer_presence: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T::Hash[String, String]), outcome: T.nilable(String), payment_method_details: ::Stripe::PaymentRecord::ReportPaymentParams::PaymentMethodDetails, payment_reference: T.nilable(String), shipping_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::ShippingDetails)).void + params(amount_requested: ::Stripe::PaymentRecord::ReportPaymentParams::AmountRequested, customer_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::CustomerDetails), customer_presence: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), outcome: T.nilable(String), payment_method_details: ::Stripe::PaymentRecord::ReportPaymentParams::PaymentMethodDetails, payment_reference: T.nilable(String), shipping_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::ShippingDetails)).void } def initialize( amount_requested: nil, @@ -159980,7 +159980,7 @@ module Stripe sig { returns(Integer) } attr_accessor :initiated_at # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata # The outcome of the reported payment. sig { returns(T.nilable(String)) } @@ -159996,7 +159996,7 @@ module Stripe } attr_accessor :shipping_details sig { - params(description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T::Hash[String, String]), outcome: T.nilable(String), payment_method_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::PaymentMethodDetails), shipping_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::ShippingDetails)).void + params(description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), outcome: T.nilable(String), payment_method_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::PaymentMethodDetails), shipping_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::ShippingDetails)).void } def initialize( description: nil, @@ -160018,10 +160018,10 @@ module Stripe sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(canceled_at: Integer, expand: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String])).void + params(canceled_at: Integer, expand: T.nilable(T::Array[String]), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(canceled_at: nil, expand: nil, metadata: nil); end end @@ -160033,10 +160033,10 @@ module Stripe sig { returns(Integer) } attr_accessor :failed_at # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(expand: T.nilable(T::Array[String]), failed_at: Integer, metadata: T.nilable(T::Hash[String, String])).void + params(expand: T.nilable(T::Array[String]), failed_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(expand: nil, failed_at: nil, metadata: nil); end end @@ -160048,10 +160048,10 @@ module Stripe sig { returns(Integer) } attr_accessor :guaranteed_at # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(expand: T.nilable(T::Array[String]), guaranteed_at: Integer, metadata: T.nilable(T::Hash[String, String])).void + params(expand: T.nilable(T::Array[String]), guaranteed_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(expand: nil, guaranteed_at: nil, metadata: nil); end end @@ -160256,7 +160256,7 @@ module Stripe sig { returns(Integer) } attr_accessor :initiated_at # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata # The outcome of the reported payment. sig { returns(T.nilable(String)) } @@ -160273,7 +160273,7 @@ module Stripe } attr_accessor :shipping_details sig { - params(amount_requested: ::Stripe::PaymentRecordService::ReportPaymentParams::AmountRequested, customer_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::CustomerDetails), customer_presence: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T::Hash[String, String]), outcome: T.nilable(String), payment_method_details: ::Stripe::PaymentRecordService::ReportPaymentParams::PaymentMethodDetails, payment_reference: T.nilable(String), shipping_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::ShippingDetails)).void + params(amount_requested: ::Stripe::PaymentRecordService::ReportPaymentParams::AmountRequested, customer_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::CustomerDetails), customer_presence: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), outcome: T.nilable(String), payment_method_details: ::Stripe::PaymentRecordService::ReportPaymentParams::PaymentMethodDetails, payment_reference: T.nilable(String), shipping_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::ShippingDetails)).void } def initialize( amount_requested: nil, diff --git a/rbi/stripe/resources/payment_record.rbi b/rbi/stripe/resources/payment_record.rbi index 4e2dae16..212930f3 100644 --- a/rbi/stripe/resources/payment_record.rbi +++ b/rbi/stripe/resources/payment_record.rbi @@ -1513,7 +1513,7 @@ module Stripe sig { returns(Integer) } attr_accessor :initiated_at # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata # The outcome of the reported payment. sig { returns(T.nilable(String)) } @@ -1529,7 +1529,7 @@ module Stripe } attr_accessor :shipping_details sig { - params(description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T::Hash[String, String]), outcome: T.nilable(String), payment_method_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::PaymentMethodDetails), shipping_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::ShippingDetails)).void + params(description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), outcome: T.nilable(String), payment_method_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::PaymentMethodDetails), shipping_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentAttemptParams::ShippingDetails)).void } def initialize( description: nil, @@ -1551,10 +1551,10 @@ module Stripe sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(canceled_at: Integer, expand: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String])).void + params(canceled_at: Integer, expand: T.nilable(T::Array[String]), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(canceled_at: nil, expand: nil, metadata: nil); end end @@ -1566,10 +1566,10 @@ module Stripe sig { returns(Integer) } attr_accessor :failed_at # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(expand: T.nilable(T::Array[String]), failed_at: Integer, metadata: T.nilable(T::Hash[String, String])).void + params(expand: T.nilable(T::Array[String]), failed_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(expand: nil, failed_at: nil, metadata: nil); end end @@ -1581,10 +1581,10 @@ module Stripe sig { returns(Integer) } attr_accessor :guaranteed_at # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(expand: T.nilable(T::Array[String]), guaranteed_at: Integer, metadata: T.nilable(T::Hash[String, String])).void + params(expand: T.nilable(T::Array[String]), guaranteed_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(expand: nil, guaranteed_at: nil, metadata: nil); end end @@ -1787,7 +1787,7 @@ module Stripe sig { returns(Integer) } attr_accessor :initiated_at # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata # The outcome of the reported payment. sig { returns(T.nilable(String)) } @@ -1802,7 +1802,7 @@ module Stripe sig { returns(T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::ShippingDetails)) } attr_accessor :shipping_details sig { - params(amount_requested: ::Stripe::PaymentRecord::ReportPaymentParams::AmountRequested, customer_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::CustomerDetails), customer_presence: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T::Hash[String, String]), outcome: T.nilable(String), payment_method_details: ::Stripe::PaymentRecord::ReportPaymentParams::PaymentMethodDetails, payment_reference: T.nilable(String), shipping_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::ShippingDetails)).void + params(amount_requested: ::Stripe::PaymentRecord::ReportPaymentParams::AmountRequested, customer_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::CustomerDetails), customer_presence: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), outcome: T.nilable(String), payment_method_details: ::Stripe::PaymentRecord::ReportPaymentParams::PaymentMethodDetails, payment_reference: T.nilable(String), shipping_details: T.nilable(::Stripe::PaymentRecord::ReportPaymentParams::ShippingDetails)).void } def initialize( amount_requested: nil, diff --git a/rbi/stripe/services/payment_record_service.rbi b/rbi/stripe/services/payment_record_service.rbi index 759b9371..ac5e1376 100644 --- a/rbi/stripe/services/payment_record_service.rbi +++ b/rbi/stripe/services/payment_record_service.rbi @@ -175,7 +175,7 @@ module Stripe sig { returns(Integer) } attr_accessor :initiated_at # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata # The outcome of the reported payment. sig { returns(T.nilable(String)) } @@ -191,7 +191,7 @@ module Stripe } attr_accessor :shipping_details sig { - params(description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T::Hash[String, String]), outcome: T.nilable(String), payment_method_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::PaymentMethodDetails), shipping_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::ShippingDetails)).void + params(description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), outcome: T.nilable(String), payment_method_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::PaymentMethodDetails), shipping_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentAttemptParams::ShippingDetails)).void } def initialize( description: nil, @@ -213,10 +213,10 @@ module Stripe sig { returns(T.nilable(T::Array[String])) } attr_accessor :expand # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(canceled_at: Integer, expand: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String])).void + params(canceled_at: Integer, expand: T.nilable(T::Array[String]), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(canceled_at: nil, expand: nil, metadata: nil); end end @@ -228,10 +228,10 @@ module Stripe sig { returns(Integer) } attr_accessor :failed_at # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(expand: T.nilable(T::Array[String]), failed_at: Integer, metadata: T.nilable(T::Hash[String, String])).void + params(expand: T.nilable(T::Array[String]), failed_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(expand: nil, failed_at: nil, metadata: nil); end end @@ -243,10 +243,10 @@ module Stripe sig { returns(Integer) } attr_accessor :guaranteed_at # Attribute for param field metadata - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata sig { - params(expand: T.nilable(T::Array[String]), guaranteed_at: Integer, metadata: T.nilable(T::Hash[String, String])).void + params(expand: T.nilable(T::Array[String]), guaranteed_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String])))).void } def initialize(expand: nil, guaranteed_at: nil, metadata: nil); end end @@ -451,7 +451,7 @@ module Stripe sig { returns(Integer) } attr_accessor :initiated_at # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - sig { returns(T.nilable(T::Hash[String, String])) } + sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) } attr_accessor :metadata # The outcome of the reported payment. sig { returns(T.nilable(String)) } @@ -468,7 +468,7 @@ module Stripe } attr_accessor :shipping_details sig { - params(amount_requested: ::Stripe::PaymentRecordService::ReportPaymentParams::AmountRequested, customer_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::CustomerDetails), customer_presence: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T::Hash[String, String]), outcome: T.nilable(String), payment_method_details: ::Stripe::PaymentRecordService::ReportPaymentParams::PaymentMethodDetails, payment_reference: T.nilable(String), shipping_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::ShippingDetails)).void + params(amount_requested: ::Stripe::PaymentRecordService::ReportPaymentParams::AmountRequested, customer_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::CustomerDetails), customer_presence: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), failed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::Failed), guaranteed: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::Guaranteed), initiated_at: Integer, metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), outcome: T.nilable(String), payment_method_details: ::Stripe::PaymentRecordService::ReportPaymentParams::PaymentMethodDetails, payment_reference: T.nilable(String), shipping_details: T.nilable(::Stripe::PaymentRecordService::ReportPaymentParams::ShippingDetails)).void } def initialize( amount_requested: nil,