Sha256: a8a02813b93c1fd62d57b8a9c0c3ac55de05b310d5d10f73c13928d8ba894d35

Contents?: true

Size: 748 Bytes

Versions: 4

Compression:

Stored size: 748 Bytes

Contents

module Killbill
  module Plugin

     class RefundResponse

       attr_reader :amount_in_cents,
                   :created_date,
                   :effective_date,
                   :status,
                   :gateway_error,
                   :gateway_error_code,
                   :reference_id

      def initialize(amount_in_cents, created_date, effective_date, status, gateway_error=nil, gateway_error_code=nil, reference_id=nil)
         @amount_in_cents = amount_in_cents
         @created_date = created_date
         @effective_date = effective_date
         @status = status
         @gateway_error = gateway_error
         @gateway_error_code = gateway_error_code
         @reference_id = reference_id
       end
     end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
killbill-1.0.15 lib/killbill/response/refund_response.rb
killbill-1.0.14 lib/killbill/response/refund_response.rb
killbill-1.0.13 lib/killbill/response/refund_response.rb
killbill-1.0.12 lib/killbill/response/refund_response.rb