Update generated code for v2119 and

This commit is contained in:
Stripe OpenAPI 2025-11-12 21:56:01 +00:00
parent b766f21c3c
commit fb9619736c
20 changed files with 576 additions and 2 deletions

View File

@ -1 +1 @@
v2118
v2119

View File

@ -98,6 +98,7 @@ module Stripe
Issuing::FraudLiabilityDebit.object_name => Issuing::FraudLiabilityDebit,
Issuing::PersonalizationDesign.object_name => Issuing::PersonalizationDesign,
Issuing::PhysicalBundle.object_name => Issuing::PhysicalBundle,
Issuing::Program.object_name => Issuing::Program,
Issuing::Settlement.object_name => Issuing::Settlement,
Issuing::Token.object_name => Issuing::Token,
Issuing::Transaction.object_name => Issuing::Transaction,

View File

@ -303,6 +303,10 @@ require "stripe/params/issuing/personalization_design_retrieve_params"
require "stripe/params/issuing/personalization_design_update_params"
require "stripe/params/issuing/physical_bundle_list_params"
require "stripe/params/issuing/physical_bundle_retrieve_params"
require "stripe/params/issuing/program_create_params"
require "stripe/params/issuing/program_list_params"
require "stripe/params/issuing/program_retrieve_params"
require "stripe/params/issuing/program_update_params"
require "stripe/params/issuing/token_list_params"
require "stripe/params/issuing/token_retrieve_params"
require "stripe/params/issuing/token_update_params"

View File

@ -0,0 +1,21 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
module Issuing
class ProgramCreateParams < ::Stripe::RequestParams
# Specifies which fields in the response should be expanded.
attr_accessor :expand
# If true, makes the specified program the default for the given account.
attr_accessor :is_default
# The program to use as the parent for the new program to create.
attr_accessor :platform_program
def initialize(expand: nil, is_default: nil, platform_program: nil)
@expand = expand
@is_default = is_default
@platform_program = platform_program
end
end
end
end

View File

@ -0,0 +1,24 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
module Issuing
class ProgramListParams < ::Stripe::RequestParams
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
attr_accessor :ending_before
# Specifies which fields in the response should be expanded.
attr_accessor :expand
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
attr_accessor :limit
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
attr_accessor :starting_after
def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil)
@ending_before = ending_before
@expand = expand
@limit = limit
@starting_after = starting_after
end
end
end
end

View File

@ -0,0 +1,15 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
module Issuing
class ProgramRetrieveParams < ::Stripe::RequestParams
# Specifies which fields in the response should be expanded.
attr_accessor :expand
def initialize(expand: nil)
@expand = expand
end
end
end
end

View File

@ -0,0 +1,21 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
module Issuing
class ProgramUpdateParams < ::Stripe::RequestParams
# Specifies which fields in the response should be expanded.
attr_accessor :expand
# If true, makes the specified program the default.
attr_accessor :is_default
# 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`.
attr_accessor :metadata
def initialize(expand: nil, is_default: nil, metadata: nil)
@expand = expand
@is_default = is_default
@metadata = metadata
end
end
end
end

View File

@ -86,6 +86,7 @@ require "stripe/resources/issuing/dispute_settlement_detail"
require "stripe/resources/issuing/fraud_liability_debit"
require "stripe/resources/issuing/personalization_design"
require "stripe/resources/issuing/physical_bundle"
require "stripe/resources/issuing/program"
require "stripe/resources/issuing/settlement"
require "stripe/resources/issuing/token"
require "stripe/resources/issuing/transaction"

View File

@ -0,0 +1,69 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
module Issuing
# An Issuing `Program` represents a card program that the user has access to.
class Program < APIResource
extend Stripe::APIOperations::Create
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save
OBJECT_NAME = "issuing.program"
def self.object_name
"issuing.program"
end
# Time at which the object was created. Measured in seconds since the Unix epoch.
attr_reader :created
# Unique identifier for the object.
attr_reader :id
# Whether or not this is the "default" issuing program new cards are created on. Only one active `is_default` program at the same time.
attr_reader :is_default
# 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.
attr_reader :metadata
# String representing the object's type. Objects of the same type share the same value.
attr_reader :object
# The platform's Issuing Program for which this program is associated.
attr_reader :platform_program
# Create a Program object.
def self.create(params = {}, opts = {})
request_stripe_object(
method: :post,
path: "/v1/issuing/programs",
params: params,
opts: opts
)
end
# List all of the programs the given Issuing user has access to.
def self.list(params = {}, opts = {})
request_stripe_object(
method: :get,
path: "/v1/issuing/programs",
params: params,
opts: opts
)
end
# Updates a Program object.
def self.update(program, params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/issuing/programs/%<program>s", { program: CGI.escape(program) }),
params: params,
opts: opts
)
end
def self.inner_class_types
@inner_class_types = {}
end
def self.field_remappings
@field_remappings = {}
end
end
end
end

