Sha256: ee05573e0163082974fc282f7e400cee7ec78fba6720815c5b35464045013e64
Contents?: true
Size: 505 Bytes
Versions: 5
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true module Stripe class CreditNote < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List include Stripe::APIOperations::Save OBJECT_NAME = "credit_note".freeze custom_method :void_credit_note, http_verb: :post, http_path: "void" def void_credit_note(params = {}, opts = {}) resp, opts = request(:post, resource_url + "/void", params, opts) Util.convert_to_stripe_object(resp.data, opts) end end end
Version data entries
5 entries across 5 versions & 1 rubygems