Class CreateTransferLimitRequest


  • public class CreateTransferLimitRequest
    extends Object
    CreateTransferLimitRequest
    • Constructor Detail

      • CreateTransferLimitRequest

        public CreateTransferLimitRequest()
    • Method Detail

      • amount

        public CreateTransferLimitRequest amount​(Amount amount)
        amount
        Parameters:
        amount -
        Returns:
        the current CreateTransferLimitRequest instance, allowing for method chaining
      • getAmount

        public Amount getAmount()
        Get amount
        Returns:
        amount
      • setAmount

        public void setAmount​(Amount amount)
        amount
        Parameters:
        amount -
      • endsAt

        public CreateTransferLimitRequest endsAt​(OffsetDateTime endsAt)
        The date and time when the transfer limit becomes inactive. If you do not specify an end date, the limit stays active until you override it with a new limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
        Parameters:
        endsAt - The date and time when the transfer limit becomes inactive. If you do not specify an end date, the limit stays active until you override it with a new limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
        Returns:
        the current CreateTransferLimitRequest instance, allowing for method chaining
      • getEndsAt

        public OffsetDateTime getEndsAt()
        The date and time when the transfer limit becomes inactive. If you do not specify an end date, the limit stays active until you override it with a new limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
        Returns:
        endsAt The date and time when the transfer limit becomes inactive. If you do not specify an end date, the limit stays active until you override it with a new limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
      • setEndsAt

        public void setEndsAt​(OffsetDateTime endsAt)
        The date and time when the transfer limit becomes inactive. If you do not specify an end date, the limit stays active until you override it with a new limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
        Parameters:
        endsAt - The date and time when the transfer limit becomes inactive. If you do not specify an end date, the limit stays active until you override it with a new limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
      • reference

        public CreateTransferLimitRequest reference​(String reference)
        Your reference for the transfer limit.
        Parameters:
        reference - Your reference for the transfer limit.
        Returns:
        the current CreateTransferLimitRequest instance, allowing for method chaining
      • getReference

        public String getReference()
        Your reference for the transfer limit.
        Returns:
        reference Your reference for the transfer limit.
      • setReference

        public void setReference​(String reference)
        Your reference for the transfer limit.
        Parameters:
        reference - Your reference for the transfer limit.
      • scaInformation

        public CreateTransferLimitRequest scaInformation​(CreateScaInformation scaInformation)
        scaInformation
        Parameters:
        scaInformation -
        Returns:
        the current CreateTransferLimitRequest instance, allowing for method chaining
      • getScaInformation

        public CreateScaInformation getScaInformation()
        Get scaInformation
        Returns:
        scaInformation
      • setScaInformation

        public void setScaInformation​(CreateScaInformation scaInformation)
        scaInformation
        Parameters:
        scaInformation -
      • scope

        public CreateTransferLimitRequest scope​(Scope scope)
        scope
        Parameters:
        scope -
        Returns:
        the current CreateTransferLimitRequest instance, allowing for method chaining
      • getScope

        public Scope getScope()
        Get scope
        Returns:
        scope
      • setScope

        public void setScope​(Scope scope)
        scope
        Parameters:
        scope -
      • startsAt

        public CreateTransferLimitRequest startsAt​(OffsetDateTime startsAt)
        The date and time when the transfer limit becomes active. If you specify a date in the future, we will schedule a transfer limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
        Parameters:
        startsAt - The date and time when the transfer limit becomes active. If you specify a date in the future, we will schedule a transfer limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
        Returns:
        the current CreateTransferLimitRequest instance, allowing for method chaining
      • getStartsAt

        public OffsetDateTime getStartsAt()
        The date and time when the transfer limit becomes active. If you specify a date in the future, we will schedule a transfer limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
        Returns:
        startsAt The date and time when the transfer limit becomes active. If you specify a date in the future, we will schedule a transfer limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
      • setStartsAt

        public void setStartsAt​(OffsetDateTime startsAt)
        The date and time when the transfer limit becomes active. If you specify a date in the future, we will schedule a transfer limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
        Parameters:
        startsAt - The date and time when the transfer limit becomes active. If you specify a date in the future, we will schedule a transfer limit. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): **YYYY-MM-DDThh:mm:ss.sssTZD**
      • transferType

        public CreateTransferLimitRequest transferType​(TransferType transferType)
        transferType
        Parameters:
        transferType -
        Returns:
        the current CreateTransferLimitRequest instance, allowing for method chaining
      • getTransferType

        public TransferType getTransferType()
        Get transferType
        Returns:
        transferType
      • setTransferType

        public void setTransferType​(TransferType transferType)
        transferType
        Parameters:
        transferType -
      • equals

        public boolean equals​(Object o)
        Return true if this CreateTransferLimitRequest object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static CreateTransferLimitRequest fromJson​(String jsonString)
                                                   throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CreateTransferLimitRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CreateTransferLimitRequest
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CreateTransferLimitRequest
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CreateTransferLimitRequest to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException