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AMA,QACxCA,eAlBsCA,gEAURA,47BDHjB+G,GAAb,iFERM,QAKFlI,YAAYoI,GAERlI,KAAK2G,IADLuB,EAASA,GAAU,IACFvB,IAAM,GACvB3G,KAAKmI,MAAQD,EAAOC,OAAS,GAC7BnI,KAAKoI,aAAeF,EAAOE,cAAgB,IAI7C,QAIFtI,YAAYoI,GAERlI,KAAKqI,MADLH,EAASA,GAAU,IACAG,KACnBrI,KAAKsI,MAAQJ,EAAOI","names":["constructor","model","this","contactId","signature","sendReceipt","super","deliveryInstructions","checkoutId","cardHolderName","cardNumber","securityNumber","expirationMonth","Number","expirationYear","zipCode","remember","TreeviewItem","CreditVerificationType","i0","NotifyAlertComponent","store","dispatch","Close","ngOnInit","selectors","StoreService","SharedService","httpCLient","BehaviorSubject","flashOfferSubject","asObservable","ListStores","payload","post","GetStoreDetail","factory","contact","name","email","message","recaptcha","userAgent","MessageService","httpClient","toastr","Subject","page","pageSize","sortColumn","sortDirection","_search$","pipe","debounceTime","switchMap","_search","delay","subscribe","result","_messages$","next","messages","_total$","total","_state","_set","state","patch","Object","assign","Promise","resolve","reject","all","getPaginatedMesages","toString","then","countries","column","direction","sort","a","b","res","v1","v2","totalCount","Observable","addFunds","addFundsModel","postItmes","addTokenBasedFunds","rememberCardPaymentFundsModel","addFundsPayPal","fundsPayPal","verifyAmount","verificationModel","verifyByEmail","verifyCancel","token","sendSms","getMessages","getItems","pageNumber","orderBy","order","getPaginatedItems","getPriceForMessages","deleteMessage","id","url","loadingSubject","ModalConfirmationComponent","activeModal","onCancel","close","onOk","ctx","ModalCvvInfoComponent","ModalDeleteConfirmationComponent","onClose","onDelete","ModalDiscountConfirmationComponent","modalService","misRecompensas","open","ModalRewardsComponent","centered","windowClass","continuar","ModalEligibleCashbackComponent","eligibleCashback","select","items","selectedItem","text","value"],"sources":["webpack:///src/app/marketplace/checkout/_models/payment-profile.model.ts","webpack:///src/app/marketplace/checkout/_models/checkout.model.ts","webpack:///src/app/marketplace/shared/_components/notify-alert/notify-alert.component.html","webpack:///src/app/marketplace/shared/_components/notify-alert/notify-alert.component.ts","webpack:///src/app/marketplace/stores/_services/store.service.ts","webpack:///src/app/models/contact.form.model.ts","webpack:///src/app/services/message.service.ts","webpack:///src/app/shared/components/modal-confirmation/modal-confirmation.component.ts","webpack:///src/app/shared/components/modal-confirmation/modal-confirmation.component.html","webpack:///src/app/shared/components/modal-cvv-info/modal-cvv-info.component.ts","webpack:///src/app/shared/components/modal-cvv-info/modal-cvv-info.component.html","webpack:///src/app/shared/components/modal-delete-confirmation/modal-delete-confirmation.component.ts","webpack:///src/app/shared/components/modal-delete-confirmation/modal-delete-confirmation.component.html","webpack:///src/app/shared/components/modal-discount-confirmation/modal-discount-confirmation.component.html","webpack:///src/app/shared/components/modal-discount-confirmation/modal-discount-confirmation.component.ts","webpack:///src/app/shared/components/modal-eligible-cashback/modal-eligible-cashback.component.ts","webpack:///src/app/shared/components/modal-eligible-cashback/modal-eligible-cashback.component.html","webpack:///src/app/shared/components/stu-select/stu-select.model.ts"],"sourcesContent":["import {ResponseModel} from '@app/marketplace/core/models/response.model';\r\nimport {TreeviewItem} from 'ngx-treeview';\r\nimport {CheckoutBaseInputModel} from '@app/marketplace/checkout/_models/checkout.model';\r\nimport {mod} from 'ngx-bootstrap/chronos/utils';\r\n\r\nexport interface PaymentProfileInterface {\r\n id: number;\r\n cardLastNumbers: string;\r\n description: string;\r\n type: number;\r\n typeToShow: string;\r\n default: boolean;\r\n required: PaymentProfileRequiredInterface;\r\n available: boolean;\r\n message: string;\r\n denomination: number;\r\n}\r\n\r\nexport class PaymentVerificationModel {\r\n cardVerification: string;\r\n cvv: string;\r\n expirationDate?: ExpirationDateModel;\r\n firstSixDigits: string;\r\n zipCode: string;\r\n}\r\n\r\nexport class ExpirationDateModel {\r\n month: number;\r\n year: number;\r\n}\r\n\r\nexport interface PaymentProfileRequiredInterface {\r\n cardVerificationRequired: boolean;\r\n cvvRequired: boolean;\r\n expirationDateRequired: boolean;\r\n firstSixDigitsRequired: boolean;\r\n zipCodeRequired: boolean;\r\n}\r\n\r\nexport class PurchaseInputModel extends CheckoutBaseInputModel {\r\n deliveryInstructions: string;\r\n checkoutId: string;\r\n constructor(model?) {\r\n model = model || {};\r\n super(model);\r\n this.deliveryInstructions = model.deliveryInstructions || '';\r\n this.checkoutId = model.checkoutId || '';\r\n }\r\n}\r\n\r\nexport class PaymentProfilePurchaseInputModel extends PurchaseInputModel {\r\n paymentProfileId: number;\r\n cardNumber: string;\r\n zipCode: string;\r\n firstSixDigits: string;\r\n securityCode: string;\r\n expirationMonth?: number;\r\n expirationYear?: number;\r\n constructor(model?) {\r\n model = model || {};\r\n super(model);\r\n this.paymentProfileId = model.paymentProfileId || '';\r\n this.cardNumber = model.cardNumber || '';\r\n this.zipCode = model.zipCode || '';\r\n this.firstSixDigits = model.firstSixDigits || '';\r\n this.securityCode = model.securityCode || '';\r\n this.expirationMonth = model.expirationYear || '';\r\n this.expirationYear = model.expirationYear || '';\r\n }\r\n}\r\n\r\nexport class CreditCardPurchaseInputModel extends PurchaseInputModel {\r\n cardHolderName: string;\r\n cardNumber: string;\r\n securityNumber: string;\r\n expirationMonth: number;\r\n expirationYear: number;\r\n zipCode: string;\r\n remember: boolean;\r\n\r\n constructor(model?) {\r\n model = model || {};\r\n super(model);\r\n this.cardHolderName = model.cardHolderName || '';\r\n this.cardNumber = model.cardNumber || '';\r\n this.securityNumber = model.securityNumber || '';\r\n this.expirationMonth = Number(model.expirationMonth);\r\n this.expirationYear = Number(model.expirationYear);\r\n this.zipCode = model.zipCode || '';\r\n this.remember = model.remember || false;\r\n }\r\n}\r\n\r\nexport class TreeViewPayment extends TreeviewItem {\r\n type: number;\r\n required: PaymentProfileRequiredInterface;\r\n}\r\n\r\nexport interface PaymentProfileCollection extends ResponseModel> {\r\n}\r\n\r\nexport interface CreditCardPayment extends BasePurchaseOutputInterface {\r\n redirectUrl: string;\r\n token: string;\r\n verificationType: CreditVerificationType;\r\n payerAuthRequest: string;\r\n merchantData: string;\r\n webviewUrl: string;\r\n callbackUrl: string;\r\n cardNumber: string;\r\n expirationYear: string;\r\n expirationMonth: string;\r\n totalAmount: string;\r\n}\r\n\r\nexport interface CreditCardPaymentResponse extends ResponseModel {}\r\nexport interface AuthorizePaymentResponse extends ResponseModel {}\r\n\r\nexport interface BasePurchaseOutputInterface {\r\n orderNo: number;\r\n orderCode: string;\r\n}\r\nexport interface AuthorizePayment extends BasePurchaseOutputInterface{\r\n attemptsRemaining: number;\r\n}\r\nexport class ValidateCreditCardPaymentModel {\r\n token: string;\r\n orderCode: string;\r\n verificationCode: string;\r\n}\r\n\r\nexport class Validate3SecureCard {\r\n orderCode: string;\r\n externalData: string;\r\n}\r\n\r\nexport enum CreditVerificationType {\r\n /// \r\n /// No verification Required\r\n /// \r\n None = 0,\r\n /// \r\n /// System 2 Digits Verification\r\n /// \r\n DoingBusinessAs = 1,\r\n /// \r\n /// Secure 3D Verification\r\n /// \r\n Secure3D = 2,\r\n /// \r\n /// Secure 3D Verification\r\n /// \r\n Secure3DV2 = 3\r\n}\r\n","import {ShortConactInterface} from '@app/marketplace/checkout/_models/contact.model';\r\nimport {PaymentProfileInterface} from '@app/marketplace/checkout/_models/payment-profile.model';\r\nimport {CustomDescriptiveNumberItemModel, CustomSummaryItemsInterface, CustomTextItemInterface} from '@app/marketplace/checkout/_models/custom.model';\r\nimport {INotification, ResponseModel} from '@app/marketplace/core/models/response.model';\r\n\r\nexport class CheckoutBaseInputModel {\r\n contactId: string;\r\n signature: string;\r\n sendReceipt: boolean;\r\n\r\n constructor(model?) {\r\n model = model || {};\r\n this.contactId = model.contactId || '';\r\n this.signature = model.signature || '';\r\n this.sendReceipt = model.sendReceipt || true;\r\n }\r\n}\r\nexport class CheckoutSyncModel extends CheckoutBaseInputModel {\r\n items: any;\r\n}\r\n\r\nexport interface CheckoutInterface {\r\n signature: string;\r\n contact: ShortConactInterface;\r\n shipments: CheckoutShipmentsInterface[];\r\n hasContacts: boolean;\r\n requeriments: CheckoutRequirementsInterface;\r\n isValid: boolean;\r\n checkoutId: string;\r\n summary: CustomTextItemInterface;\r\n summaryItems: CustomSummaryItemsInterface[];\r\n cleanSummaryData: CustomDescriptiveNumberItemModel[];\r\n totalPriceToShow: string;\r\n totalPrice: number;\r\n paymentMethods: CheckoutPaymentMethodInterface;\r\n}\r\n\r\nexport class CheckoutResponse extends ResponseModel {}\r\n\r\nexport interface CheckoutPaymentMethodInterface {\r\n zipCodeRequired: boolean;\r\n paymentProfiles: PaymentProfileInterface[];\r\n}\r\n\r\nexport interface CheckoutRequirementsInterface {\r\n addressVerificationRequired: boolean;\r\n nameIsReadOnly: boolean;\r\n termsAndConditionsRequired: boolean;\r\n clientName: string;\r\n clientPhone: string;\r\n lowAddressToShow: string;\r\n topAddressToShow: string;\r\n showSenderDetails: boolean;\r\n}\r\n\r\nexport interface CheckoutShipmentsInterface {\r\n description: string;\r\n deliveryIcon: DeliveryIcon;\r\n deliveryToShow: string;\r\n deliveryDetails: CustomTextItemInterface;\r\n items: CheckoutShipmentItemInterface[];\r\n shippingCharge: number;\r\n notificationItem?: INotification;\r\n}\r\n\r\nexport interface CheckoutShipmentItemInterface {\r\n notificationItem: any;\r\n quantity: number;\r\n maxQuantity: number;\r\n priceToShow: string;\r\n oldPriceToShow: string;\r\n previewUrl: string;\r\n code: string;\r\n name: string;\r\n shortText: string;\r\n price: number;\r\n supplierCode: string;\r\n supplierLinkToShow: string;\r\n}\r\n\r\nexport interface AddressVerificationInterface {\r\n firstName: string;\r\n lastName: string;\r\n phone: string;\r\n addrLine1: string;\r\n addrLine2: string;\r\n city: string;\r\n state: string;\r\n zipCode: string;\r\n country: string;\r\n countryISO: string;\r\n countryISO2: string;\r\n}\r\n\r\nexport class AddressVerificationResponse extends ResponseModel {\r\n}\r\n\r\n\r\nexport enum DeliveryIcon {\r\n /// \r\n /// Estimated Delivery\r\n /// \r\n Estimated = 0,\r\n /// \r\n /// Guaranteed Delivery\r\n /// \r\n Guaranteed = 1,\r\n /// \r\n /// Variable Delivery\r\n /// \r\n Variable = 2\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ms}}\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ms}}\r\n \r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { Action,Store } from '@ngrx/store';\r\nimport { Observable, of } from 'rxjs';\r\nimport {INotification} from '@app/marketplace/core/models/response.model';\r\n\r\n@Component({\r\n selector: 'app-notify-alert',\r\n templateUrl: './notify-alert.component.html',\r\n styleUrls: ['./notify-alert.component.css']\r\n})\r\nexport class NotifyAlertComponent implements OnInit {\r\n @Input() Type: number=0; //info=0,warning=1,danger=2,\r\n @Input() Close: Action;\r\n @Input() Message: Observable;\r\n @Input() Notification: Observable;\r\n constructor(private store: Store) {}\r\n ngOnInit(): void {}\r\n public closeAlert=() => this.store.dispatch(this.Close);\r\n}\r\n","\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { SharedService } from '@app/services/shared.service';\r\nimport {StorePagedResponse} from '@app/marketplace/stores/_models/store.interface';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class StoreService extends SharedService {\r\n\r\n flashOfferSubject: BehaviorSubject = new BehaviorSubject(false);\r\n flashOffer$ = this.flashOfferSubject.asObservable();\r\n\r\n constructor(\r\n httpCLient: HttpClient\r\n ) {\r\n super(httpCLient);\r\n }\r\n\r\n ListStores(payload: any) {\r\n const url = 'api/market/store/search';\r\n return this.post(url, payload);\r\n }\r\n\r\n GetStoreDetail(payload: any) {\r\n const url = 'api/market/store/details';\r\n return this.post(url, payload);\r\n }\r\n\r\n}\r\n","export class ContactFormModel {\r\n name: string;\r\n email: string;\r\n message: string;\r\n recaptcha: string;\r\n userAgent: boolean;\r\n\r\n constructor(contact?) {\r\n contact = contact || {};\r\n this.name = contact.name || '';\r\n this.email = contact.email || '';\r\n this.message = contact.message || '';\r\n this.recaptcha = contact.recaptcha || '';\r\n this.userAgent = contact.userAgent || 1;\r\n }\r\n}","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { SharedService } from '@app/services/shared.service';\r\nimport { AddFundsModel } from '@app/models/add-funds.model';\r\nimport { MessageModel } from '@app/models/message.model';\r\nimport { RememberCardPaymentFundsModel } from '@app/models/remembered-card-payment-funds.model';\r\nimport { VerificationModel } from '@app/models/verification.model';\r\nimport { AddFundsPayPalModel } from '@app/models/add-funds-paypal.model';\r\nimport { SortDirection } from '@app/directives/sortable.directive';\r\nimport { Subject, BehaviorSubject, Observable } from 'rxjs';\r\nimport { debounceTime, switchMap, delay } from 'rxjs/operators';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { VerificationByEmailModel } from '@app/models/verification-by-email.model';\r\n\r\ninterface SearchResult {\r\n messages: any[];\r\n total: number;\r\n}\r\n\r\ninterface State {\r\n page: number;\r\n pageSize: number;\r\n sortColumn: string;\r\n sortDirection: SortDirection;\r\n}\r\n\r\nfunction compare(v1, v2) {\r\n return v1 < v2 ? -1 : v1 > v2 ? 1 : 0;\r\n}\r\n\r\nfunction sort(countries: any[], column: string, direction: string): any[] {\r\n if (direction === '') {\r\n return countries;\r\n } else {\r\n return [...countries].sort((a, b) => {\r\n const res = compare(a[column], b[column]);\r\n return direction === 'ASC' ? res : -res;\r\n });\r\n }\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MessageService extends SharedService {\r\n\r\n private _search$ = new Subject();\r\n private _messages$ = new BehaviorSubject([]);\r\n private _total$ = new BehaviorSubject(0);\r\n\r\n\r\n private _state: State = {\r\n page: 1,\r\n pageSize: 10,\r\n sortColumn: '',\r\n sortDirection: ''\r\n };\r\n\r\n constructor(\r\n httpClient: HttpClient,\r\n private toastr: ToastrService\r\n ) {\r\n super(httpClient);\r\n this._search$.pipe(\r\n debounceTime(200),\r\n switchMap(() => this._search()),\r\n delay(200),\r\n ).subscribe(result => {\r\n this._messages$.next(result.messages);\r\n this._total$.next(result.total);\r\n });\r\n\r\n this._search$.next();\r\n }\r\n\r\n get contacts$() { return this._messages$.asObservable(); }\r\n get total$() { return this._total$.asObservable(); }\r\n get page() { return this._state.page; }\r\n get pageSize() { return this._state.pageSize; }\r\n get state() { return this._state; }\r\n\r\n set page(page: number) { this._set({ page }); }\r\n set pageSize(pageSize: number) { this._set({ pageSize }); }\r\n set sortColumn(sortColumn: string) { this._set({ sortColumn }); }\r\n set sortDirection(sortDirection: SortDirection) { this._set({ sortDirection }); }\r\n set state(state: State) { this._set(state); }\r\n\r\n private _set(patch: Partial) {\r\n Object.assign(this._state, patch);\r\n this._search$.next();\r\n }\r\n\r\n private _search(): Promise | Observable {\r\n if (this.state.sortColumn !== '') {\r\n const { sortColumn, sortDirection, pageSize, page } = this._state;\r\n return new Promise((resolve, reject) => {\r\n Promise.all([\r\n this.getPaginatedMesages(pageSize.toString(), page.toString(), sortColumn, sortDirection)\r\n ]).then(\r\n (result: any) => {\r\n const messages = sort(result[0].messages, sortColumn, sortDirection);\r\n const total = result[0].totalCount;\r\n resolve({ messages, total });\r\n }, reject);\r\n });\r\n }\r\n return new Observable();\r\n\r\n }\r\n\r\n addFunds(addFundsModel: AddFundsModel): Promise {\r\n const url = 'api/message/AddFunds';\r\n return this.postItmes(url, addFundsModel);\r\n }\r\n\r\n addTokenBasedFunds(rememberCardPaymentFundsModel: RememberCardPaymentFundsModel) {\r\n const url = 'api/message/AddTokenBasedFunds';\r\n return this.postItmes(url, rememberCardPaymentFundsModel);\r\n }\r\n\r\n addFundsPayPal(fundsPayPal: AddFundsPayPalModel) {\r\n const url = 'api/message/AddFundsPayPal';\r\n return this.postItmes(url, fundsPayPal);\r\n }\r\n\r\n verifyAmount(verificationModel: VerificationModel) {\r\n const url = 'api/Message/VerifyAmount';\r\n return this.postItmes(url, verificationModel);\r\n }\r\n\r\n verifyByEmail(verificationModel: VerificationByEmailModel) {\r\n const url = 'api/Message/Verify';\r\n return this.postItmes(url, verificationModel);\r\n }\r\n\r\n verifyCancel(token: any) {\r\n const url = 'api/Message/Cancel';\r\n return this.postItmes(url, token);\r\n }\r\n\r\n sendSms(message: MessageModel) {\r\n const url = 'api/message/sendsms';\r\n return this.postItmes(url, message);\r\n }\r\n\r\n getMessages() {\r\n const url = 'api/message/GetAvailableMessages';\r\n return this.getItems(url);\r\n }\r\n\r\n getPaginatedMesages(pageSize: string, pageNumber: string, orderBy: string, order: string) {\r\n const url = 'api/TopUp/GetMessages';\r\n return this.getPaginatedItems(url, pageSize, pageNumber, orderBy, order);\r\n }\r\n\r\n getPriceForMessages() {\r\n const url = 'api/TopUp/GetPrices?st=3&sn=true';\r\n return this.getItems(url);\r\n }\r\n\r\n deleteMessage(id: string) {\r\n const url = `api/message/DeleteMessage?id=${id}`;\r\n this.loadingSubject.next(true);\r\n return this.postItmes(url, {});\r\n }\r\n\r\n\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'app-modal-confirmation',\r\n templateUrl: './modal-confirmation.component.html',\r\n styleUrls: ['./modal-confirmation.component.css']\r\n})\r\nexport class ModalConfirmationComponent implements OnInit {\r\n\r\n @Input()\r\n title: string;\r\n\r\n @Input()\r\n body: string;\r\n\r\n constructor(\r\n public activeModal: NgbActiveModal\r\n ) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n onCancel() {\r\n this.activeModal.close();\r\n }\r\n\r\n\r\n onOk() {\r\n this.activeModal.close(true);\r\n }\r\n\r\n}\r\n","
\r\n
{{ title }}
\r\n
\r\n\r\n\r\n
\r\n\r\n

