Record Class PaymentProviderActionResource.PaymentProviderActionBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.onlinepayment.impl.actions.PaymentProviderActionResource.PaymentProviderActionBean
- Enclosing class:
PaymentProviderActionResource
public static record PaymentProviderActionResource.PaymentProviderActionBean(PaymentProviderActionResource.Order order, @Nullable PaymentProviderActionConfiguration.OverviewEntityBean overviewEntity, List<PaymentProviderActionResource.PaymentMethod> paymentMethods)
extends Record
-
Constructor Summary
ConstructorDescriptionPaymentProviderActionBean
(PaymentProviderActionResource.Order order, @Nullable PaymentProviderActionConfiguration.OverviewEntityBean overviewEntity, List<PaymentProviderActionResource.PaymentMethod> paymentMethods) Creates an instance of aPaymentProviderActionBean
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.order()
Returns the value of theorder
record component.Returns the value of theoverviewEntity
record component.Returns the value of thepaymentMethods
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
PaymentProviderActionBean
public PaymentProviderActionBean(PaymentProviderActionResource.Order order, @Nullable @Nullable PaymentProviderActionConfiguration.OverviewEntityBean overviewEntity, List<PaymentProviderActionResource.PaymentMethod> paymentMethods) Creates an instance of aPaymentProviderActionBean
record class.- Parameters:
order
- the value for theorder
record componentoverviewEntity
- the value for theoverviewEntity
record componentpaymentMethods
- the value for thepaymentMethods
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
order
Returns the value of theorder
record component.- Returns:
- the value of the
order
record component
-
overviewEntity
Returns the value of theoverviewEntity
record component.- Returns:
- the value of the
overviewEntity
record component
-
paymentMethods
Returns the value of thepaymentMethods
record component.- Returns:
- the value of the
paymentMethods
record component
-