src/app/models/p2p-combined-response.model.ts
Properties |
constructor(response: P2PCombinedResponse)
|
||||||
Parameters :
|
payment |
payment:
|
Type : Payment
|
template |
template:
|
Type : Template
|
import { Template, Payment } from './';
export class P2PCombinedResponse {
template: Template;
payment: Payment;
constructor(response: P2PCombinedResponse) {
this.payment = response && response.payment ? response.payment : null;
this.template = response && response.template ? response.template : null;
}
}