package impl

import (
	"github.com/pingcap/dbaas/billing2/db/entity"
	"github.com/pingcap/dbaas/billing2/forms"
)

type GCPMCPOCustomerInvoiceTransferHandlerImpl struct {
	AWSCPPOCustomerInvoiceTransferHandlerImpl
}

func (h *GCPMCPOCustomerInvoiceTransferHandlerImpl) GetThirdPartyName() string {
	return entity.PaymentType_GCPMCPOTransfer
}

type GCPMCPOResellerHandlerImpl struct {
	AWSCPPOResellerHandlerImpl
}

func (h *GCPMCPOResellerHandlerImpl) GetThirdPartyName() string {
	return entity.PaymentType_GCPMCPOReseller
}

func (h *GCPMCPOResellerHandlerImpl) PayMultiInvoice(paymentInfo *forms.PaymentMethod, billingCompany *forms.BillingCompany, invoices []forms.Invoice) ([]forms.Invoice, error) {
	return (&GcpPaymentHandlerImpl{}).PayMultiInvoice(paymentInfo, billingCompany, invoices)
}
