lib/promisepay/models/item.rb
# Decline a refund request for an Item.
#
# @see https://reference.promisepay.com/#decline-refund
#
# @return [Boolean]
Decline a refund request for an Item.
Decline a refund request for an Item .
def decline_refund
      response = JSON.parse(@client.patch("items/#{send(:id)}/decline_refund").body)
      @attributes = response['items']
      true
    end
def decline_refund response = JSON . parse ( @client . patch ( "items/#{send(:id)}/decline_refund" ) . body ) @attributes = response [ 'items' ] true end
Decline a refund request for an Item.
Decline a refund request for an Item .
None
Boolean
see
None