Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- normaliseData (data) {
- let json = data
- this.currency = json.currency
- this.percentValue = json.rule[0].commissionValue.percentValue
- this.commissionMinValue = json.rule[0].commissionValue.minValue / 100
- this.minSum = json.rule[0]['min-sum']
- this.maxSum = json.rule[0]['max-sum']
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement