IPaymentServiceV3

public interface IPaymentServiceV3 implements IInterface

This service mirrors the functionality of IOrderService but uses a different mechanism for trasferring Clover SDK objects. Specifically, as can be seen from the interface definition below, CloverSDK objects are transferred wrapped by a FdParcelable. This includes SDK objects passed to the service and objects returned from the server.

For example, to create an FD parcelablable input for an Order argument,

  OrderFdParcelable fdo = new OrderFdParcelable(order);
  service.updateOrder(fdo, ...);
  
To obtain an Order object return value from an FD parcelable,

  OrderFdParcelable fdo = service.getOrder(...);
  Order order = fdo.getValue();
  

Inheritors

Types

Link copied to clipboard
public class _Parcel
Link copied to clipboard
public class Default implements IPaymentServiceV3
Default implementation for IPaymentServiceV3.
Link copied to clipboard
public abstract class Stub extends Binder implements IPaymentServiceV3
Local-side IPC implementation stub class.

Functions

Link copied to clipboard
public abstract void acceptPayment(Payment payment)
If payment confirmation is required during a Sale, this method accepts the payment
Link copied to clipboard
public abstract void acceptSignature(VerifySignatureRequest request)
If signature is captured during a Sale, this method accepts the signature as entered
Link copied to clipboard
public abstract void addPaymentServiceListener(IPaymentServiceListener listener)
add an ICloverConnectorListener to receive callbacks
Link copied to clipboard
public abstract IBinder asBinder()
Link copied to clipboard
public abstract void auth(AuthRequest request)
Auth method to obtain an Auth payment that can be used as the payment to call tipAdjust
Link copied to clipboard
public abstract void capturePreAuth(CapturePreAuthRequest request)
Capture a previous Auth.
Link copied to clipboard
public abstract void closeout(CloseoutRequest request)
Request a closeout of all orders.
Link copied to clipboard
public abstract void manualRefund(ManualRefundRequest request)
Manual refund method, aka "naked credit"
Link copied to clipboard
public abstract void preAuth(PreAuthRequest request)
PreAuth method to obtain a Pre-Auth for a card
Link copied to clipboard
public abstract void preAuthV2(PreAuthRequest request)
PreAuth method to obtain a Pre-Auth for a card, with high availability.
Link copied to clipboard
public abstract void readCardData(ReadCardDataRequest request)
Used to request card information.
Link copied to clipboard
public abstract void refundPayment(RefundPaymentRequest request)
Refund a specific payment
Link copied to clipboard
public abstract void rejectPayment(Payment payment, Challenge challenge)
If payment confirmation is required during a Sale, this method rejects the payment
Link copied to clipboard
public abstract void rejectSignature(VerifySignatureRequest request)
If signature is captured during a Sale, this method rejects the signature as entered
Link copied to clipboard
public abstract void removePaymentServiceListener(IPaymentServiceListener listener)
remove an ICloverConnectorListener from receiving callbacks
Link copied to clipboard
public abstract void resetDevice()
Used to reset the device if it gets in an invalid state from POS perspective.
Link copied to clipboard
public abstract void retrievePayment(RetrievePaymentRequest request)
Sends a request to get a payment.
Link copied to clipboard
public abstract void retrievePendingPayments()
Used to request a list of pending payments that have been taken offline, but haven't processed yet.
Link copied to clipboard
public abstract void sale(SaleRequest saleRequest)
Sale method, aka "purchase"
Link copied to clipboard
public abstract void sendAppTracking(AppTracking appTracking)
PRIVATE send calling application information to use for logging and analytics
Link copied to clipboard
public abstract void sendDebugLog(String message)
Send device logs
Link copied to clipboard
public abstract void setUIConfiguration(UIConfiguration configuration)
Set configuration object (e.g.
Link copied to clipboard
public abstract void tipAdjustAuth(TipAdjustAuthRequest request)
Adjust the tip for a previous Auth.
Link copied to clipboard
public abstract void vaultCard(int cardEntryMethods)
Vault card information.
Link copied to clipboard
public abstract void vaultCardWithRequest(VaultCardRequest request)
Link copied to clipboard
public abstract void voidPayment(VoidPaymentRequest request)
Void a transaction, given a previously used order ID and/or payment ID
Link copied to clipboard
public abstract void voidPaymentRefund(VoidPaymentRefundRequest request)
Sends a request to void a payment refund