public final class PaymentMethodChargeRule extends PaymentMethodRule
| Constructor and Description |
|---|
PaymentMethodChargeRule(java.lang.String paymentMethodId,
java.math.BigDecimal charge) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldBeTriggered(com.mercadopago.android.px.internal.repository.ChargeRepository chargeRepository) |
getValuechargepublic PaymentMethodChargeRule(@NonNull
java.lang.String paymentMethodId,
@NonNull
java.math.BigDecimal charge)
paymentMethodId - the payment type associated with the charge to shouldBeTriggered.charge - the charge amount to apply for this rulepublic boolean shouldBeTriggered(@NonNull
com.mercadopago.android.px.internal.repository.ChargeRepository chargeRepository)
shouldBeTriggered in class PaymentMethodRule