package com.mangopay.entities.subentities;

import com.mangopay.core.Dto;
import com.mangopay.core.interfaces.IPayInPaymentDetails;
import com.mangopay.core.enumerations.DirectDebitType;

/**
 * Class representing the Direct-Debit type for mean of payment in PayIn entity.
 */
public class PayInPaymentDetailsDirectDebit extends Dto implements IPayInPaymentDetails {
    
    /**
     * Direct debit type.
     */
    public DirectDebitType DirectDebitType;
    
    /**
     * Mandate identifier.
     */
    public String MandateId;
}

@@ -528,10 +528,140 @@
 dateId;%0A
+    %0A    /**%0A     * An optional value to be specified on the user's bank statement%0A     */%0A    public String StatementDescriptor;%0A
 %7D%0A

Add StatementDescriptor field for direct debits