View File

@ -98,6 +98,7 @@ require "stripe/services/issuing/dispute_settlement_detail_service"
require "stripe/services/issuing/fraud_liability_debit_service"
require "stripe/services/issuing/personalization_design_service"
require "stripe/services/issuing/physical_bundle_service"
require "stripe/services/issuing/program_service"
require "stripe/services/issuing/token_service"
require "stripe/services/issuing/transaction_service"
require "stripe/services/issuing_service"

View File

@ -0,0 +1,52 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
module Issuing
class ProgramService < StripeService
# Create a Program object.
def create(params = {}, opts = {})
request(
method: :post,
path: "/v1/issuing/programs",
params: params,
opts: opts,
base_address: :api
)
end
# List all of the programs the given Issuing user has access to.
def list(params = {}, opts = {})
request(
method: :get,
path: "/v1/issuing/programs",
params: params,
opts: opts,
base_address: :api
)
end
# Retrieves the program specified by the given id.
def retrieve(program, params = {}, opts = {})
request(
method: :get,
path: format("/v1/issuing/programs/%<program>s", { program: CGI.escape(program) }),
params: params,
opts: opts,
base_address: :api
)
end
# Updates a Program object.
def update(program, params = {}, opts = {})
request(
method: :post,
path: format("/v1/issuing/programs/%<program>s", { program: CGI.escape(program) }),
params: params,
opts: opts,
base_address: :api
)
end
end
end
end

View File

@ -3,7 +3,7 @@
module Stripe
class IssuingService < StripeService
attr_reader :authorizations, :cards, :cardholders, :credit_underwriting_records, :disputes, :dispute_settlement_details, :fraud_liability_debits, :personalization_designs, :physical_bundles, :tokens, :transactions
attr_reader :authorizations, :cards, :cardholders, :credit_underwriting_records, :disputes, :dispute_settlement_details, :fraud_liability_debits, :personalization_designs, :physical_bundles, :programs, :tokens, :transactions
def initialize(requestor)
super
@ -17,6 +17,7 @@ module Stripe
@fraud_liability_debits = Stripe::Issuing::FraudLiabilityDebitService.new(@requestor)
@personalization_designs = Stripe::Issuing::PersonalizationDesignService.new(@requestor)
@physical_bundles = Stripe::Issuing::PhysicalBundleService.new(@requestor)
@programs = Stripe::Issuing::ProgramService.new(@requestor)
@tokens = Stripe::Issuing::TokenService.new(@requestor)
@transactions = Stripe::Issuing::TransactionService.new(@requestor)
end

View File

