pub struct CreateDisbursementRequestCustomerDisplay {
pub merchant_name: Option<CreateDisbursementRequestCustomerDisplayMerchantName>,
pub reference_code: Option<CustomerReferenceCode>,
}Expand description
Display information shown to the recipient for this disbursement. If referenceCode is omitted, one is generated.
JSON schema
{
"description": "Display information shown to the recipient for this disbursement. If `referenceCode` is omitted, one is generated.",
"allOf": [
{
"$ref": "#/components/schemas/OperationCustomerDisplay"
},
{
"type": "object",
"properties": {
"merchantName": {
"description": "The merchant name to display to the recipient. When provided, this overrides the default merchant name configured for your entity. If omitted or empty, the default name is used. Useful when a merchant operates multiple storefronts or brands under a single entity.",
"examples": [
"Acme Store"
],
"type": "string",
"maxLength": 128,
"x-audience": "public"
}
},
"x-audience": "public"
}
]
}Fields§
§merchant_name: Option<CreateDisbursementRequestCustomerDisplayMerchantName>The merchant name to display to the recipient. When provided, this overrides the default merchant name configured for your entity. If omitted or empty, the default name is used. Useful when a merchant operates multiple storefronts or brands under a single entity.
reference_code: Option<CustomerReferenceCode>A short customer-facing reference code for this payment operation.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateDisbursementRequestCustomerDisplay
impl<'de> Deserialize<'de> for CreateDisbursementRequestCustomerDisplay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&CreateDisbursementRequestCustomerDisplay> for CreateDisbursementRequestCustomerDisplay
impl From<&CreateDisbursementRequestCustomerDisplay> for CreateDisbursementRequestCustomerDisplay
Source§fn from(value: &CreateDisbursementRequestCustomerDisplay) -> Self
fn from(value: &CreateDisbursementRequestCustomerDisplay) -> Self
Converts to this type from the input type.
Source§impl From<CreateDisbursementRequestCustomerDisplay> for CreateDisbursementRequestCustomerDisplay
impl From<CreateDisbursementRequestCustomerDisplay> for CreateDisbursementRequestCustomerDisplay
Source§fn from(value: CreateDisbursementRequestCustomerDisplay) -> Self
fn from(value: CreateDisbursementRequestCustomerDisplay) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreateDisbursementRequestCustomerDisplay> for CreateDisbursementRequestCustomerDisplay
impl TryFrom<CreateDisbursementRequestCustomerDisplay> for CreateDisbursementRequestCustomerDisplay
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: CreateDisbursementRequestCustomerDisplay,
) -> Result<Self, ConversionError>
fn try_from( value: CreateDisbursementRequestCustomerDisplay, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateDisbursementRequestCustomerDisplay
impl RefUnwindSafe for CreateDisbursementRequestCustomerDisplay
impl Send for CreateDisbursementRequestCustomerDisplay
impl Sync for CreateDisbursementRequestCustomerDisplay
impl Unpin for CreateDisbursementRequestCustomerDisplay
impl UnsafeUnpin for CreateDisbursementRequestCustomerDisplay
impl UnwindSafe for CreateDisbursementRequestCustomerDisplay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more