Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. normaliseData (data) {
  2. let json = data
  3. this.currency = json.currency
  4. this.percentValue = json.rule[0].commissionValue.percentValue
  5. this.commissionMinValue = json.rule[0].commissionValue.minValue / 100
  6. this.minSum = json.rule[0]['min-sum']
  7. this.maxSum = json.rule[0]['max-sum']
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement