lib/promisepay/models/item.rb
# Email a Tax Invoice to the Users associated with the Item.
#
# @see https://reference.promisepay.com/#send-tax-invoice
#
# @return [Boolean]
Email a Tax Invoice to the Users associated with the Item.
Email a Tax Invoice to the Users associated with the Item .
def send_tax_invoice
      response = JSON.parse(@client.patch("items/#{send(:id)}/send_tax_invoice").body)
      @attributes = response['items']
      true
    end
def send_tax_invoice response = JSON . parse ( @client . patch ( "items/#{send(:id)}/send_tax_invoice" ) . body ) @attributes = response [ 'items' ] true end
Email a Tax Invoice to the Users associated with the Item.
Email a Tax Invoice to the Users associated with the Item .
None
Boolean
see
None