public final class PaymentTypeChargeRule extends PaymentMethodRule
Constructor and Description |
---|
PaymentTypeChargeRule(java.lang.String paymentType,
java.math.BigDecimal charge) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldBeTriggered(com.mercadopago.android.px.internal.repository.ChargeRepository chargeRepository) |
getValue
charge
public PaymentTypeChargeRule(@NonNull java.lang.String paymentType, @NonNull java.math.BigDecimal charge)
paymentType
- 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