Interface PaymentMethodSetDefaultAction

All Superinterfaces:
PaymentMethodUpdateAction

public interface PaymentMethodSetDefaultAction extends PaymentMethodUpdateAction

This action generates the PaymentMethodDefaultSet Message.

An inactive Payment Method cannot be set as the default, and the action will return an InvalidOperation error.


Example to create an instance using the builder pattern

     PaymentMethodSetDefaultAction paymentMethodSetDefaultAction = PaymentMethodSetDefaultAction.builder()
             .default(true)
             .build()