@@ -26,7 +26,7 @@ class LineItemAddress < Model
2626 end
2727
2828 class Discount < Model
29- attr_accessor :amount , :description , :entity_type , :discount_type , :entity_id , :coupon_set_code
29+ attr_accessor :amount , :description , :line_item_id , : entity_type, :discount_type , :entity_id , :coupon_set_code
3030 end
3131
3232 class Tax < Model
@@ -41,6 +41,10 @@ class LinkedPayment < Model
4141 attr_accessor :txn_id , :applied_amount , :applied_at , :txn_status , :txn_date , :txn_amount
4242 end
4343
44+ class ReferenceTransaction < Model
45+ attr_accessor :applied_amount , :applied_at , :txn_id , :txn_status , :txn_date , :txn_amount , :txn_type , :amount_capturable , :authorization_reason
46+ end
47+
4448 class DunningAttempt < Model
4549 attr_accessor :attempt , :transaction_id , :dunning_type , :created_at , :txn_status , :txn_amount
4650 end
@@ -93,10 +97,10 @@ class SiteDetailsAtCreation < Model
9397 :first_invoice , :new_sales_amount , :has_advance_charges , :term_finalized , :is_gifted , :generated_at ,
9498 :expected_payment_date , :amount_to_collect , :round_off_amount , :line_items , :line_item_tiers ,
9599 :line_item_discounts , :line_item_taxes , :line_item_credits , :line_item_addresses , :discounts ,
96- :taxes , :tax_origin , :linked_payments , :dunning_attempts , :applied_credits , :adjustment_credit_notes ,
97- :issued_credit_notes , :linked_orders , :notes , :shipping_address , :billing_address , :statement_descriptor ,
98- :einvoice , :void_reason_code , :deleted , :tax_category , :vat_number_prefix , :channel , :business_entity_id ,
99- :site_details_at_creation
100+ :taxes , :tax_origin , :linked_payments , :reference_transactions , :dunning_attempts , :applied_credits ,
101+ :adjustment_credit_notes , : issued_credit_notes, :linked_orders , :notes , :shipping_address , :billing_address ,
102+ :statement_descriptor , : einvoice, :void_reason_code , :deleted , :tax_category , :vat_number_prefix ,
103+ :channel , :business_entity_id , : site_details_at_creation
100104
101105 # OPERATIONS
102106 #-----------
0 commit comments