Skip to content

Commit

Permalink
Merge pull request #770 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Dec 10, 2024
2 parents 6bffe16 + fb76f56 commit 8128e68
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,26 +69,26 @@ public interface StandalonePriceImport extends ImportResource {
public TypedMoney getValue();

/**
* <p>Sets the country for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
* @return country
*/

@JsonProperty("country")
public String getCountry();

/**
* <p>Sets the CustomerGroup for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
* @return customerGroup
*/
@Valid
@JsonProperty("customerGroup")
public CustomerGroupKeyReference getCustomerGroup();

/**
* <p>Sets the product distribution Channel for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
* @return channel
*/
@Valid
Expand Down Expand Up @@ -157,24 +157,24 @@ public interface StandalonePriceImport extends ImportResource {
public void setValue(final TypedMoney value);

/**
* <p>Sets the country for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
* @param country value to be set
*/

public void setCountry(final String country);

/**
* <p>Sets the CustomerGroup for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
* @param customerGroup value to be set
*/

public void setCustomerGroup(final CustomerGroupKeyReference customerGroup);

/**
* <p>Sets the product distribution Channel for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
* @param channel value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public StandalonePriceImportBuilder value(
}

/**
* <p>Sets the country for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
* @param country value to be set
* @return Builder
*/
Expand All @@ -114,8 +114,8 @@ public StandalonePriceImportBuilder country(@Nullable final String country) {
}

/**
* <p>Sets the CustomerGroup for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
* @param builder function to build the customerGroup value
* @return Builder
*/
Expand All @@ -129,8 +129,8 @@ public StandalonePriceImportBuilder customerGroup(
}

/**
* <p>Sets the CustomerGroup for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
* @param builder function to build the customerGroup value
* @return Builder
*/
Expand All @@ -143,8 +143,8 @@ public StandalonePriceImportBuilder withCustomerGroup(
}

/**
* <p>Sets the CustomerGroup for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
* @param customerGroup value to be set
* @return Builder
*/
Expand All @@ -156,8 +156,8 @@ public StandalonePriceImportBuilder customerGroup(
}

/**
* <p>Sets the product distribution Channel for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
* @param builder function to build the channel value
* @return Builder
*/
Expand All @@ -169,8 +169,8 @@ public StandalonePriceImportBuilder channel(
}

/**
* <p>Sets the product distribution Channel for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
* @param builder function to build the channel value
* @return Builder
*/
Expand All @@ -182,8 +182,8 @@ public StandalonePriceImportBuilder withChannel(
}

/**
* <p>Sets the product distribution Channel for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
* @param channel value to be set
* @return Builder
*/
Expand Down Expand Up @@ -405,8 +405,8 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() {
}

/**
* <p>Sets the country for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
* @return country
*/

Expand All @@ -416,8 +416,8 @@ public String getCountry() {
}

/**
* <p>Sets the CustomerGroup for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
* @return customerGroup
*/

Expand All @@ -427,8 +427,8 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu
}

/**
* <p>Sets the product distribution Channel for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
* @return channel
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,26 +102,26 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() {
}

/**
* <p>Sets the country for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
*/

public String getCountry() {
return this.country;
}

/**
* <p>Sets the CustomerGroup for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
*/

public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() {
return this.customerGroup;
}

/**
* <p>Sets the product distribution Channel for which this Price is valid.</p>
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
*/

public com.commercetools.importapi.models.common.ChannelKeyReference getChannel() {
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -337,3 +337,4 @@ b747e1fa4f246b748a89bccbfd8a43f5b6f51175
505b3af56b4452b22dfb595f93e010b3e2fccc53
7375cdc26481ba55e756479a87270432635bfcf7
df53588d26d7953dfdf44166866ca03045f0a70b
6b69c5425fe16564147deb9b1d6a9a1078dc5330

0 comments on commit 8128e68

Please sign in to comment.