lib/recurly/resources/credit_payment.rb in recurly-3.0.0.beta.2 vs lib/recurly/resources/credit_payment.rb in recurly-3.0.0.beta.3

- old
+ new

@@ -1,24 +1,24 @@ module Recurly module Resources class CreditPayment < Resource # @!attribute account - # @return [Account] - define_attribute :account, :Account + # @return [AccountMini] + define_attribute :account, :AccountMini # @!attribute action # @return [String] The action for which the credit was created. define_attribute :action, String, {:enum => ["payment", "refund", "reduction", "write_off"]} # @!attribute amount # @return [Float] Total credit payment amount applied to the charge invoice. define_attribute :amount, Float # @!attribute applied_to_invoice - # @return [Invoice] - define_attribute :applied_to_invoice, :Invoice + # @return [InvoiceMini] + define_attribute :applied_to_invoice, :InvoiceMini # @!attribute [r] created_at # @return [DateTime] Created at define_attribute :created_at, DateTime, {:read_only => true} @@ -37,11 +37,11 @@ # @!attribute original_credit_payment_id # @return [String] For credit payments with action `refund`, this is the credit payment that was refunded. define_attribute :original_credit_payment_id, String # @!attribute original_invoice - # @return [Invoice] - define_attribute :original_invoice, :Invoice + # @return [InvoiceMini] + define_attribute :original_invoice, :InvoiceMini # @!attribute refund_transaction # @return [Transaction] define_attribute :refund_transaction, :Transaction