import { Injectable } from '@angular/core'; import { HttpWrapperService } from './http-wrapper.service'; import { ApiResult } from '../resources/utility_models/api_result'; @Injectable() export class UserPaymentsService { constructor(private http: HttpWrapperService) {} begin_paying_for_tournaments(tournament_ids: Array) { return this.http.securePost>('/users/payments/paypal', { tournament_ids : tournament_ids }); } }