GitHub

DaffCustomerPaymentAuthorizeNetMagentoService

Service

import { DaffCustomerPaymentAuthorizeNetMagentoService } from '@daffodil/customer-payment-authorizenet/driver/magento'

A service for making Magento GraphQL queries for customers.

@Injectable()
class DaffCustomerPaymentAuthorizeNetMagentoService implements DaffCustomerPaymentDriverInterface<DaffCustomerPaymentAuthorizeNet, DaffCustomerPaymentAuthorizeNetRequest> {
  add(payment: DaffCustomerPaymentAuthorizeNetRequest): any
  delete(paymentId: string): any
  list(): any
  get(paymentId: string): any
  update(payment: Partial<DaffCustomerPaymentAuthorizeNet> & DaffIdentifiable): any
}

() Methods

add
any

Adds the passed payment.

Parameters
Parameterpayment: DaffCustomerPaymentAuthorizeNetRequest
Description
delete
any

Deletes the specified payment.

Parameters
ParameterpaymentId: string
Description
list
any

Lists the customer's payments.

get
any

Get the specified payment.

Parameters
ParameterpaymentId: string
Description
update
any

Update the passed payment.

Parameters
Parameterpayment: Partial<DaffCustomerPaymentAuthorizeNet> & DaffIdentifiable
Description