<div *ngIf="showPaymentsList">
  <h1>Payments</h1>
  <div *ngFor="let method of paymentMethodsArray">
    <input type="radio" name="paymentMethods" [value]="method.name" (click)="setSelectedMethod($event.target.value)"> {{method.value}} <br/>
  </div>
</div>
<div [ngSwitch]="selectedMethod">
    <bank-transfer *ngSwitchCase="'BANK_TRANSFER'" (formSaved)="nextStep($event)"></bank-transfer>
    <paypal *ngSwitchCase="'PAYPAL'" (formSaved)="nextStep($event)"></paypal>
    <two-checkout *ngSwitchCase="'TWO_CHECKOUT'" (formSaved)="nextStep($event)"></two-checkout>
    <wallet-one *ngSwitchCase="'WALLET_ONE'" (formSaved)="nextStep($event)"></wallet-one>
    <stripe *ngSwitchCase="'STRIPE'" (formSaved)="nextStep($event)"></stripe>
</div>