package com.braintreepayments.api;

import androidx.annotation.Nullable;

/**
 * Union Pay enrollment information
 */
public class UnionPayEnrollment {

    private final String id;
    private final boolean smsCodeRequired;

    UnionPayEnrollment(String id, boolean smsCodeRequired) {
        this.id = id;
        this.smsCodeRequired = smsCodeRequired;
    }

    /**
     * @return the UnionPay enrollment ID
     */
    @Nullable
    public String getId() {
        return id;
    }

    /**
     * @return true if sms code is required, false otherwise
     */
    public boolean isSmsCodeRequired() {
        return smsCodeRequired;
    }
}

@@ -57,23 +57,22 @@
 tation.N
+onN
 ull
-able
 ;%0A%0A/**%0A 
@@ -424,15 +424,14 @@
   @N
+onN
 ull
-able
 %0A   

Align nullability parameters in UnionPayEnrollment.