File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/pagseguro/transaction Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ def serialize_creditor(data)
72
72
intermediation_fee_amount : BigDecimal ( xml . css ( "creditorFees > intermediationFeeAmount" ) . text . to_f . to_s ) ,
73
73
installment_fee_amount : BigDecimal ( xml . css ( "creditorFees > installmentFeeAmount" ) . text . to_f . to_s ) ,
74
74
}
75
- operationalFeeAmount = xml . css ( "creditorFees > operationalFeeAmount" ) . text
76
- data [ :creditor_fees ] . merge! ( operational_fee_amount : BigDecimal ( operationalFeeAmount ) ) if operationalFeeAmount . present?
77
- commissionFeeAmount = xml . css ( "creditorFees > commissionFeeAmount" ) . text
78
- data [ :creditor_fees ] . merge! ( commission_fee_amount : BigDecimal ( commissionFeeAmount ) ) if commissionFeeAmount . present?
75
+ operational_fee_amount = xml . css ( "creditorFees > operationalFeeAmount" ) . text
76
+ data [ :creditor_fees ] . merge! ( operational_fee_amount : BigDecimal ( operational_fee_amount ) ) if operational_fee_amount . present?
77
+ commission_fee_amount = xml . css ( "creditorFees > commissionFeeAmount" ) . text
78
+ data [ :creditor_fees ] . merge! ( commission_fee_amount : BigDecimal ( commission_fee_amount ) ) if commission_fee_amount . present?
79
79
efrete = xml . css ( "creditorFees > efrete" ) . text
80
80
data [ :creditor_fees ] . merge! ( efrete : BigDecimal ( efrete ) ) if efrete . present?
81
81
end
You can’t perform that action at this time.
0 commit comments