-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* migration to fulfillmet order api (2023-04) * javaDocs problem solved * feedback implemented * fulfillment order move response root added * feedback implemented * throwing exception if we cannot create a fulfillment * throwing exception for non supported actions * feedback implemented * Updates release version * Removes duplicate runs of ci during PRs --------- Co-authored-by: Pedro Clericuzzi <[email protected]> Co-authored-by: Pedro Clericuzzi <[email protected]>
- Loading branch information
1 parent
18217a7
commit dd7cd5c
Showing
31 changed files
with
2,051 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/main/java/com/shopify/exceptions/ShopifyEmptyLineItemsException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.shopify.exceptions; | ||
|
||
public class ShopifyEmptyLineItemsException extends Exception { | ||
private static final long serialVersionUID = -6803895255030397292L; | ||
|
||
public ShopifyEmptyLineItemsException() { | ||
super("LineItems are required when creating a new fulfillment from a fulfillmentOrder"); | ||
} | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
src/main/java/com/shopify/exceptions/ShopifyIncompatibleApiException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.shopify.exceptions; | ||
|
||
public class ShopifyIncompatibleApiException extends RuntimeException { | ||
|
||
private static final String defaultMessage = "This action cannot be done in the current ShopifyApi version"; | ||
private static final long serialVersionUID = 147838161361971621L; | ||
|
||
public ShopifyIncompatibleApiException() { | ||
super(defaultMessage); | ||
} | ||
|
||
public ShopifyIncompatibleApiException(final Throwable throwable) { | ||
super(defaultMessage, throwable); | ||
} | ||
|
||
} |
Oops, something went wrong.