Skip to content

Commit febc247

Browse files
committed
hostedProfileSettings is an optional parameter for getHostedProfilePageRequest but SDK requires it
1 parent 6e141a7 commit febc247

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

1818
//validate required fields
1919
if ( null == request.getCustomerProfileId()) throw new NullPointerException("CustomerProfileIdcannot be null");
20-
if ( null == request.getHostedProfileSettings()) throw new NullPointerException("HostedProfileSettings cannot be null");
20+
// HostedProfileSettings is not a required field
2121

2222
//validate not-required fields
2323
//creditCardOne.setCardCode("");

0 commit comments

Comments
 (0)