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
ConstructorsConstructorDescriptionPaymentProviderActionBean(PaymentProviderActionResource.Order order, @Nullable PaymentProviderActionConfiguration.OverviewEntityBean overviewEntity, List<PaymentProviderActionResource.PaymentMethod> paymentMethods) Creates an instance of aPaymentProviderActionBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.order()Returns the value of theorderrecord component.Returns the value of theoverviewEntityrecord component.Returns the value of thepaymentMethodsrecord component.final StringtoString()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 aPaymentProviderActionBeanrecord class.- Parameters:
order- the value for theorderrecord componentoverviewEntity- the value for theoverviewEntityrecord componentpaymentMethods- the value for thepaymentMethodsrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 theorderrecord component.- Returns:
- the value of the
orderrecord component
-
overviewEntity
Returns the value of theoverviewEntityrecord component.- Returns:
- the value of the
overviewEntityrecord component
-
paymentMethods
Returns the value of thepaymentMethodsrecord component.- Returns:
- the value of the
paymentMethodsrecord component
-