Class PaymentMethod

java.lang.Object
ru.loolzaaa.youkassa.model.PaymentMethod
All Implemented Interfaces:
RequestBody

public class PaymentMethod extends Object implements RequestBody
This class represents payment method object.

The PaymentMethod object contains all the current information about the user's payment method. It is generated when the payment method is created and is returned in response to any request related to payment methods.

The set of returned parameters depends on the object's status (the value of the status parameter) and the parameters you passed in the request to create the payment method.

  • Constructor Details

    • PaymentMethod

      public PaymentMethod()
  • Method Details

    • createValidation

      public static void createValidation(PaymentMethod paymentMethod)