\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n\r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'app-modal-cvv-info',\r\n templateUrl: './modal-cvv-info.component.html',\r\n styleUrls: ['./modal-cvv-info.component.css']\r\n})\r\nexport class ModalCvvInfoComponent implements OnInit {\r\n\r\n constructor(\r\n public activeModal: NgbActiveModal\r\n ) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n

Código de Seguridad

\r\n
\r\n\r\n\r\n
\r\n\r\n

VISA, MASTER CARD & OTRAS

\r\n
\r\n \r\n \r\n \r\n \"Reclamar\r\n \r\n

Parte posterior de la tarjeta
Código de 3 dígitos

\r\n
\r\n

AMERICAN EXPRESS

\r\n
\r\n \r\n \r\n \r\n \"Reclamar\r\n \r\n

Código de 4 dígitos
Parte delantera de la tarjeta

\r\n
\r\n\r\n\r\n \r\n
\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'app-modal-delete-confirmation',\r\n templateUrl: './modal-delete-confirmation.component.html',\r\n styleUrls: ['./modal-delete-confirmation.component.css']\r\n})\r\nexport class ModalDeleteConfirmationComponent implements OnInit {\r\n\r\n @Input()\r\n title: string;\r\n\r\n @Input()\r\n body: string;\r\n\r\n constructor(\r\n public activeModal: NgbActiveModal\r\n ) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n onClose() {\r\n this.activeModal.close();\r\n }\r\n\r\n\r\n onDelete() {\r\n this.activeModal.close(true);\r\n }\r\n\r\n\r\n}\r\n","
\r\n
{{ title }}
\r\n
\r\n\r\n\r\n
\r\n\r\n

{{ body }}

\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n\r\n
","
\r\n
\r\n
\r\n\r\n\r\n
\r\n\r\n

El precio seleccionado incluye una oferta especial exclusiva la cual será aplicada al completar su compra,\r\n deshabilitando cualquier otra oferta exclusiva previamente activa.

\r\n

1\">Actualmente tiene {{availableRewards}} recompensas disponibles. Presione \"MIS\r\n RECOMPENSAS\" para ver las diferentes\r\n ofertas disponibles y\r\n pueda elegir su favorita.

\r\n

Actualmente tiene ${{availableRewards}} recompensa disponible. Presione \"MIS\r\n RECOMPENSAS\" para ver las diferentes\r\n ofertas disponibles y\r\n pueda elegir su favorita.

\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n
","import { Component, OnInit, Input } from '@angular/core';\r\nimport { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ModalRewardsComponent } from '../modal-rewards/modal-rewards.component';\r\n\r\n@Component({\r\n selector: 'app-modal-discount-confirmation',\r\n templateUrl: './modal-discount-confirmation.component.html',\r\n styleUrls: ['./modal-discount-confirmation.component.css']\r\n})\r\nexport class ModalDiscountConfirmationComponent implements OnInit {\r\n\r\n @Input()\r\n availableRewards: number;\r\n\r\n constructor(public activeModal: NgbActiveModal, private modalService: NgbModal) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n misRecompensas() {\r\n this.modalService.open(ModalRewardsComponent, { centered: true, windowClass: 'modal-reward' });\r\n }\r\n\r\n\r\n continuar() {\r\n this.activeModal.close(true);\r\n }\r\n\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'app-modal-eligible-cashback',\r\n templateUrl: './modal-eligible-cashback.component.html',\r\n styleUrls: ['./modal-eligible-cashback.component.css']\r\n})\r\nexport class ModalEligibleCashbackComponent implements OnInit {\r\n\r\n @Input()\r\n eligibleCashback: number;\r\n\r\n constructor(public activeModal: NgbActiveModal) {\r\n this.eligibleCashback = 0;\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
Obtenga {{eligibleCashback}}% de reembolso
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \"Obtenga\r\n \r\n

Ud. obtendrá hasta un {{eligibleCashback}}% de reembolso en transacciones elegibles después\r\n que la recarga sea entregada. El reembolso obtenido se calcula en función del monto total de la transacción después\r\n de aplicar los descuentos.

\r\n

Las recargas con un descuento exclusivo no son elegibles para reembolso.

\r\n
\r\n\r\n","export class StuSelectModel {\r\n id: string;\r\n items: StuSelectItemModel[];\r\n selectedItem: StuSelectItemModel;\r\n\r\n constructor(select?) {\r\n select = select || {};\r\n this.id = select.id || '';\r\n this.items = select.items || [];\r\n this.selectedItem = select.selectedItem || {};\r\n }\r\n}\r\n\r\nexport class StuSelectItemModel {\r\n text: string;\r\n value: any;\r\n\r\n constructor(select?) {\r\n select = select || {};\r\n this.text = select.text;\r\n this.value = select.value;\r\n }\r\n}"]}