package com.mangopay.entities.subentities;

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

/**
 * Class representing the Card type for mean of payment in PayIn entity.
 */
public class PayInPaymentDetailsCard extends Dto implements IPayInPaymentDetails {

    /**
     * Card type.
     */
    public CardType CardType;
    
    /**
     * Card identifier.
     */
    public String CardId;
}

@@ -474,10 +474,140 @@
 CardId;%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 for card payins