Sha256: fa0a5295c396447c5ad7166f9dcb953d3f4a8be35d8629bae36d8df5b3fa3eb4

Contents?: true

Size: 1.66 KB

Versions: 13

Compression:

Stored size: 1.66 KB

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module TestHelpers
    module Issuing
      class PersonalizationDesignService < StripeService
        # Updates the status of the specified testmode personalization design object to active.
        def activate(personalization_design, params = {}, opts = {})
          request(
            method: :post,
            path: format("/v1/test_helpers/issuing/personalization_designs/%<personalization_design>s/activate", { personalization_design: CGI.escape(personalization_design) }),
            params: params,
            opts: opts,
            base_address: :api
          )
        end

        # Updates the status of the specified testmode personalization design object to inactive.
        def deactivate(personalization_design, params = {}, opts = {})
          request(
            method: :post,
            path: format("/v1/test_helpers/issuing/personalization_designs/%<personalization_design>s/deactivate", { personalization_design: CGI.escape(personalization_design) }),
            params: params,
            opts: opts,
            base_address: :api
          )
        end

        # Updates the status of the specified testmode personalization design object to rejected.
        def reject(personalization_design, params = {}, opts = {})
          request(
            method: :post,
            path: format("/v1/test_helpers/issuing/personalization_designs/%<personalization_design>s/reject", { personalization_design: CGI.escape(personalization_design) }),
            params: params,
            opts: opts,
            base_address: :api
          )
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.2.0 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.1.2 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.1.1 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.1.0 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.0.2 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.0.1 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb
stripe-13.0.0 lib/stripe/services/test_helpers/issuing/personalization_design_service.rb