()
| 28 | } |
| 29 | |
| 30 | constructor () { |
| 31 | super() |
| 32 | this.payments = new Payments() |
| 33 | let opts = null |
| 34 | if (me.isParentHome()) { |
| 35 | opts = { data: { includeAsPurchaser: true } } |
| 36 | } |
| 37 | this.supermodel.trackRequest(this.payments.fetchByRecipient(me.id, opts)) |
| 38 | this.prepaids = new Prepaids() |
| 39 | this.supermodel.trackRequest(this.prepaids.fetchByCreator(me.id, { data: { allTypes: true } })) |
| 40 | this.paymentDescription = {} |
| 41 | } |
| 42 | |
| 43 | getMeta () { |
| 44 | return { title: $.i18n.t('account.payments_title') } |
nothing calls this directly
no test coverage detected