docs: Update naming conventions and added examples (#709)

Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
This commit is contained in:
Kartikeya Hegde
2023-03-06 16:53:32 +05:30
committed by GitHub
parent 45484752a2
commit 9841519324
22 changed files with 879 additions and 628 deletions

View File

@ -135,8 +135,8 @@ pub struct CardDetails {
pub fingerprint: Option<masking::Secret<String>>,
}
impl From<api::ListCustomerPaymentMethodsResponse> for CustomerPaymentMethodListResponse {
fn from(item: api::ListCustomerPaymentMethodsResponse) -> Self {
impl From<api::CustomerPaymentMethodsListResponse> for CustomerPaymentMethodListResponse {
fn from(item: api::CustomerPaymentMethodsListResponse) -> Self {
let customer_payment_methods = item.customer_payment_methods;
let data = customer_payment_methods
.into_iter()