Package com.clover.sdk.v3.payments.api
Class PaymentRefundRequestIntentBuilder
- java.lang.Object
-
- com.clover.sdk.v3.payments.api.BaseIntentBuilder
-
- com.clover.sdk.v3.payments.api.PaymentRefundRequestIntentBuilder
-
public class PaymentRefundRequestIntentBuilder extends BaseIntentBuilder
Use the PaymentRefundRequestIntentBuilder class to initiate a payment refund on an Android device.
-
-
Field Summary
-
Fields inherited from class com.clover.sdk.v3.payments.api.BaseIntentBuilder
PAPI_SDK_NAME
-
-
Constructor Summary
Constructors Constructor Description PaymentRefundRequestIntentBuilder(String paymentId)
Creates an instance of the PaymentRefundRequestIntentBuilder class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentRefundRequestIntentBuilder
amount(Long amount)
Sets the amount to be refundedIntent
build(Context context)
Builder method to create an Intent to be used by Integrator POS to initiate a payment refund.
-
-
-
Constructor Detail
-
PaymentRefundRequestIntentBuilder
public PaymentRefundRequestIntentBuilder(String paymentId)
Creates an instance of the PaymentRefundRequestIntentBuilder class- Parameters:
paymentId
-
-
-
Method Detail
-
amount
public PaymentRefundRequestIntentBuilder amount(Long amount)
Sets the amount to be refunded- Parameters:
amount
-- Returns:
- PaymentRefundRequestIntentBuilder object with new amount
-
build
public Intent build(Context context)
Builder method to create an Intent to be used by Integrator POS to initiate a payment refund.- Overrides:
build
in classBaseIntentBuilder
- Parameters:
context
-- Returns:
-
-