Class: Airwallex::Refund
- Inherits:
-
APIResource
- Object
- APIResource
- Airwallex::Refund
- Extended by:
- APIOperations::Create, APIOperations::List, APIOperations::Retrieve
- Defined in:
- lib/airwallex/resources/refund.rb
Overview
Represents a refund of a payment intent
Refunds can be full or partial. Multiple refunds can be created for a single payment intent as long as the total refunded amount doesn’t exceed the original amount.
Instance Attribute Summary
Attributes inherited from APIResource
Class Method Summary collapse
-
.resource_path ⇒ String
API resource path for refunds.
Methods included from APIOperations::Create
Methods included from APIOperations::Retrieve
Methods included from APIOperations::List
Methods inherited from APIResource
#changed_attributes, #dirty?, #initialize, #inspect, #method_missing, #refresh, #refresh_from, resource_name, #respond_to_missing?, #to_hash, #to_json, #to_s
Constructor Details
This class inherits a constructor from Airwallex::APIResource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Airwallex::APIResource
Class Method Details
.resource_path ⇒ String
Returns API resource path for refunds.
30 31 32 |
# File 'lib/airwallex/resources/refund.rb', line 30 def self.resource_path "/api/v1/pa/refunds" end |