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): 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>>
}
Observable<DaffCustomerPaymentAuthorizeNet[]>
Adds the passed payment.
Parameter | payment: DaffCustomerPaymentAuthorizeNetRequest |
---|---|
Description |
Observable<DaffCustomerPaymentAuthorizeNet[]>
Deletes the specified payment.
Parameter | paymentId: string |
---|---|
Description |
Observable<DaffCustomerPaymentAuthorizeNet[]>
Lists the customer's payments.
Observable<DaffCustomerPaymentAuthorizeNet>
Get the specified payment.
Parameter | paymentId: string |
---|---|
Description |
Observable<DaffCustomerPaymentAuthorizeNet[]>
Update the passed payment.
Parameter | payment: Partial<DaffCustomerPaymentAuthorizeNet> & DaffIdentifiable |
---|---|
Description |
Observable<ApolloQueryResult<MagentoGetCustomerPaymentsResponse>>