@ -25144,6 +25144,49 @@ module Stripe
end
end
# typed: true
module Stripe
module Issuing
# An Issuing `Program` represents a card program that the user has access to.
class Program < APIResource
# Time at which the object was created. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
def created; end
# Unique identifier for the object.
sig { returns(String) }
def id; end
# Whether or not this is the "default" issuing program new cards are created on. Only one active `is_default` program at the same time.
sig { returns(T::Boolean) }
def is_default; end
# 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.
sig { returns(T::Hash[String, String]) }
def metadata; end
# String representing the object's type. Objects of the same type share the same value.
sig { returns(String) }
def object; end
# The platform's Issuing Program for which this program is associated.
sig { returns(T.nilable(String)) }
def platform_program; end
# Create a Program object.
sig {
params(params: T.any(::Stripe::Issuing::ProgramCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def self.create(params = {}, opts = {}); end
# List all of the programs the given Issuing user has access to.
sig {
params(params: T.any(::Stripe::Issuing::ProgramListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
}
def self.list(params = {}, opts = {}); end
# Updates a Program object.
sig {
params(program: String, params: T.any(::Stripe::Issuing::ProgramUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def self.update(program, params = {}, opts = {}); end
end
end
end
# typed: true
module Stripe
module Issuing
# An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/docs/issuing), you can [view and manage these tokens](https://stripe.com/docs/issuing/controls/token-management) through Stripe.
@ -72880,6 +72923,7 @@ module Stripe
attr_reader :fraud_liability_debits
attr_reader :personalization_designs
attr_reader :physical_bundles
attr_reader :programs
attr_reader :tokens
attr_reader :transactions
end
@ -73145,6 +73189,36 @@ module Stripe
end
end
# typed: true
module Stripe
module Issuing
class ProgramService < StripeService
# Create a Program object.
sig {
params(params: T.any(::Stripe::Issuing::ProgramCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def create(params = {}, opts = {}); end
# List all of the programs the given Issuing user has access to.
sig {
params(params: T.any(::Stripe::Issuing::ProgramListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
}
def list(params = {}, opts = {}); end
# Retrieves the program specified by the given id.
sig {
params(program: String, params: T.any(::Stripe::Issuing::ProgramRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def retrieve(program, params = {}, opts = {}); end
# Updates a Program object.
sig {
params(program: String, params: T.any(::Stripe::Issuing::ProgramUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def update(program, params = {}, opts = {}); end
end
end
end
# typed: true
module Stripe
module Issuing
class TokenService < StripeService
@ -116370,6 +116444,91 @@ module Stripe
end
end
# typed: true
module Stripe
module Issuing
class ProgramListParams < ::Stripe::RequestParams
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
sig { returns(T.nilable(String)) }
def ending_before; end
sig { params(_ending_before: T.nilable(String)).returns(T.nilable(String)) }
def ending_before=(_ending_before); end
# Specifies which fields in the response should be expanded.
sig { returns(T.nilable(T::Array[String])) }
def expand; end
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
def expand=(_expand); end
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
sig { returns(T.nilable(Integer)) }
def limit; end
sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
def limit=(_limit); end
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
sig { returns(T.nilable(String)) }
def starting_after; end
sig { params(_starting_after: T.nilable(String)).returns(T.nilable(String)) }
def starting_after=(_starting_after); end
sig {
params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
}
def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
end
end
end
# typed: true
module Stripe
module Issuing
class ProgramCreateParams < ::Stripe::RequestParams
# Specifies which fields in the response should be expanded.
sig { returns(T.nilable(T::Array[String])) }
def expand; end
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
def expand=(_expand); end
# If true, makes the specified program the default for the given account.
sig { returns(T.nilable(T::Boolean)) }
def is_default; end
sig { params(_is_default: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
def is_default=(_is_default); end
# The program to use as the parent for the new program to create.
sig { returns(String) }
def platform_program; end
sig { params(_platform_program: String).returns(String) }
def platform_program=(_platform_program); end
sig {
params(expand: T.nilable(T::Array[String]), is_default: T.nilable(T::Boolean), platform_program: String).void
}
def initialize(expand: nil, is_default: nil, platform_program: nil); end
end
end
end
# typed: true
module Stripe
module Issuing
class ProgramUpdateParams < ::Stripe::RequestParams
# Specifies which fields in the response should be expanded.
sig { returns(T.nilable(T::Array[String])) }
def expand; end
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
def expand=(_expand); end
# If true, makes the specified program the default.
sig { returns(T.nilable(T::Boolean)) }
def is_default; end
sig { params(_is_default: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
def is_default=(_is_default); end
# 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.any(String, T::Hash[String, String]))) }
def metadata; end
sig {
params(_metadata: T.nilable(T.any(String, T::Hash[String, String]))).returns(T.nilable(T.any(String, T::Hash[String, String])))
}
def metadata=(_metadata); end
sig {
params(expand: T.nilable(T::Array[String]), is_default: T.nilable(T::Boolean), metadata: T.nilable(T.any(String, T::Hash[String, String]))).void
}
def initialize(expand: nil, is_default: nil, metadata: nil); end
end
end
end
# typed: true
module Stripe
module Issuing
class TokenListParams < ::Stripe::RequestParams
@ -188743,6 +188902,20 @@ module Stripe
end
end
# typed: true
module Stripe
module Issuing
class ProgramRetrieveParams < ::Stripe::RequestParams
# Specifies which fields in the response should be expanded.
sig { returns(T.nilable(T::Array[String])) }
def expand; end
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
def expand=(_expand); end
sig { params(expand: T.nilable(T::Array[String])).void }
def initialize(expand: nil); end
end
end
end
# typed: true
module Stripe
module Issuing
class TokenRetrieveParams < ::Stripe::RequestParams

View File

@ -0,0 +1,29 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
# typed: true
module Stripe
module Issuing
class ProgramCreateParams < ::Stripe::RequestParams
# Specifies which fields in the response should be expanded.
sig { returns(T.nilable(T::Array[String])) }
def expand; end
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
def expand=(_expand); end
# If true, makes the specified program the default for the given account.
sig { returns(T.nilable(T::Boolean)) }
def is_default; end
sig { params(_is_default: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
def is_default=(_is_default); end
# The program to use as the parent for the new program to create.
sig { returns(String) }
def platform_program; end
sig { params(_platform_program: String).returns(String) }
def platform_program=(_platform_program); end
sig {
params(expand: T.nilable(T::Array[String]), is_default: T.nilable(T::Boolean), platform_program: String).void
}
def initialize(expand: nil, is_default: nil, platform_program: nil); end
end
end
end

View File

@ -0,0 +1,34 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
# typed: true
module Stripe
module Issuing
class ProgramListParams < ::Stripe::RequestParams
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
sig { returns(T.nilable(String)) }
def ending_before; end
sig { params(_ending_before: T.nilable(String)).returns(T.nilable(String)) }
def ending_before=(_ending_before); end
# Specifies which fields in the response should be expanded.
sig { returns(T.nilable(T::Array[String])) }
def expand; end
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
def expand=(_expand); end
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
sig { returns(T.nilable(Integer)) }
def limit; end
sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
def limit=(_limit); end
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
sig { returns(T.nilable(String)) }
def starting_after; end
sig { params(_starting_after: T.nilable(String)).returns(T.nilable(String)) }
def starting_after=(_starting_after); end
sig {
params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
}
def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
end
end
end

View File

@ -0,0 +1,17 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
# typed: true
module Stripe
module Issuing
class ProgramRetrieveParams < ::Stripe::RequestParams
# Specifies which fields in the response should be expanded.
sig { returns(T.nilable(T::Array[String])) }
def expand; end
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
def expand=(_expand); end
sig { params(expand: T.nilable(T::Array[String])).void }
def initialize(expand: nil); end
end
end
end

View File

@ -0,0 +1,31 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
# typed: true
module Stripe
module Issuing
class ProgramUpdateParams < ::Stripe::RequestParams
# Specifies which fields in the response should be expanded.
sig { returns(T.nilable(T::Array[String])) }
def expand; end
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
def expand=(_expand); end
# If true, makes the specified program the default.
sig { returns(T.nilable(T::Boolean)) }
def is_default; end
sig { params(_is_default: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
def is_default=(_is_default); end
# 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.any(String, T::Hash[String, String]))) }
def metadata; end
sig {
params(_metadata: T.nilable(T.any(String, T::Hash[String, String]))).returns(T.nilable(T.any(String, T::Hash[String, String])))
}
def metadata=(_metadata); end
sig {
params(expand: T.nilable(T::Array[String]), is_default: T.nilable(T::Boolean), metadata: T.nilable(T.any(String, T::Hash[String, String]))).void
}
def initialize(expand: nil, is_default: nil, metadata: nil); end
end
end
end

View File

@ -0,0 +1,46 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
# typed: true
module Stripe
module Issuing
# An Issuing `Program` represents a card program that the user has access to.
class Program < APIResource
# Time at which the object was created. Measured in seconds since the Unix epoch.
sig { returns(Integer) }
def created; end
# Unique identifier for the object.
sig { returns(String) }
def id; end
# Whether or not this is the "default" issuing program new cards are created on. Only one active `is_default` program at the same time.
sig { returns(T::Boolean) }
def is_default; end
# 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.
sig { returns(T::Hash[String, String]) }
def metadata; end
# String representing the object's type. Objects of the same type share the same value.
sig { returns(String) }
def object; end
# The platform's Issuing Program for which this program is associated.
sig { returns(T.nilable(String)) }
def platform_program; end
# Create a Program object.
sig {
params(params: T.any(::Stripe::Issuing::ProgramCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def self.create(params = {}, opts = {}); end
# List all of the programs the given Issuing user has access to.
sig {
params(params: T.any(::Stripe::Issuing::ProgramListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
}
def self.list(params = {}, opts = {}); end
# Updates a Program object.
sig {
params(program: String, params: T.any(::Stripe::Issuing::ProgramUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def self.update(program, params = {}, opts = {}); end
end
end
end

View File

@ -0,0 +1,33 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
# typed: true
module Stripe
module Issuing
class ProgramService < StripeService
# Create a Program object.
sig {
params(params: T.any(::Stripe::Issuing::ProgramCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def create(params = {}, opts = {}); end
# List all of the programs the given Issuing user has access to.
sig {
params(params: T.any(::Stripe::Issuing::ProgramListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
}
def list(params = {}, opts = {}); end
# Retrieves the program specified by the given id.
sig {
params(program: String, params: T.any(::Stripe::Issuing::ProgramRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def retrieve(program, params = {}, opts = {}); end
# Updates a Program object.
sig {
params(program: String, params: T.any(::Stripe::Issuing::ProgramUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Issuing::Program)
}
def update(program, params = {}, opts = {}); end
end
end
end

View File

@ -13,6 +13,7 @@ module Stripe
attr_reader :fraud_liability_debits
attr_reader :personalization_designs
attr_reader :physical_bundles
attr_reader :programs
attr_reader :tokens
attr_reader :transactions
end