GitHub

DaffCustomerPaymentAuthorizeNetMagentoService

A service for making Magento GraphQL queries for customers.

import { DaffCustomerPaymentAuthorizeNetMagentoService } from '@daffodil/customer-payment-authorizenet/driver/magento'
@Injectable()
class DaffCustomerPaymentAuthorizeNetMagentoService implements DaffCustomerPaymentDriverInterface<DaffCustomerPaymentAuthorizeNet, DaffCustomerPaymentAuthorizeNetRequest> {
  add(payment: DaffCustomerPaymentAuthorizeNetRequest): Observable<DaffCustomerPaymentAuthorizeNet[]>
  delete(paymentId: string): Observable<DaffCustomerPaymentAuthorizeNet[]>
  list(): Observable<DaffCustomerPaymentAuthorizeNet[]>
  get(paymentId: string): Observable<DaffCustomerPaymentAuthorizeNet>
  update(payment: Partial<DaffCustomerPaymentAuthorizeNet> & DaffIdentifiable): Observable<DaffCustomerPaymentAuthorizeNet[]>
  protected listPayments(): Observable<ApolloQueryResult<MagentoGetCustomerPaymentsResponse>>
}

Properties

Name Type Description
add Observable<DaffCustomerPaymentAuthorizeNet[]>

Adds the passed payment.

delete Observable<DaffCustomerPaymentAuthorizeNet[]>

Deletes the specified payment.

list Observable<DaffCustomerPaymentAuthorizeNet[]>

Lists the customer's payments.

get Observable<DaffCustomerPaymentAuthorizeNet>

Get the specified payment.

update Observable<DaffCustomerPaymentAuthorizeNet[]>

Update the passed payment.

listPayments Observable<ApolloQueryResult<MagentoGetCustomerPaymentsResponse>>