Klasse MonetizationSubscriptionUpdateRequest

java.lang.Object
io.github.primelib.webmethodsapigateway4j.models.MonetizationSubscriptionUpdateRequest

@Generated("io.github.primelib.primecodegen") public class MonetizationSubscriptionUpdateRequest extends Object
MonetizationSubscriptionUpdateRequest
  • Felddetails

    • newPackageId

      protected String newPackageId
      Package id to which the subscription needs to be switched
    • newPlanId

      protected String newPlanId
      Plan id to which the subscription needs to be switched
    • requesterComment

      protected String requesterComment
      Requester comment to use in the update subscription approval request.
    • requesterName

      protected String requesterName
      Name of the requester to whom the subscription is requested. This will be used as requester name in update subscription approval request. If not specified the name of the invoking user will be used in approval request
  • Konstruktordetails

    • MonetizationSubscriptionUpdateRequest

      public MonetizationSubscriptionUpdateRequest(Consumer<MonetizationSubscriptionUpdateRequest> spec)
      Constructs a validated instance of MonetizationSubscriptionUpdateRequest.
      Parameter:
      spec - the specification to process
    • MonetizationSubscriptionUpdateRequest

      @Internal public MonetizationSubscriptionUpdateRequest(String newPackageId, String newPlanId, String requesterComment, String requesterName)
      Constructs a validated instance of MonetizationSubscriptionUpdateRequest.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using MonetizationSubscriptionUpdateRequest(Consumer) instead.

      Parameter:
      newPackageId - Package id to which the subscription needs to be switched
      newPlanId - Plan id to which the subscription needs to be switched
      requesterComment - Requester comment to use in the update subscription approval request.
      requesterName - Name of the requester to whom the subscription is requested. This will be used as requester name in update subscription approval request. If not specified the name of the invoking user will be used in approval request
    • MonetizationSubscriptionUpdateRequest

      protected MonetizationSubscriptionUpdateRequest()
  • Methodendetails

    • newPackageId

      public String newPackageId()
      Package id to which the subscription needs to be switched
    • newPlanId

      public String newPlanId()
      Plan id to which the subscription needs to be switched
    • requesterComment

      public String requesterComment()
      Requester comment to use in the update subscription approval request.
    • requesterName

      public String requesterName()
      Name of the requester to whom the subscription is requested. This will be used as requester name in update subscription approval request. If not specified the name of the invoking user will be used in approval request
    • newPackageId

      public MonetizationSubscriptionUpdateRequest newPackageId(String newPackageId)
      Package id to which the subscription needs to be switched
      Gibt zurück:
      this.
    • newPlanId

      public MonetizationSubscriptionUpdateRequest newPlanId(String newPlanId)
      Plan id to which the subscription needs to be switched
      Gibt zurück:
      this.
    • requesterComment

      public MonetizationSubscriptionUpdateRequest requesterComment(String requesterComment)
      Requester comment to use in the update subscription approval request.
      Gibt zurück:
      this.
    • requesterName

      public MonetizationSubscriptionUpdateRequest requesterName(String requesterName)
      Name of the requester to whom the subscription is requested. This will be used as requester name in update subscription approval request. If not specified the name of the invoking user will be used in approval request
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object