Skip to content

Commit 64cdd0e

Browse files
committed
CreateCustomerProfileController disallows creating profile without payment methods (#64)
1 parent 1b79ed3 commit 64cdd0e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ 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");
2221
}
2322

2423
@Override

0 commit comments

Comments
 (0)