Skip to content

Commit 83207f1

Browse files
committed
Removed null check for refId in CreateCustomerProfile
1 parent faef8fa commit 83207f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/net/authorize/api/controller/CreateCustomerProfileController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected void validateRequest() {
1818

1919
//validate required fields
2020
if ( null == request.getProfile()) throw new NullPointerException("Profile cannot be null");
21-
if ( null == request.getRefId()) throw new NullPointerException("RefId cannot be null");
21+
//if ( null == request.getRefId()) throw new NullPointerException("RefId cannot be null");
2222
if ( null == request.getValidationMode() || ValidationModeEnum.NONE == request.getValidationMode()) throw new NullPointerException("ValidationMode cannot be null");
2323
if ( null == request.getProfile().getPaymentProfiles() || 0 == request.getProfile().getPaymentProfiles().size()) throw new NullPointerException("Payment Profile cannot be null or empty");
2424

0 commit comments

Comments
 (0)