File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1663,6 +1663,7 @@ class Subscription(Resource):
1663
1663
'billing_info' ,
1664
1664
'billing_info_uuid' ,
1665
1665
'ramp_intervals' ,
1666
+ 'action_result'
1666
1667
)
1667
1668
1668
1669
sensitive_attributes = ('number' , 'verification_value' , 'bulk' )
@@ -1916,7 +1917,8 @@ class Transaction(Resource):
1916
1917
'message' ,
1917
1918
'approval_code' ,
1918
1919
'payment_method' ,
1919
- 'collected_at'
1920
+ 'collected_at' ,
1921
+ 'action_result'
1920
1922
)
1921
1923
xml_attribute_attributes = ('type' ,)
1922
1924
sensitive_attributes = ('number' , 'verification_value' ,)
Original file line number Diff line number Diff line change @@ -83,4 +83,5 @@ Location: https://api.recurly.com/v2/transactions/123456789012345678901234567890
83
83
<decision >DECLINED</decision >
84
84
</fraud >
85
85
<a name =" refund" href =" https://api.recurly.com/v2/transactions/123456789012345678901234567890ab" method =" delete" />
86
+ <action_result >example</action_result >
86
87
</transaction >
Original file line number Diff line number Diff line change @@ -2629,6 +2629,7 @@ def test_transaction(self):
2629
2629
fraud_info = transaction .fraud
2630
2630
self .assertEquals (fraud_info .score , 88 )
2631
2631
self .assertEquals (fraud_info .decision , 'DECLINED' )
2632
+ self .assertEquals (transaction .action_result , 'example' )
2632
2633
2633
2634
logger .removeHandler (log_handler )
2634
2635
You can’t perform that action at this time.
0 commit comments